Identifies if the coupon is currently applied in the basket. A coupon
line is applied if there exists at least one price adjustment related
to the coupon line item.
Returns the promotion related to the coupon line item.
Deprecated:
A coupon code and its coupon can be associated with
multiple promotions. Therefore, this method is not
appropriate anymore. For backward-compatibility, the method
returns one of the promotions associated with the coupon
code.
A coupon code and it’s coupon can be associated with
multiple promotions. Therefore, this method is not
appropriate anymore. For backward-compatibility, the method
returns the ID of one of the promotions associated with
the coupon code.
Associates the specified price adjustment with the coupon line item. This method is only applicable if used for
price adjustments and coupon line items NOT based on B2C Commerce campaigns.
Parameters:
priceAdjustment - Price adjustment to be associated with coupon line item.
Returns the promotion related to the coupon line item.
Returns:
Promotion related to coupon represented by line item
Deprecated:
A coupon code and its coupon can be associated with
multiple promotions. Therefore, this method is not
appropriate anymore. For backward-compatibility, the method
returns one of the promotions associated with the coupon
code.
A coupon code and it’s coupon can be associated with
multiple promotions. Therefore, this method is not
appropriate anymore. For backward-compatibility, the method
returns the ID of one of the promotions associated with
the coupon code.
Identifies if the coupon is currently applied in the basket. A coupon
line is applied if there exists at least one price adjustment related
to the coupon line item.
Returns:
true if the coupon is currently applied in the basket.