class Google::Apis::ContentV2::OrderCustomer
Attributes
Deprecated. Corresponds to the JSON property `email` @return [String]
Deprecated. Please use marketingRightsInfo instead. Corresponds to the JSON property `explicitMarketingPreference` @return [Boolean]
Deprecated. Please use marketingRightsInfo instead. Corresponds to the JSON property `explicitMarketingPreference` @return [Boolean]
Full name of the customer. Corresponds to the JSON property `fullName` @return [String]
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
. Corresponds to the JSON property `invoiceReceivingEmail` @return [String]
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. Corresponds to the JSON property `marketingRightsInfo` @return [Google::Apis::ContentV2::OrderCustomerMarketingRightsInfo]
Public Class Methods
# File lib/google/apis/content_v2/classes.rb, line 4488 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/content_v2/classes.rb, line 4493 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) @invoice_receiving_email = args[:invoice_receiving_email] if args.key?(:invoice_receiving_email) @marketing_rights_info = args[:marketing_rights_info] if args.key?(:marketing_rights_info) end