class Google::Apis::ContentV2_1::RepricingRuleRestrictionBoundary
Definition of a boundary.
Attributes
percentage_delta[RW]
The percentage delta relative to the offer selling price. This field is signed. It must be negative in floor. When it is used in floor, it should be > -100. For example, if an offer is selling at $10 and this field is -30 in floor, the repricing rule only applies if the calculated new price is >= $7. Corresponds to the JSON property `percentageDelta` @return [Fixnum]
price_delta[RW]
The price micros relative to the offer selling price. This field is signed. It must be negative in floor. For example, if an offer is selling at $10 and this field is -$2 in floor, the repricing rule only applies if the calculated new price is >= $8. Corresponds to the JSON property `priceDelta` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 12735 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 12740 def update!(**args) @percentage_delta = args[:percentage_delta] if args.key?(:percentage_delta) @price_delta = args[:price_delta] if args.key?(:price_delta) end