Following class holds the duration information for a promotion. The this object uses to set and get the duration of a promotion.
Properties
Name | Type | Required | Description |
---|---|---|---|
startDate | string | ✅ | Start date when the promotion going to be active |
endDate | string | ❌ | End date when the promotion not longer active |
assignedValidity | AssignDateRange | ❌ | The validity time of the promotion set when assignment occured |