class Google::Apis::ContentV2_1::InvoiceSummaryAdditionalChargeSummary

Attributes

total_amount[RW]
required

Total additional charge for this type.

Corresponds to the JSON property `totalAmount` @return [Google::Apis::ContentV2_1::Amount]

type[RW]
required

Type of the additional charge. Acceptable values are: - “`shipping`”

Corresponds to the JSON property `type` @return [String]

Public Class Methods

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