Product

From Gvp-public
Revision as of 19:15, 18 September 2014 by Rcalvo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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


See also