Class: GustoEmbedded::Models::Shared::FederalTaxDetailsUpdate
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Shared::FederalTaxDetailsUpdate
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/shared/federal_tax_details_update.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(version:, legal_name: nil, ein: nil, tax_payer_type: nil, filing_form: nil, taxable_as_scorp: nil) ⇒ FederalTaxDetailsUpdate
constructor
A new instance of FederalTaxDetailsUpdate.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(version:, legal_name: nil, ein: nil, tax_payer_type: nil, filing_form: nil, taxable_as_scorp: nil) ⇒ FederalTaxDetailsUpdate
Returns a new instance of FederalTaxDetailsUpdate.
43 44 45 46 47 48 49 50 |
# File 'lib/gusto_embedded/models/shared/federal_tax_details_update.rb', line 43 def initialize(version:, legal_name: nil, ein: nil, tax_payer_type: nil, filing_form: nil, taxable_as_scorp: nil) @version = version @legal_name = legal_name @ein = ein @tax_payer_type = tax_payer_type @filing_form = filing_form @taxable_as_scorp = taxable_as_scorp end |
Instance Method Details
#==(other) ⇒ Object
53 54 55 56 57 58 59 60 61 62 |
# File 'lib/gusto_embedded/models/shared/federal_tax_details_update.rb', line 53 def ==(other) return false unless other.is_a? self.class return false unless @version == other.version return false unless @legal_name == other.legal_name return false unless @ein == other.ein return false unless @tax_payer_type == other.tax_payer_type return false unless @filing_form == other.filing_form return false unless @taxable_as_scorp == other.taxable_as_scorp true end |