class Google::Apis::AndroidpublisherV2::Season

Attributes

end[RW]

Inclusive end date of the recurrence period. Corresponds to the JSON property `end` @return [Google::Apis::AndroidpublisherV2::MonthDay]

prorations[RW]

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` @return [Array<Google::Apis::AndroidpublisherV2::Prorate>]

start[RW]

Inclusive start date of the recurrence period. Corresponds to the JSON property `start` @return [Google::Apis::AndroidpublisherV2::MonthDay]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/androidpublisher_v2/classes.rb, line 1183
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/androidpublisher_v2/classes.rb, line 1188
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