Class: KintsugiSDK::Models::Shared::ExemptionRequired
- Inherits:
-
Object
- Object
- KintsugiSDK::Models::Shared::ExemptionRequired
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/kintsugi_sdk/models/shared/exemptionrequired.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(organization_id:, exemption_type:, start_date:, status:, reseller:, jurisdiction: nil, customer_id: nil) ⇒ ExemptionRequired
constructor
A new instance of ExemptionRequired.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(organization_id:, exemption_type:, start_date:, status:, reseller:, jurisdiction: nil, customer_id: nil) ⇒ ExemptionRequired
Returns a new instance of ExemptionRequired.
32 33 34 35 36 37 38 39 40 |
# File 'lib/kintsugi_sdk/models/shared/exemptionrequired.rb', line 32 def initialize(organization_id:, exemption_type:, start_date:, status:, reseller:, jurisdiction: nil, customer_id: nil) @organization_id = organization_id @exemption_type = exemption_type @start_date = start_date @status = status @reseller = reseller @jurisdiction = jurisdiction @customer_id = customer_id end |
Instance Method Details
#==(other) ⇒ Object
43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/kintsugi_sdk/models/shared/exemptionrequired.rb', line 43 def ==(other) return false unless other.is_a? self.class return false unless @organization_id == other.organization_id return false unless @exemption_type == other.exemption_type return false unless @start_date == other.start_date return false unless @status == other.status return false unless @reseller == other.reseller return false unless @jurisdiction == other.jurisdiction return false unless @customer_id == other.customer_id true end |