Class: GustoEmbedded::Models::Shared::PayrollUpdateReimbursements

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/gusto_embedded/models/shared/payroll_update_reimbursements.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(amount: nil, description: nil, uuid: nil) ⇒ PayrollUpdateReimbursements

Returns a new instance of PayrollUpdateReimbursements.



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

def initialize(amount: nil, description: nil, uuid: nil)
  @amount = amount
  @description = description
  @uuid = uuid
end

Instance Method Details

#==(other) ⇒ Object



30
31
32
33
34
35
36
# File 'lib/gusto_embedded/models/shared/payroll_update_reimbursements.rb', line 30

def ==(other)
  return false unless other.is_a? self.class
  return false unless @amount == other.amount
  return false unless @description == other.description
  return false unless @uuid == other.uuid
  true
end