class Google::Apis::ContentV2_1::SettlementTransactionAmount

Attributes

commission[RW]

Corresponds to the JSON property `commission` @return [Google::Apis::ContentV2_1::SettlementTransactionAmountCommission]

description[RW]

The description of the event. Acceptable values are: - “`taxWithhold`” - “` principal`” - “`principalAdjustment`” - “`shippingFee`” - “` merchantRemittedSalesTax`” - “`googleRemittedSalesTax`” - “`merchantCoupon`” - “`merchantCouponTax`” - “`merchantRemittedDisposalTax`” - “` googleRemittedDisposalTax`” - “`merchantRemittedRedemptionFee`” - “` googleRemittedRedemptionFee`” - “`eeeEcoFee`” - “`furnitureEcoFee`” - “` copyPrivateFee`” - “`eeeEcoFeeCommission`” - “`furnitureEcoFeeCommission`” - “` copyPrivateFeeCommission`” - “`principalRefund`” - “`principalRefundTax`” - “` itemCommission`” - “`adjustmentCommission`” - “`shippingFeeCommission`” - “` commissionRefund`” - “`damaged`” - “`damagedOrDefectiveItem`” - “`expiredItem`”

  • “`faultyItem`” - “`incorrectItemReceived`” - “`itemMissing`” - “`

qualityNotExpected`“ - ”`receivedTooLate`“ - ”`storePackageMissing`“ - ”` transitPackageMissing`“ - ”`unsuccessfulDeliveryUndeliverable`“ - ”` wrongChargeInStore`“ - ”`wrongItem`“ - ”`returns`“ - ”`undeliverable`“ - ”` issueRelatedRefundAndReplacementAmountDescription`“ - ”`refundFromMerchant`“ - ”`returnLabelShippingFee`“ - ”`lumpSumCorrection`“ - ”`pspFee`“ - ”` principalRefundDoesNotFit`“ - ”`principalRefundOrderedWrongItem`“ - ”` principalRefundQualityNotExpected`“ - ”`principalRefundBetterPriceFound`“ - ”` principalRefundNoLongerNeeded`“ - ”`principalRefundChangedMind`“ - ”` principalRefundReceivedTooLate`“ - ”`principalRefundIncorrectItemReceived`“ - ” `principalRefundDamagedOrDefectiveItem`“ - ”` principalRefundDidNotMatchDescription`“ - ”`principalRefundExpiredItem`“ Corresponds to the JSON property `description` @return [String]

transaction_amount[RW]

The amount that contributes to the line item price. Corresponds to the JSON property `transactionAmount` @return [Google::Apis::ContentV2_1::Price]

type[RW]

The type of the amount. Acceptable values are: - “`itemPrice`” - “`orderPrice`”

  • “`refund`” - “`earlyRefund`” - “`courtesyRefund`” - “`returnRefund`” - “`

returnLabelShippingFeeAmount`“ - ”`lumpSumCorrectionAmount`“ Corresponds to the JSON property `type` @return [String]

Public Class Methods

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