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

Attributes

  • email (String.t): Deprecated. Defaults to: null.
  • explicitMarketingPreference (boolean()): Deprecated. Please use marketingRightsInfo instead. Defaults to: null.
  • fullName (String.t): Full name of the customer. Defaults to: null.
  • marketingRightsInfo (OrderCustomerMarketingRightsInfo): 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. Defaults to: null.

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: any(),
  explicitMarketingPreference: any(),
  fullName: any(),
  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.