class Google::Apis::ContentV2::OrderCustomer
Attributes
Email address of the customer. Corresponds to the JSON property `email` @return [String]
If set, this indicates the user had a choice to opt in or out of providing marketing rights to the merchant. If unset, this indicates the user has already made this choice in a previous purchase, and was thus not shown the marketing right opt in/out checkbox during the Purchases on Google checkout flow. Corresponds to the JSON property `explicitMarketingPreference` @return [Boolean]
If set, this indicates the user had a choice to opt in or out of providing marketing rights to the merchant. If unset, this indicates the user has already made this choice in a previous purchase, and was thus not shown the marketing right opt in/out checkbox during the Purchases on Google checkout flow. Corresponds to the JSON property `explicitMarketingPreference` @return [Boolean]
Full name of the customer. Corresponds to the JSON property `fullName` @return [String]
Public Class Methods
# File generated/google/apis/content_v2/classes.rb, line 2784 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/content_v2/classes.rb, line 2789 def update!(**args) @email = args[:email] if args.key?(:email) @explicit_marketing_preference = args[:explicit_marketing_preference] if args.key?(:explicit_marketing_preference) @full_name = args[:full_name] if args.key?(:full_name) end