Home > @poq/sdk-sfcc > CouponItem
Document representing a coupon item.
Signature:
export declare class CouponItem extends BaseModel<CouponItem>
Extends: BaseModel<CouponItem
Constructor | Modifiers | Description |
---|---|---|
(constructor)(params) | Constructs a new instance of the CouponItem class |
Property | Modifiers | Type | Description |
---|---|---|---|
code | string | The coupon code. | |
couponItemId? | string | (Optional) The coupon item id. | |
statusCode? | CouponItemStatusCodeEnum | (Optional) The status of the coupon item. | |
valid? | boolean | (Optional) A flag indicating whether the coupon item is valid. A coupon line item is valid if the status code is ‘applied’ or ‘no_applicable_promotion’. |