Class: Google::Apis::AndroidpublisherV3::Season
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::AndroidpublisherV3::Season
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/androidpublisher_v3/classes.rb,
generated/google/apis/androidpublisher_v3/representations.rb,
generated/google/apis/androidpublisher_v3/representations.rb 
Instance Attribute Summary collapse
- 
  
    
      #end  ⇒ Google::Apis::AndroidpublisherV3::MonthDay 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Inclusive end date of the recurrence period.
 - 
  
    
      #prorations  ⇒ Array<Google::Apis::AndroidpublisherV3::Prorate> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Optionally present list of prorations for the season.
 - 
  
    
      #start  ⇒ Google::Apis::AndroidpublisherV3::MonthDay 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Inclusive start date of the recurrence period.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Season 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Season.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Season
Returns a new instance of Season
      1282 1283 1284  | 
    
      # File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1282 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#end ⇒ Google::Apis::AndroidpublisherV3::MonthDay
Inclusive end date of the recurrence period.
Corresponds to the JSON property end
      1268 1269 1270  | 
    
      # File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1268 def end @end end  | 
  
#prorations ⇒ Array<Google::Apis::AndroidpublisherV3::Prorate>
Optionally present list of prorations for the season. Each proration is a one-
off discounted entry into a subscription. Each proration contains the first
date on which the discount is available and the new pricing information.
Corresponds to the JSON property prorations
      1275 1276 1277  | 
    
      # File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1275 def prorations @prorations end  | 
  
#start ⇒ Google::Apis::AndroidpublisherV3::MonthDay
Inclusive start date of the recurrence period.
Corresponds to the JSON property start
      1280 1281 1282  | 
    
      # File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1280 def start @start end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1287 1288 1289 1290 1291  | 
    
      # File 'generated/google/apis/androidpublisher_v3/classes.rb', line 1287 def update!(**args) @end = args[:end] if args.key?(:end) @prorations = args[:prorations] if args.key?(:prorations) @start = args[:start] if args.key?(:start) end  |