Class: Google::Apis::ContentV2_1::OrderReportTransaction
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::OrderReportTransaction
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Instance Attribute Summary collapse
-
#disbursement_amount ⇒ Google::Apis::ContentV2_1::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_1::ProductAmount
Total amount 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.
Constructor Details
#initialize(**args) ⇒ OrderReportTransaction
Returns a new instance of OrderReportTransaction.
6632 6633 6634 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 6632 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disbursement_amount ⇒ Google::Apis::ContentV2_1::Price
The disbursement amount.
Corresponds to the JSON property disbursementAmount
6590 6591 6592 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 6590 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
6595 6596 6597 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 6595 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
6600 6601 6602 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 6600 def disbursement_date @disbursement_date end |
#disbursement_id ⇒ String
The ID of the disbursement.
Corresponds to the JSON property disbursementId
6605 6606 6607 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 6605 def disbursement_id @disbursement_id end |
#merchant_id ⇒ Fixnum
The ID of the managing account.
Corresponds to the JSON property merchantId
6610 6611 6612 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 6610 def merchant_id @merchant_id end |
#merchant_order_id ⇒ String
Merchant-provided ID of the order.
Corresponds to the JSON property merchantOrderId
6615 6616 6617 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 6615 def merchant_order_id @merchant_order_id end |
#order_id ⇒ String
The ID of the order.
Corresponds to the JSON property orderId
6620 6621 6622 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 6620 def order_id @order_id end |
#product_amount ⇒ Google::Apis::ContentV2_1::ProductAmount
Total amount for the items.
Corresponds to the JSON property productAmount
6625 6626 6627 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 6625 def product_amount @product_amount end |
#transaction_date ⇒ String
The date of the transaction, in ISO 8601 format.
Corresponds to the JSON property transactionDate
6630 6631 6632 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 6630 def transaction_date @transaction_date end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 6637 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) @transaction_date = args[:transaction_date] if args.key?(:transaction_date) end |