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

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/content_v2_1/classes.rb,
generated/google/apis/content_v2_1/representations.rb,
generated/google/apis/content_v2_1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SettlementTransactionIdentifiers

Returns a new instance of SettlementTransactionIdentifiers.



10879
10880
10881
# File 'generated/google/apis/content_v2_1/classes.rb', line 10879

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)


10857
10858
10859
# File 'generated/google/apis/content_v2_1/classes.rb', line 10857

def adjustment_id
  @adjustment_id
end

#merchant_order_idString

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

Returns:

  • (String)


10862
10863
10864
# File 'generated/google/apis/content_v2_1/classes.rb', line 10862

def merchant_order_id
  @merchant_order_id
end

#settlement_entry_idString

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

Returns:

  • (String)


10867
10868
10869
# File 'generated/google/apis/content_v2_1/classes.rb', line 10867

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>)


10872
10873
10874
# File 'generated/google/apis/content_v2_1/classes.rb', line 10872

def shipment_ids
  @shipment_ids
end

#transaction_idString

The Google transaction ID. Corresponds to the JSON property transactionId

Returns:

  • (String)


10877
10878
10879
# File 'generated/google/apis/content_v2_1/classes.rb', line 10877

def transaction_id
  @transaction_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10884
10885
10886
10887
10888
10889
10890
# File 'generated/google/apis/content_v2_1/classes.rb', line 10884

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)
  @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