View Source GoogleApi.Content.V2.Model.UnitInvoiceAdditionalCharge (google_api_content v0.67.1)

Attributes

  • additionalChargeAmount (type: GoogleApi.Content.V2.Model.Amount.t, default: nil) - [required] Amount of the additional charge.
  • additionalChargePromotions (type: list(GoogleApi.Content.V2.Model.Promotion.t), default: nil) - Deprecated.
  • type (type: String.t, default: nil) - [required] Type of the additional charge. Acceptable values are: - "shipping"

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V2.Model.UnitInvoiceAdditionalCharge{
  additionalChargeAmount: GoogleApi.Content.V2.Model.Amount.t() | nil,
  additionalChargePromotions: [GoogleApi.Content.V2.Model.Promotion.t()] | nil,
  type: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.