Difference between revisions of "Product"
Jump to navigation
Jump to search
(Created page with "{{Api_DataType_Spec |Description=Represents a Product object. It's a cover for other type of product like Movie, Bundle, Playlist or Subscription. This object is returned in t...") |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 12: | Line 12: | ||
! Bundle | ! Bundle | ||
{{!}} [[Bundle]] | {{!}} [[Bundle]] | ||
| − | {{!}} | + | {{!}} bgcolor="#FF2600" {{!}} '''CANDIDATE TO BE DEPRECATED'''. in the next version ( Propably in 2.5+ ) |
{{!}}- valign="top" | {{!}}- valign="top" | ||
| Line 37: | Line 37: | ||
! Playlist | ! Playlist | ||
{{!}} [[Playlist]] | {{!}} [[Playlist]] | ||
| − | {{!}} | + | {{!}} bgcolor="#FF2600" {{!}} '''CANDIDATE TO BE DEPRECATED'''. in the next version ( Propably in 2.5+ ) |
{{!}}- valign="top" | {{!}}- valign="top" | ||
| Line 66: | Line 66: | ||
! Subscription | ! Subscription | ||
| − | {{!}} Subscription | + | {{!}} [[Subscription]] |
{{!}} | {{!}} | ||
{{!}}- valign="top" | {{!}}- valign="top" | ||
Latest revision as of 19:15, 18 September 2014
Represents a Product object. It's a cover for other type of product like Movie, Bundle, Playlist or Subscription. This object is returned in the MovieService > getMovieCommercialOffers.
Members
| Field | Data Type | Description |
|---|---|---|
| Bundle | Bundle | CANDIDATE TO BE DEPRECATED. in the next version ( Propably in 2.5+ ) |
| Executed | bool | |
| IsValid | bool | |
| LastUpdate | long | |
| Movie | SimpleMovie | |
| Playlist | Playlist | CANDIDATE TO BE DEPRECATED. in the next version ( Propably in 2.5+ ) |
| ProductId | int | |
| ProductStatus | String | |
| ProductType | int | |
| Stars | double | |
| Status | int | |
| Subscription | Subscription |
Example
{
- "ProductType": 4,
- "ProductId": 428,
- "Stars": 0,
- "Movie":
- { SimpleMovie object },
- "Bundle":
- { Bundle object },
- "Playlist":
- { Playlist object },
- "Subscription":
- { Subscription object },
- "IsValid": true,
- "Executed": false,
- "Status": 2,
- "LastUpdate": 1402648030,
- "ProductStatus": 2
}
Known issues
None
Version history
| API Version Number | Change description | Changes author |
|---|---|---|
| 1.0 | Initial data type implementation | Harley Cabral |