Class: Google::Apis::ContentV2::OrderReportTransaction
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::OrderReportTransaction
- Defined in:
- generated/google/apis/content_v2/classes.rb,
generated/google/apis/content_v2/representations.rb,
generated/google/apis/content_v2/representations.rb
Instance Attribute Summary collapse
-
#disbursement_amount ⇒ Google::Apis::ContentV2::Price
The disbursement amount.
-
#disbursement_creation_date ⇒ String
The date the disbursement was created, in ISO 8601 format.
-
#disbursement_date ⇒ String
The date the disbursement was initiated, in ISO 8601 format.
-
#disbursement_id ⇒ String
The ID of the disbursement.
-
#merchant_id ⇒ Fixnum
The ID of the managing account.
-
#merchant_order_id ⇒ String
Merchant-provided id of the order.
-
#order_id ⇒ String
The id of the order.
-
#product_amount ⇒ Google::Apis::ContentV2::Amount
Total amount for the items.
-
#product_amount_with_remitted_tax ⇒ Google::Apis::ContentV2::ProductAmount
Total amount with remitted tax for the items.
-
#transaction_date ⇒ String
The date of the transaction, in ISO 8601 format.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OrderReportTransaction
constructor
A new instance of OrderReportTransaction.
-
#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) ⇒ OrderReportTransaction
Returns a new instance of OrderReportTransaction
5062 5063 5064 |
# File 'generated/google/apis/content_v2/classes.rb', line 5062 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disbursement_amount ⇒ Google::Apis::ContentV2::Price
The disbursement amount.
Corresponds to the JSON property disbursementAmount
5015 5016 5017 |
# File 'generated/google/apis/content_v2/classes.rb', line 5015 def disbursement_amount @disbursement_amount end |
#disbursement_creation_date ⇒ String
The date the disbursement was created, in ISO 8601 format.
Corresponds to the JSON property disbursementCreationDate
5020 5021 5022 |
# File 'generated/google/apis/content_v2/classes.rb', line 5020 def disbursement_creation_date @disbursement_creation_date end |
#disbursement_date ⇒ String
The date the disbursement was initiated, in ISO 8601 format.
Corresponds to the JSON property disbursementDate
5025 5026 5027 |
# File 'generated/google/apis/content_v2/classes.rb', line 5025 def disbursement_date @disbursement_date end |
#disbursement_id ⇒ String
The ID of the disbursement.
Corresponds to the JSON property disbursementId
5030 5031 5032 |
# File 'generated/google/apis/content_v2/classes.rb', line 5030 def disbursement_id @disbursement_id end |
#merchant_id ⇒ Fixnum
The ID of the managing account.
Corresponds to the JSON property merchantId
5035 5036 5037 |
# File 'generated/google/apis/content_v2/classes.rb', line 5035 def merchant_id @merchant_id end |
#merchant_order_id ⇒ String
Merchant-provided id of the order.
Corresponds to the JSON property merchantOrderId
5040 5041 5042 |
# File 'generated/google/apis/content_v2/classes.rb', line 5040 def merchant_order_id @merchant_order_id end |
#order_id ⇒ String
The id of the order.
Corresponds to the JSON property orderId
5045 5046 5047 |
# File 'generated/google/apis/content_v2/classes.rb', line 5045 def order_id @order_id end |
#product_amount ⇒ Google::Apis::ContentV2::Amount
Total amount for the items.
Corresponds to the JSON property productAmount
5050 5051 5052 |
# File 'generated/google/apis/content_v2/classes.rb', line 5050 def product_amount @product_amount end |
#product_amount_with_remitted_tax ⇒ Google::Apis::ContentV2::ProductAmount
Total amount with remitted tax for the items.
Corresponds to the JSON property productAmountWithRemittedTax
5055 5056 5057 |
# File 'generated/google/apis/content_v2/classes.rb', line 5055 def product_amount_with_remitted_tax @product_amount_with_remitted_tax end |
#transaction_date ⇒ String
The date of the transaction, in ISO 8601 format.
Corresponds to the JSON property transactionDate
5060 5061 5062 |
# File 'generated/google/apis/content_v2/classes.rb', line 5060 def transaction_date @transaction_date end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 |
# File 'generated/google/apis/content_v2/classes.rb', line 5067 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 |