class Google::Apis::ContentV2_1::Installment

Attributes

amount[RW]

The amount the buyer has to pay per month. Corresponds to the JSON property `amount` @return [Google::Apis::ContentV2_1::Price]

months[RW]

The number of installments the buyer has to pay. Corresponds to the JSON property `months` @return [Fixnum]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/content_v2_1/classes.rb, line 3608
def update!(**args)
  @amount = args[:amount] if args.key?(:amount)
  @months = args[:months] if args.key?(:months)
end