Class: Google::Apis::ContentV2_1::SettlementTransactionAmountCommission
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::SettlementTransactionAmountCommission
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/content_v2_1/classes.rb,
generated/google/apis/content_v2_1/representations.rb,
generated/google/apis/content_v2_1/representations.rb
Instance Attribute Summary collapse
-
#category ⇒ String
The category of the commission.
-
#rate ⇒ String
Rate of the commission in percentage.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SettlementTransactionAmountCommission
constructor
A new instance of SettlementTransactionAmountCommission.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SettlementTransactionAmountCommission
Returns a new instance of SettlementTransactionAmountCommission.
12435 12436 12437 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 12435 def initialize(**args) update!(**args) end |
Instance Attribute Details
#category ⇒ String
The category of the commission. Acceptable values are: - "
animalsAndPetSupplies" - "dogCatFoodAndCatLitter" - "apparelAndAccessories
" - "shoesHandbagsAndSunglasses" - "costumesAndAccessories" - "jewelry" -
"watches" - "hobbiesArtsAndCrafts" - "homeAndGarden" - "
entertainmentCollectibles" - "collectibleCoins" - "sportsCollectibles" - "
sportingGoods" - "toysAndGames" - "musicalInstruments" - "giftCards" -
"babyAndToddler" - "babyFoodWipesAndDiapers" - "businessAndIndustrial" -
"camerasOpticsAndPhotography" - "consumerElectronics" - "
electronicsAccessories" - "personalComputers" - "videoGameConsoles" - "
foodAndGrocery" - "beverages" - "tobaccoProducts" - "furniture" - "
hardware" - "buildingMaterials" - "tools" - "healthAndPersonalCare" - "
beauty" - "householdSupplies" - "kitchenAndDining" - "majorAppliances" -
"luggageAndBags" - "media" - "officeSupplies" - "softwareAndVideoGames
" - "vehiclePartsAndAccessories" - "vehicleTiresAndWheels" - "vehicles" -
"everythingElse"
Corresponds to the JSON property category
12428 12429 12430 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 12428 def category @category end |
#rate ⇒ String
Rate of the commission in percentage.
Corresponds to the JSON property rate
12433 12434 12435 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 12433 def rate @rate end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12440 12441 12442 12443 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 12440 def update!(**args) @category = args[:category] if args.key?(:category) @rate = args[:rate] if args.key?(:rate) end |