Class: KintsugiSDK::Models::Ops::GetNexusForOrgV1NexusGetRequest

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/kintsugi_sdk/models/ops/get_nexus_for_org_v1_nexus_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, country_code_in: nil, collected_tax_nexus_met: nil, status_in: 'APPROACHING,NOT_EXPOSED,PENDING_REGISTRATION,EXPOSED,APPROACHING,REGISTERED', order_by: 'state_code,country_code', page: 1, size: 50) ⇒ GetNexusForOrgV1NexusGetRequest

Returns a new instance of GetNexusForOrgV1NexusGetRequest.



32
33
34
35
36
37
38
39
40
# File 'lib/kintsugi_sdk/models/ops/get_nexus_for_org_v1_nexus_get_request.rb', line 32

def initialize(state_code: nil, country_code_in: nil, collected_tax_nexus_met: nil, status_in: 'APPROACHING,NOT_EXPOSED,PENDING_REGISTRATION,EXPOSED,APPROACHING,REGISTERED', order_by: 'state_code,country_code', page: 1, size: 50)
  @state_code = state_code
  @country_code_in = country_code_in
  @collected_tax_nexus_met = collected_tax_nexus_met
  @status_in = status_in
  @order_by = order_by
  @page = page
  @size = size
end

Instance Method Details

#==(other) ⇒ Object



43
44
45
46
47
48
49
50
51
52
53
# File 'lib/kintsugi_sdk/models/ops/get_nexus_for_org_v1_nexus_get_request.rb', line 43

def ==(other)
  return false unless other.is_a? self.class
  return false unless @state_code == other.state_code
  return false unless @country_code_in == other.country_code_in
  return false unless @collected_tax_nexus_met == other.collected_tax_nexus_met
  return false unless @status_in == other.status_in
  return false unless @order_by == other.order_by
  return false unless @page == other.page
  return false unless @size == other.size
  true
end