Difference between revisions of "Product"

From Gvp-public
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...")
 
Line 66: Line 66:
  
 
! Subscription
 
! Subscription
{{!}} Subscription
+
{{!}} [[Subscription]]
 
{{!}}  
 
{{!}}  
 
{{!}}- valign="top"
 
{{!}}- valign="top"

Revision as of 20:52, 24 June 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
Executed bool
IsValid bool
LastUpdate long
Movie SimpleMovie
Playlist Playlist
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