class Google::Apis::ContentV2_1::ReturnPolicyOnlineRestockingFee
The restocking fee. This can either be a fixed fee or a micro percent.
Attributes
fixed_fee[RW]
The price represented as a number and currency. Corresponds to the JSON property `fixedFee` @return [Google::Apis::ContentV2_1::PriceAmount]
micro_percent[RW]
Percent of total price in micros. 15,000,000 means 15% of the total price would be charged. Corresponds to the JSON property `microPercent` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 13183 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 13188 def update!(**args) @fixed_fee = args[:fixed_fee] if args.key?(:fixed_fee) @micro_percent = args[:micro_percent] if args.key?(:micro_percent) end