Skip to main content

PromotionValidityModel

Following class holds the duration information for a promotion. The this object uses to set and get the duration of a promotion.

Properties

NameTypeRequiredDescription
startDatestringStart date when the promotion going to be active
endDatestringEnd date when the promotion not longer active
assignedValidityAssignDateRangeThe validity time of the promotion set when assignment occured

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →