@@ -9011,6 +9011,11 @@ class Product
9011
9011
# @return [Fixnum]
9012
9012
attr_accessor :max_handling_time
9013
9013
9014
+ # Maximum retail price (MRP) of the item. Applicable to India only.
9015
+ # Corresponds to the JSON property `maximumRetailPrice`
9016
+ # @return [Google::Apis::ContentV2_1::Price]
9017
+ attr_accessor :maximum_retail_price
9018
+
9014
9019
# The energy efficiency class as defined in EU directive 2010/30/EU.
9015
9020
# Corresponds to the JSON property `minEnergyEfficiencyClass`
9016
9021
# @return [String]
@@ -9329,6 +9334,7 @@ def update!(**args)
9329
9334
@material = args[:material] if args.key?(:material)
9330
9335
@max_energy_efficiency_class = args[:max_energy_efficiency_class] if args.key?(:max_energy_efficiency_class)
9331
9336
@max_handling_time = args[:max_handling_time] if args.key?(:max_handling_time)
9337
+ @maximum_retail_price = args[:maximum_retail_price] if args.key?(:maximum_retail_price)
9332
9338
@min_energy_efficiency_class = args[:min_energy_efficiency_class] if args.key?(:min_energy_efficiency_class)
9333
9339
@min_handling_time = args[:min_handling_time] if args.key?(:min_handling_time)
9334
9340
@mobile_link = args[:mobile_link] if args.key?(:mobile_link)
@@ -11124,6 +11130,12 @@ class Promotion
11124
11130
# @return [String]
11125
11131
attr_accessor :coupon_value_type
11126
11132
11133
+ # The custom redemption restriction for the promotion. If the `
11134
+ # redemption_restriction` field is set to `CUSTOM`, this field must be set.
11135
+ # Corresponds to the JSON property `customRedemptionRestriction`
11136
+ # @return [String]
11137
+ attr_accessor :custom_redemption_restriction
11138
+
11127
11139
# Free gift description for the promotion.
11128
11140
# Corresponds to the JSON property `freeGiftDescription`
11129
11141
# @return [String]
@@ -11194,6 +11206,11 @@ class Promotion
11194
11206
# @return [String]
11195
11207
attr_accessor :long_title
11196
11208
11209
+ # The price represented as a number and currency.
11210
+ # Corresponds to the JSON property `maxDiscountAmount`
11211
+ # @return [Google::Apis::ContentV2_1::PriceAmount]
11212
+ attr_accessor :max_discount_amount
11213
+
11197
11214
# The price represented as a number and currency.
11198
11215
# Corresponds to the JSON property `minimumPurchaseAmount`
11199
11216
# @return [Google::Apis::ContentV2_1::PriceAmount]
@@ -11295,6 +11312,11 @@ class Promotion
11295
11312
# @return [Array<String>]
11296
11313
attr_accessor :redemption_channel
11297
11314
11315
+ # The redemption restriction for the promotion.
11316
+ # Corresponds to the JSON property `redemptionRestriction`
11317
+ # @return [String]
11318
+ attr_accessor :redemption_restriction
11319
+
11298
11320
# Shipping service names for the promotion.
11299
11321
# Corresponds to the JSON property `shippingServiceNames`
11300
11322
# @return [Array<String>]
@@ -11334,6 +11356,7 @@ def update!(**args)
11334
11356
@brand_exclusion = args[:brand_exclusion] if args.key?(:brand_exclusion)
11335
11357
@content_language = args[:content_language] if args.key?(:content_language)
11336
11358
@coupon_value_type = args[:coupon_value_type] if args.key?(:coupon_value_type)
11359
+ @custom_redemption_restriction = args[:custom_redemption_restriction] if args.key?(:custom_redemption_restriction)
11337
11360
@free_gift_description = args[:free_gift_description] if args.key?(:free_gift_description)
11338
11361
@free_gift_item_id = args[:free_gift_item_id] if args.key?(:free_gift_item_id)
11339
11362
@free_gift_value = args[:free_gift_value] if args.key?(:free_gift_value)
@@ -11347,6 +11370,7 @@ def update!(**args)
11347
11370
@limit_quantity = args[:limit_quantity] if args.key?(:limit_quantity)
11348
11371
@limit_value = args[:limit_value] if args.key?(:limit_value)
11349
11372
@long_title = args[:long_title] if args.key?(:long_title)
11373
+ @max_discount_amount = args[:max_discount_amount] if args.key?(:max_discount_amount)
11350
11374
@minimum_purchase_amount = args[:minimum_purchase_amount] if args.key?(:minimum_purchase_amount)
11351
11375
@minimum_purchase_quantity = args[:minimum_purchase_quantity] if args.key?(:minimum_purchase_quantity)
11352
11376
@money_budget = args[:money_budget] if args.key?(:money_budget)
@@ -11366,6 +11390,7 @@ def update!(**args)
11366
11390
@promotion_status = args[:promotion_status] if args.key?(:promotion_status)
11367
11391
@promotion_url = args[:promotion_url] if args.key?(:promotion_url)
11368
11392
@redemption_channel = args[:redemption_channel] if args.key?(:redemption_channel)
11393
+ @redemption_restriction = args[:redemption_restriction] if args.key?(:redemption_restriction)
11369
11394
@shipping_service_names = args[:shipping_service_names] if args.key?(:shipping_service_names)
11370
11395
@store_applicability = args[:store_applicability] if args.key?(:store_applicability)
11371
11396
@store_code = args[:store_code] if args.key?(:store_code)
0 commit comments