Difference between revisions of "AccessReason"
Jump to navigation
Jump to search
| Line 76: | Line 76: | ||
{ | { | ||
| − | : " | + | : "SourceProductType": 4, |
| + | : "SourceProductId": 105, | ||
| + | : "ProductTypeId": 6, | ||
| + | : "ProductId": 10060, | ||
| + | : "MovieAccessReason": 2, | ||
| + | : "RentalHoursLeft": 2147483647, | ||
| + | : "ExpirationDate": 253402297199, | ||
| + | : "PricingModel": { | ||
| + | :: [[PricingModel]] object | ||
| + | : }, | ||
| + | : "HaveMandatorySubscription": true, | ||
| + | : "MandatorySubscriptionId": 0, | ||
| + | : "MandatorySubscriptionMessage": "", | ||
| + | : "PurchaseStatus": 2 | ||
} | } | ||
Revision as of 13:38, 3 June 2014
Members
| Field | Data Type | Description |
|---|---|---|
| ExpirationDate | long | A timestamp that represent a time what the permission to access will be expired. |
| HaveMandatorySubscription | bool | Set if the user already has the Mandatory Subscription or not. The mandatory is a prerequisite to get access for the product. |
| MandatorySubscriptionId | int | Represents what is the Mandatory Subscription for the currently instance. |
| MandatorySubscriptionMessage | ||
| MovieAccessReason | ||
| PricingModel | ||
| ProductId | ||
| ProductTypeId | ||
| PurchaseStatus | ||
| RentalHoursLeft | ||
| SourceProductId | String | |
| SourceProductType |
Example
{
- "SourceProductType": 4,
- "SourceProductId": 105,
- "ProductTypeId": 6,
- "ProductId": 10060,
- "MovieAccessReason": 2,
- "RentalHoursLeft": 2147483647,
- "ExpirationDate": 253402297199,
- "PricingModel": {
- PricingModel object
- },
- "HaveMandatorySubscription": true,
- "MandatorySubscriptionId": 0,
- "MandatorySubscriptionMessage": "",
- "PurchaseStatus": 2
}
Known issues
None
Version history
| API Version Number | Change description | Changes author |
|---|---|---|
| 1.0 | Initial data type implementation | Harley Cabral |