class Google::Apis::ContentV2::Installment
Attributes
amount[RW]
The amount the buyer has to pay per month. Corresponds to the JSON property `amount` @return [Google::Apis::ContentV2::Price]
months[RW]
The number of installments the buyer has to pay. Corresponds to the JSON property `months` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/content_v2/classes.rb, line 2195 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/content_v2/classes.rb, line 2200 def update!(**args) @amount = args[:amount] if args.key?(:amount) @months = args[:months] if args.key?(:months) end