class Google::Apis::ContentV2_1::SettlementTransactionAmountCommission

Attributes

category[RW]

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` @return [String]

rate[RW]

Rate of the commission in percentage. Corresponds to the JSON property `rate` @return [String]

Public Class Methods

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