Class: KintsugiSDK::Models::Ops::GetExemptionsV1ExemptionsGetRequest
- Inherits:
-
Object
- Object
- KintsugiSDK::Models::Ops::GetExemptionsV1ExemptionsGetRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/kintsugi_sdk/models/ops/get_exemptions_v1_exemptions_get_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(search_query: nil, country_code: nil, jurisdiction: nil, start_date: nil, end_date: nil, customer_id: nil, transaction_id: nil, status_in: 'ACTIVE,INACTIVE,EXPIRED', order_by: 'end_date,FEIN,sales_tax_id,status', page: 1, size: 50) ⇒ GetExemptionsV1ExemptionsGetRequest
constructor
A new instance of GetExemptionsV1ExemptionsGetRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(search_query: nil, country_code: nil, jurisdiction: nil, start_date: nil, end_date: nil, customer_id: nil, transaction_id: nil, status_in: 'ACTIVE,INACTIVE,EXPIRED', order_by: 'end_date,FEIN,sales_tax_id,status', page: 1, size: 50) ⇒ GetExemptionsV1ExemptionsGetRequest
Returns a new instance of GetExemptionsV1ExemptionsGetRequest.
40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/kintsugi_sdk/models/ops/get_exemptions_v1_exemptions_get_request.rb', line 40 def initialize(search_query: nil, country_code: nil, jurisdiction: nil, start_date: nil, end_date: nil, customer_id: nil, transaction_id: nil, status_in: 'ACTIVE,INACTIVE,EXPIRED', order_by: 'end_date,FEIN,sales_tax_id,status', page: 1, size: 50) @search_query = search_query @country_code = country_code @jurisdiction = jurisdiction @start_date = start_date @end_date = end_date @customer_id = customer_id @transaction_id = transaction_id @status_in = status_in @order_by = order_by @page = page @size = size end |
Instance Method Details
#==(other) ⇒ Object
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
# File 'lib/kintsugi_sdk/models/ops/get_exemptions_v1_exemptions_get_request.rb', line 55 def ==(other) return false unless other.is_a? self.class return false unless @search_query == other.search_query return false unless @country_code == other.country_code return false unless @jurisdiction == other.jurisdiction return false unless @start_date == other.start_date return false unless @end_date == other.end_date return false unless @customer_id == other.customer_id return false unless @transaction_id == other.transaction_id 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 |