ICouponCodeCollection Methods |
The ICouponCodeCollection type exposes the following members.
Name | Description | |
---|---|---|
![]() | Add |
Adds coupon with given couponCode and status to the collection.
|
![]() | Apply |
Applies coupon code during order creation.
(Inherited from ICouponCodeApplication.) |
![]() | IsAppliedInCart |
Returns true when given codes is present and is applied in cart.
|
![]() | IsAppliedInOrder |
Returns true when given codes is present and was applied in order.
|
![]() | IsNotAppliedInCart |
Returns true when given codes is present in cart, but it is not applied.
|
![]() | Merge |
Merge existing coupon codes with given ones.
|
![]() | Remove |
Removes the coupon with given couponCode from collection.
Does nothing when no such coupon exists.
|
![]() | Serialize |
Serializes the collection into string.
|