GoogleApi.Content.V2.Model.TestOrderPaymentMethod (google_api_content v0.58.1) View Source

Attributes

  • expirationMonth (type: integer(), default: nil) - The card expiration month (January = 1, February = 2 etc.).
  • expirationYear (type: integer(), default: nil) - The card expiration year (4-digit, e.g. 2015).
  • lastFourDigits (type: String.t, default: nil) - The last four digits of the card number.
  • predefinedBillingAddress (type: String.t, default: nil) - The billing address. Acceptable values are: - "dwight" - "jim" - "pam"
  • type (type: String.t, default: nil) - The type of instrument. Note that real orders might have different values than the four values accepted by createTestOrder. Acceptable values are: - "AMEX" - "DISCOVER" - "MASTERCARD" - "VISA"

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Content.V2.Model.TestOrderPaymentMethod{
  expirationMonth: integer() | nil,
  expirationYear: integer() | nil,
  lastFourDigits: String.t() | nil,
  predefinedBillingAddress: String.t() | nil,
  type: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.