Poq.SDK.Node

Home > @poq/sdk-sfcc > CouponItem

CouponItem class

Document representing a coupon item.

Signature:

export declare class CouponItem extends BaseModel<CouponItem> 

Extends: BaseModel<CouponItem

Constructors

Constructor Modifiers Description
(constructor)(params)   Constructs a new instance of the CouponItem class

Properties

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.