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

Attributes

  • email (type: String.t, default: nil) - Deprecated.
  • explicitMarketingPreference (type: boolean(), default: nil) - Deprecated. Please use marketingRightsInfo instead.
  • fullName (type: String.t, default: nil) - Full name of the customer.
  • invoiceReceivingEmail (type: String.t, default: nil) - Email address for the merchant to send value-added tax or invoice documentation of the order. Only the last document sent is made available to the customer. For more information, see About automated VAT invoicing for Buy on Google.
  • marketingRightsInfo (type: GoogleApi.Content.V2.Model.OrderCustomerMarketingRightsInfo.t, default: nil) - Customer's marketing preferences. Contains the marketing opt-in information that is current at the time that the merchant call. User preference selections can change from one order to the next so preferences must be checked with every order.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.