class Google::Apis::ContentV2::OrderReportTransaction

Attributes

disbursement_amount[RW]

The disbursement amount. Corresponds to the JSON property `disbursementAmount` @return [Google::Apis::ContentV2::Price]

disbursement_creation_date[RW]

The date the disbursement was created, in ISO 8601 format. Corresponds to the JSON property `disbursementCreationDate` @return [String]

disbursement_date[RW]

The date the disbursement was initiated, in ISO 8601 format. Corresponds to the JSON property `disbursementDate` @return [String]

disbursement_id[RW]

The ID of the disbursement. Corresponds to the JSON property `disbursementId` @return [String]

merchant_id[RW]

The ID of the managing account. Corresponds to the JSON property `merchantId` @return [Fixnum]

merchant_order_id[RW]

Merchant-provided ID of the order. Corresponds to the JSON property `merchantOrderId` @return [String]

order_id[RW]

The ID of the order. Corresponds to the JSON property `orderId` @return [String]

product_amount[RW]

Total amount for the items. Corresponds to the JSON property `productAmount` @return [Google::Apis::ContentV2::Amount]

product_amount_with_remitted_tax[RW]

Total amount with remitted tax for the items. Corresponds to the JSON property `productAmountWithRemittedTax` @return [Google::Apis::ContentV2::ProductAmount]

transaction_date[RW]

The date of the transaction, in ISO 8601 format. Corresponds to the JSON property `transactionDate` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2/classes.rb, line 5360
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/classes.rb, line 5365
def update!(**args)
  @disbursement_amount = args[:disbursement_amount] if args.key?(:disbursement_amount)
  @disbursement_creation_date = args[:disbursement_creation_date] if args.key?(:disbursement_creation_date)
  @disbursement_date = args[:disbursement_date] if args.key?(:disbursement_date)
  @disbursement_id = args[:disbursement_id] if args.key?(:disbursement_id)
  @merchant_id = args[:merchant_id] if args.key?(:merchant_id)
  @merchant_order_id = args[:merchant_order_id] if args.key?(:merchant_order_id)
  @order_id = args[:order_id] if args.key?(:order_id)
  @product_amount = args[:product_amount] if args.key?(:product_amount)
  @product_amount_with_remitted_tax = args[:product_amount_with_remitted_tax] if args.key?(:product_amount_with_remitted_tax)
  @transaction_date = args[:transaction_date] if args.key?(:transaction_date)
end