class Google::Apis::ContentV2::TestOrderCustomer

Attributes

email[RW]

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]

explicit_marketing_preference[RW]

Deprecated. Please use marketingRightsInfo instead. Corresponds to the JSON property `explicitMarketingPreference` @return [Boolean]

explicit_marketing_preference?[RW]

Deprecated. Please use marketingRightsInfo instead. Corresponds to the JSON property `explicitMarketingPreference` @return [Boolean]

full_name[RW]

Full name of the customer. Corresponds to the JSON property `fullName` @return [String]

marketing_rights_info[RW]

Customer's marketing preferences. Corresponds to the JSON property `marketingRightsInfo` @return [Google::Apis::ContentV2::TestOrderCustomerMarketingRightsInfo]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2/classes.rb, line 11060
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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