View Source GoogleApi.Content.V21.Model.Installment (google_api_content v0.70.0)

Details of a monthly installment payment offering. Learn more about installments.

Attributes

  • amount (type: GoogleApi.Content.V21.Model.Price.t, default: nil) - The amount the buyer has to pay per month.
  • creditType (type: String.t, default: nil) - Optional. Type of installment payments. Supported values are: - "finance" - "lease"
  • downpayment (type: GoogleApi.Content.V21.Model.Price.t, default: nil) - Optional. The initial down payment amount the buyer has to pay.
  • months (type: String.t, default: nil) - The number of installments the buyer has to pay.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V21.Model.Installment{
  amount: GoogleApi.Content.V21.Model.Price.t() | nil,
  creditType: String.t() | nil,
  downpayment: GoogleApi.Content.V21.Model.Price.t() | nil,
  months: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.