Class: Google::Apis::ContentV2_1::SettlementTransactionIdentifiers

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SettlementTransactionIdentifiers

Returns a new instance of SettlementTransactionIdentifiers.



14588
14589
14590
# File 'lib/google/apis/content_v2_1/classes.rb', line 14588

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#adjustment_idString

The identifier of the adjustments, if it is available. Corresponds to the JSON property adjustmentId

Returns:

  • (String)


14561
14562
14563
# File 'lib/google/apis/content_v2_1/classes.rb', line 14561

def adjustment_id
  @adjustment_id
end

#merchant_order_idString

The merchant provided order ID. Corresponds to the JSON property merchantOrderId

Returns:

  • (String)


14566
14567
14568
# File 'lib/google/apis/content_v2_1/classes.rb', line 14566

def merchant_order_id
  @merchant_order_id
end

#order_item_idString

The identifier of the item. Corresponds to the JSON property orderItemId

Returns:

  • (String)


14571
14572
14573
# File 'lib/google/apis/content_v2_1/classes.rb', line 14571

def order_item_id
  @order_item_id
end

#settlement_entry_idString

The unique ID of the settlement transaction entry. Corresponds to the JSON property settlementEntryId

Returns:

  • (String)


14576
14577
14578
# File 'lib/google/apis/content_v2_1/classes.rb', line 14576

def settlement_entry_id
  @settlement_entry_id
end

#shipment_idsArray<String>

The shipment ids for the item. Corresponds to the JSON property shipmentIds

Returns:

  • (Array<String>)


14581
14582
14583
# File 'lib/google/apis/content_v2_1/classes.rb', line 14581

def shipment_ids
  @shipment_ids
end

#transaction_idString

The Google transaction ID. Corresponds to the JSON property transactionId

Returns:

  • (String)


14586
14587
14588
# File 'lib/google/apis/content_v2_1/classes.rb', line 14586

def transaction_id
  @transaction_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14593
14594
14595
14596
14597
14598
14599
14600
# File 'lib/google/apis/content_v2_1/classes.rb', line 14593

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