Class: Google::Apis::ContentV2_1::SettlementTransactionIdentifiers
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::SettlementTransactionIdentifiers
- 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
-
#adjustment_id ⇒ String
The identifier of the adjustments, if it is available.
-
#merchant_order_id ⇒ String
The merchant provided order ID.
-
#order_item_id ⇒ String
The identifier of the item.
-
#settlement_entry_id ⇒ String
The unique ID of the settlement transaction entry.
-
#shipment_ids ⇒ Array<String>
The shipment ids for the item.
-
#transaction_id ⇒ String
The Google transaction ID.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SettlementTransactionIdentifiers
constructor
A new instance of SettlementTransactionIdentifiers.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SettlementTransactionIdentifiers
Returns a new instance of SettlementTransactionIdentifiers.
13525 13526 13527 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 13525 def initialize(**args) update!(**args) end |
Instance Attribute Details
#adjustment_id ⇒ String
The identifier of the adjustments, if it is available.
Corresponds to the JSON property adjustmentId
13498 13499 13500 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 13498 def adjustment_id @adjustment_id end |
#merchant_order_id ⇒ String
The merchant provided order ID.
Corresponds to the JSON property merchantOrderId
13503 13504 13505 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 13503 def merchant_order_id @merchant_order_id end |
#order_item_id ⇒ String
The identifier of the item.
Corresponds to the JSON property orderItemId
13508 13509 13510 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 13508 def order_item_id @order_item_id end |
#settlement_entry_id ⇒ String
The unique ID of the settlement transaction entry.
Corresponds to the JSON property settlementEntryId
13513 13514 13515 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 13513 def settlement_entry_id @settlement_entry_id end |
#shipment_ids ⇒ Array<String>
The shipment ids for the item.
Corresponds to the JSON property shipmentIds
13518 13519 13520 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 13518 def shipment_ids @shipment_ids end |
#transaction_id ⇒ String
The Google transaction ID.
Corresponds to the JSON property transactionId
13523 13524 13525 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 13523 def transaction_id @transaction_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13530 13531 13532 13533 13534 13535 13536 13537 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 13530 def update!(**args) @adjustment_id = args[:adjustment_id] if args.key?(:adjustment_id) @merchant_order_id = args[:merchant_order_id] if args.key?(:merchant_order_id) @order_item_id = args[:order_item_id] if args.key?(:order_item_id) @settlement_entry_id = args[:settlement_entry_id] if args.key?(:settlement_entry_id) @shipment_ids = args[:shipment_ids] if args.key?(:shipment_ids) @transaction_id = args[:transaction_id] if args.key?(:transaction_id) end |