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(disregard_view: nil, state_code: nil, country_code_in: nil, collected_tax_nexus_met: nil, without_pagination: false, 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.



35
36
37
38
39
40
41
42
43
44
45
# File 'lib/kintsugi_sdk/models/ops/get_nexus_for_org_v1_nexus_get_request.rb', line 35

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

Instance Method Details

#==(other) ⇒ Object



48
49
50
51
52
53
54
55
56
57
58
59
60
# File 'lib/kintsugi_sdk/models/ops/get_nexus_for_org_v1_nexus_get_request.rb', line 48

def ==(other)
  return false unless other.is_a? self.class
  return false unless @disregard_view == other.disregard_view
  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 @without_pagination == other.without_pagination
  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