View Source GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1Amount (google_api_payments_reseller_subscription v0.6.1)

Describes the amount unit including the currency code.

Attributes

  • amountMicros (type: String.t, default: nil) - Required. Amount in micros (1_000_000 micros = 1 currency unit)
  • currencyCode (type: String.t, default: nil) - Required. Currency codes in accordance with [ISO-4217 Currency Codes] (https://en.wikipedia.org/wiki/ISO_4217). For example, USD.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1Amount{
    amountMicros: String.t() | nil,
    currencyCode: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.