class Google::Apis::ContentV2_1::OrderCustomerLoyaltyInfo

Attributes

loyalty_number[RW]

The loyalty card/membership number. Corresponds to the JSON property `loyaltyNumber` @return [String]

name[RW]

Name of card/membership holder, this field will be populated when Corresponds to the JSON property `name` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 5582
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_1/classes.rb, line 5587
def update!(**args)
  @loyalty_number = args[:loyalty_number] if args.key?(:loyalty_number)
  @name = args[:name] if args.key?(:name)
end