google_api_content v0.30.0 GoogleApi.Content.V2.Model.OrderPaymentMethod View Source

Attributes

  • billingAddress (type: GoogleApi.Content.V2.Model.OrderAddress.t, default: nil) - The billing address.
  • 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.
  • phoneNumber (type: String.t, default: nil) - The billing phone number.
  • type (type: String.t, default: nil) - The type of instrument.

    Acceptable values are:

    • "AMEX"
    • "DISCOVER"
    • "JCB"
    • "MASTERCARD"
    • "UNIONPAY"
    • "VISA"
    • "``"

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Content.V2.Model.OrderPaymentMethod{
  billingAddress: GoogleApi.Content.V2.Model.OrderAddress.t(),
  expirationMonth: integer(),
  expirationYear: integer(),
  lastFourDigits: String.t(),
  phoneNumber: String.t(),
  type: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.