1,877 bytes added
, 20:50, 24 June 2014
{{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 the MovieService > [[getMovieCommercialOffers]].
|Members=
{{{!}} border="2" style="width:800px" cellspacing="0" cellpadding="10"
{{!}}- style="background:#88ccff;font-size:110%"
! Field
! Data Type
! Description
{{!}}- valign="top"
! Bundle
{{!}} [[Bundle]]
{{!}}
{{!}}- valign="top"
! Executed
{{!}} bool
{{!}}
{{!}}- valign="top"
! IsValid
{{!}} bool
{{!}}
{{!}}- valign="top"
! LastUpdate
{{!}} long
{{!}}
{{!}}- valign="top"
! Movie
{{!}} [[SimpleMovie]]
{{!}}
{{!}}- valign="top"
! Playlist
{{!}} [[Playlist]]
{{!}}
{{!}}- valign="top"
! ProductId
{{!}} int
{{!}}
{{!}}- valign="top"
! ProductStatus
{{!}} String
{{!}}
{{!}}- valign="top"
! ProductType
{{!}} int
{{!}}
{{!}}- valign="top"
! Stars
{{!}} double
{{!}}
{{!}}- valign="top"
! Status
{{!}} int
{{!}}
{{!}}- valign="top"
! Subscription
{{!}} Subscription
{{!}}
{{!}}- valign="top"
{{!}}}
|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
}
|KnownIssues=
None
|VersionHistory=
{{{!}} border="2" style="width:800px;" cellpadding="5" cellspacing="0"
{{!}}- style="background:#88ccff;font-size:110%"
! API Version Number
! Change description
! Changes author
{{!}}- valign="top"
! 1.0
{{!}} Initial data type implementation
{{!}} Harley Cabral
{{!}}- valign="top"
{{!}}}
|SeeAlso=
}}