Class: GustoEmbedded::Models::Shared::TaxRequirementsState
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Shared::TaxRequirementsState
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/shared/tax_requirements_state.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(company_uuid: nil, state: nil, requirement_sets: nil) ⇒ TaxRequirementsState
constructor
A new instance of TaxRequirementsState.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(company_uuid: nil, state: nil, requirement_sets: nil) ⇒ TaxRequirementsState
Returns a new instance of TaxRequirementsState.
23 24 25 26 27 |
# File 'lib/gusto_embedded/models/shared/tax_requirements_state.rb', line 23 def initialize(company_uuid: nil, state: nil, requirement_sets: nil) @company_uuid = company_uuid @state = state @requirement_sets = requirement_sets end |
Instance Method Details
#==(other) ⇒ Object
30 31 32 33 34 35 36 |
# File 'lib/gusto_embedded/models/shared/tax_requirements_state.rb', line 30 def ==(other) return false unless other.is_a? self.class return false unless @company_uuid == other.company_uuid return false unless @state == other.state return false unless @requirement_sets == other.requirement_sets true end |