Class: GustoEmbedded::Shared::Taxes

Inherits:
Crystalline::FieldAugmented show all
Extended by:
T::Sig
Defined in:
lib/gusto_embedded/models/shared/taxes.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(amount: nil, employer: nil, name: nil) ⇒ Taxes

Returns a new instance of Taxes.



23
24
25
26
27
# File 'lib/gusto_embedded/models/shared/taxes.rb', line 23

def initialize(amount: nil, employer: nil, name: nil)
  @amount = amount
  @employer = employer
  @name = name
end