Class: Google::Apis::ContentV2_1::SettlementTransactionAmount
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::SettlementTransactionAmount
- 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
-
#commission ⇒ Google::Apis::ContentV2_1::SettlementTransactionAmountCommission
Corresponds to the JSON property
commission
. -
#description ⇒ String
The description of the event.
-
#transaction_amount ⇒ Google::Apis::ContentV2_1::Price
The amount that contributes to the line item price.
-
#type ⇒ String
The type of the amount.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SettlementTransactionAmount
constructor
A new instance of SettlementTransactionAmount.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ SettlementTransactionAmount
Returns a new instance of SettlementTransactionAmount.
10767 10768 10769 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 10767 def initialize(**args) update!(**args) end |
Instance Attribute Details
#commission ⇒ Google::Apis::ContentV2_1::SettlementTransactionAmountCommission
Corresponds to the JSON property commission
10700 10701 10702 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 10700 def commission @commission end |
#description ⇒ String
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
" - "
refundFromMerchant
" - "
returnLabelShippingFee
" Corresponds to the JSON propertydescription
10747 10748 10749 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 10747 def description @description end |
#transaction_amount ⇒ Google::Apis::ContentV2_1::Price
The amount that contributes to the line item price.
Corresponds to the JSON property transactionAmount
10752 10753 10754 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 10752 def transaction_amount @transaction_amount end |
#type ⇒ String
The type of the amount. Acceptable values are:
- "
itemPrice
" - "
orderPrice
" - "
refund
" - "
earlyRefund
" - "
courtesyRefund
" - "
returnRefund
" - "
returnLabelShippingFeeAmount
" Corresponds to the JSON propertytype
10765 10766 10767 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 10765 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10772 10773 10774 10775 10776 10777 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 10772 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 |