Class: KintsugiSDK::Models::Ops::GetTransactionsV1TransactionsGetRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(state_code: nil, transaction_type: nil, transaction_source: nil, search_query: nil, country: nil, state: nil, status: nil, filing_id: nil, date_gte: nil, date_lte: nil, processing_status_in: nil, marketplace: nil, exempt_in: nil, address_status_in: 'UNVERIFIED,INVALID,PARTIALLY_VERIFIED,VERIFIED,UNVERIFIABLE', order_by: 'date,state,customer_name,status', page: 1, size: 50) ⇒ GetTransactionsV1TransactionsGetRequest

Returns a new instance of GetTransactionsV1TransactionsGetRequest.



62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# File 'lib/kintsugi_sdk/models/ops/get_transactions_v1_transactions_get_request.rb', line 62

def initialize(state_code: nil, transaction_type: nil, transaction_source: nil, search_query: nil, country: nil, state: nil, status: nil, filing_id: nil, date_gte: nil, date_lte: nil, processing_status_in: nil, marketplace: nil, exempt_in: nil, address_status_in: 'UNVERIFIED,INVALID,PARTIALLY_VERIFIED,VERIFIED,UNVERIFIABLE', order_by: 'date,state,customer_name,status', page: 1, size: 50)
  @state_code = state_code
  @transaction_type = transaction_type
  @transaction_source = transaction_source
  @search_query = search_query
  @country = country
  @state = state
  @status = status
  @filing_id = filing_id
  @date_gte = date_gte
  @date_lte = date_lte
  @processing_status_in = processing_status_in
  @marketplace = marketplace
  @exempt_in = exempt_in
  @address_status_in = address_status_in
  @order_by = order_by
  @page = page
  @size = size
end

Instance Method Details

#==(other) ⇒ Object



83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# File 'lib/kintsugi_sdk/models/ops/get_transactions_v1_transactions_get_request.rb', line 83

def ==(other)
  return false unless other.is_a? self.class
  return false unless @state_code == other.state_code
  return false unless @transaction_type == other.transaction_type
  return false unless @transaction_source == other.transaction_source
  return false unless @search_query == other.search_query
  return false unless @country == other.country
  return false unless @state == other.state
  return false unless @status == other.status
  return false unless @filing_id == other.filing_id
  return false unless @date_gte == other.date_gte
  return false unless @date_lte == other.date_lte
  return false unless @processing_status_in == other.processing_status_in
  return false unless @marketplace == other.marketplace
  return false unless @exempt_in == other.exempt_in
  return false unless @address_status_in == other.address_status_in
  return false unless @order_by == other.order_by
  return false unless @page == other.page
  return false unless @size == other.size
  true
end