class Google::Apis::ContentV2::TestOrderCustomer
Attributes
Required. Email address of the customer. Acceptable values are: - “`pog.dwight. schrute@gmail.com`” - “`pog.jim.halpert@gmail.com`” - “`penpog.pam.beesly@ gmail.comding`” 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]
Customer's marketing preferences. Corresponds to the JSON property `marketingRightsInfo` @return [Google::Apis::ContentV2::TestOrderCustomerMarketingRightsInfo]
Public Class Methods
# File lib/google/apis/content_v2/classes.rb, line 11060 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/content_v2/classes.rb, line 11065 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) @marketing_rights_info = args[:marketing_rights_info] if args.key?(:marketing_rights_info) end