GoogleApi.Content.V21.Model.OrderCustomer (google_api_content v0.58.1) View Source

Attributes

  • 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.
  • loyaltyInfo (type: GoogleApi.Content.V21.Model.OrderCustomerLoyaltyInfo.t, default: nil) - Loyalty program information.
  • marketingRightsInfo (type: GoogleApi.Content.V21.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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Content.V21.Model.OrderCustomer{
  fullName: String.t() | nil,
  invoiceReceivingEmail: String.t() | nil,
  loyaltyInfo: GoogleApi.Content.V21.Model.OrderCustomerLoyaltyInfo.t() | nil,
  marketingRightsInfo:
    GoogleApi.Content.V21.Model.OrderCustomerMarketingRightsInfo.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.