google_api_content v0.16.0 GoogleApi.Content.V2.Model.OrderCustomer View Source

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.
  • 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.

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.OrderCustomer{
  email: String.t(),
  explicitMarketingPreference: boolean(),
  fullName: String.t(),
  marketingRightsInfo:
    GoogleApi.Content.V2.Model.OrderCustomerMarketingRightsInfo.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.