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

Attributes

  • email (type: String.t, default: nil) - Required. Email address of the customer. Acceptable values are: - "pog.dwight.schrute@gmail.com" - "pog.jim.halpert@gmail.com" - "penpog.pam.beesly@gmail.comding"
  • explicitMarketingPreference (type: boolean(), default: nil) - Deprecated. Please use marketingRightsInfo instead.
  • fullName (type: String.t, default: nil) - Full name of the customer.
  • marketingRightsInfo (type: GoogleApi.Content.V2.Model.TestOrderCustomerMarketingRightsInfo.t, default: nil) - Customer's marketing preferences.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V2.Model.TestOrderCustomer{
  email: String.t() | nil,
  explicitMarketingPreference: boolean() | nil,
  fullName: String.t() | nil,
  marketingRightsInfo:
    GoogleApi.Content.V2.Model.TestOrderCustomerMarketingRightsInfo.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.