PromotionSpec

Describes the spec for one promotion.

JSON representation
 { 
 "promotion" 
 : 
 string 
 , 
 "type" 
 : 
 enum (  PromotionType 
 
) 
 , 
 // Union field spec 
can be only one of the following: 
 "introductoryPricingDetails" 
 : 
 { 
 object (  IntroductoryPricingDetails 
 
) 
 } 
 , 
 "freeTrialDuration" 
 : 
 { 
 object (  Duration 
 
) 
 } 
 // End of list of possible types for union field spec 
. 
 } 
Fields
promotion

string

Required. Promotion resource name that identifies a promotion. The format is 'partners/{partner_id}/promotions/{promotion_id}'.

type

enum ( PromotionType )

Output only. The type of the promotion for the spec.

Union field spec .

spec can be only one of the following:

introductoryPricingDetails

object ( IntroductoryPricingDetails )

Output only. The details of the introductory pricing spec if the promotion is of type INTRODUCTORY_PRICING.

freeTrialDuration

object ( Duration )

Output only. The duration of the free trial if the promotion is of type FREE_TRIAL.

Create a Mobile Website
View Site in Mobile | Classic
Share by: