AbstractOffer
On this page
AbstractOffer ⇐ ImageModel
Kind: global abstract class
Extends: ImageModel
Model:
Properties
Name | Type | Description |
---|---|---|
storeId | String | A store identifier associated to this offer |
type | OfferTypes | A type of offer |
name | String | An offer name |
description | String | An offer description |
startDate | Date | An offer starting date |
expirationDate | number | An ending offer timestamp (i.e. -1 for purchased content) |
terms | String | The associated offer terms |
displayTerms | boolean | The offer terms to be displayed |
initialPrice | String | The offer initial price |
currentPrice | String | The offer current price |
period | Object | An enumeration of offer periods |
periodPrice | number | The offer period price |
currency | String | The offer currency |
metadata | Array | A list of offer metadata |
commitment | boolean | Flag to know if the offer has a commitment |
isOffer | boolean | flag (always true) |
audio | Object | Optional audio (default to null value) |
subtitles | Object | Optional subtitles (default to null value) |
medias | Object | Optional media (default to null value) |
channel | Object | Optional channel (default to null value) |
offerDuration | number | Optional offer duration (default to null value) |
ribbon | AbstractRibbon | A popup ribbon associated to this offer |
details | Array | Offer details (i.e. a list of textual paragraphs) |
AbstractOffer()
Model holding a Provider offer access to a VOD, SVOD or PayTV content.