trait AmountCouponTrait

A trait to manage a coupon which removes a constant amount from the order total.

Should be used on coupons classes which implements AmountAndPercentageCouponInterface

Class AmountCouponTrait

Methods

setFieldsValue($effects)

No description

getCartItemDiscount( CartItem $cartItem)

No description

callDrawBackOfficeInputs($templateName)

No description

Details

at line 41
setFieldsValue($effects)

Parameters

$effects

at line 49
getCartItemDiscount( CartItem $cartItem)

Parameters

CartItem $cartItem

at line 57
callDrawBackOfficeInputs($templateName)

Parameters

$templateName