class Google::Apis::ContentV2_1::ProductSubscriptionCost
Attributes
amount[RW]
The amount the buyer has to pay per subscription period. Corresponds to the JSON property `amount` @return [Google::Apis::ContentV2_1::Price]
period[RW]
The type of subscription period. Corresponds to the JSON property `period` @return [String]
period_length[RW]
The number of subscription periods the buyer has to pay. Corresponds to the JSON property `periodLength` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 11018 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 11023 def update!(**args) @amount = args[:amount] if args.key?(:amount) @period = args[:period] if args.key?(:period) @period_length = args[:period_length] if args.key?(:period_length) end