class Google::Apis::ContentV2_1::LoyaltyPoints
Attributes
name[RW]
Name of loyalty points program. It is recommended to limit the name to 12 full- width characters or 24 Roman characters. Corresponds to the JSON property `name` @return [String]
points_value[RW]
The retailer's loyalty points in absolute value. Corresponds to the JSON property `pointsValue` @return [Fixnum]
ratio[RW]
The ratio of a point when converted to currency. Google
assumes currency based on Merchant Center settings. If ratio is left out, it defaults to 1.0. Corresponds to the JSON property `ratio` @return [Float]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 4784 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 4789 def update!(**args) @name = args[:name] if args.key?(:name) @points_value = args[:points_value] if args.key?(:points_value) @ratio = args[:ratio] if args.key?(:ratio) end