class Google::Apis::ContentV2_1::OrderLineItemProductFee

Attributes

amount[RW]

Amount of the fee. Corresponds to the JSON property `amount` @return [Google::Apis::ContentV2_1::Price]

name[RW]

Name of the fee. Corresponds to the JSON property `name` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 5933
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 5938
def update!(**args)
  @amount = args[:amount] if args.key?(:amount)
  @name = args[:name] if args.key?(:name)
end