class Google::Apis::ContentV2::UnitInvoiceAdditionalCharge
Attributes
additional_charge_amount[RW]
- required
-
Amount
of the additional charge.
Corresponds to the JSON property `additionalChargeAmount` @return [Google::Apis::ContentV2::Amount]
additional_charge_promotions[RW]
Deprecated. Corresponds to the JSON property `additionalChargePromotions` @return [Array<Google::Apis::ContentV2::Promotion>]
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/classes.rb, line 11425 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/classes.rb, line 11430 def update!(**args) @additional_charge_amount = args[:additional_charge_amount] if args.key?(:additional_charge_amount) @additional_charge_promotions = args[:additional_charge_promotions] if args.key?(:additional_charge_promotions) @type = args[:type] if args.key?(:type) end