Home > @vsf-enterprise/sap-commerce-webservices-sdk > Promotion
Promotion interface
Representation of a Promotion Promotion
Signature:
export interface Promotion
Properties
| Property | Type | Description |
|---|---|---|
| code? | string | (Optional) Code of the promotion |
| couldFireMessages? | Array<string> | (Optional) Message about promotion which is displayed when planning potential promotion. This field has higher priority over promotion description |
| description? | string | (Optional) Description of the promotion |
| enabled? | boolean | (Optional) Boolean flag if promotion is enabled |
| endDate? | string | (Optional) Last date of validity of the promotion |
| firedMessages? | Array<string> | (Optional) Message fired while the promotion is active. This is info how much you will get when applying the promotion |
| priority? | number | (Optional) Priority index as numeric value of the promotion. Higher number means higher priority |
| productBanner? | Image | (Optional) |
| promotionGroup? | string | (Optional) Group of the promotion |
| promotionType? | string | (Optional) Type of the promotion |
| restrictions? | Array<PromotionRestriction> | (Optional) List of promotion restrictions |
| startDate? | string | (Optional) The initial date of the promotion |
| title? | string | (Optional) Promotion title |