class Google::Apis::GanV1beta1::CcOffer::BonusReward
Attributes
amount[RW]
How many units of reward will be granted. Corresponds to the JSON property `amount` @return [Float]
details[RW]
The circumstances under which this rule applies, for example, booking a flight via Orbitz. Corresponds to the JSON property `details` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/gan_v1beta1/classes.rb, line 642 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/gan_v1beta1/classes.rb, line 647 def update!(**args) @amount = args[:amount] if args.key?(:amount) @details = args[:details] if args.key?(:details) end