Class: KintsugiSDK::Models::Ops::CreateTransactionByCustomerRequest

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/kintsugi_sdk/models/ops/createtransactionbycustomer_request.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(customer_id:, transaction_create:) ⇒ CreateTransactionByCustomerRequest

Returns a new instance of CreateTransactionByCustomerRequest.



22
23
24
25
# File 'lib/kintsugi_sdk/models/ops/createtransactionbycustomer_request.rb', line 22

def initialize(customer_id:, transaction_create:)
  @customer_id = customer_id
  @transaction_create = transaction_create
end

Instance Method Details

#==(other) ⇒ Object



28
29
30
31
32
33
# File 'lib/kintsugi_sdk/models/ops/createtransactionbycustomer_request.rb', line 28

def ==(other)
  return false unless other.is_a? self.class
  return false unless @customer_id == other.customer_id
  return false unless @transaction_create == other.transaction_create
  true
end