class Google::Apis::ContentV2_1::UnitInvoiceAdditionalCharge
Attributes
additional_charge_amount[RW]
- required
-
Amount
of the additional charge per unit. Note: Invoicing works
on a per unit bases. The `additionalChargeAmount` is the amount charged per unit, and will be multiplied by the number of entries in `shipmentUnitID`. Corresponds to the JSON property `additionalChargeAmount` @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 15545 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 15550 def update!(**args) @additional_charge_amount = args[:additional_charge_amount] if args.key?(:additional_charge_amount) @type = args[:type] if args.key?(:type) end