Class: GustoEmbedded::Operations::FixedCompensations

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

Overview

An array of fixed compensations for the employee. Fixed compensations include tips, bonuses, and one time reimbursements.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(amount: nil, job_uuid: nil, name: nil) ⇒ FixedCompensations

Returns a new instance of FixedCompensations.



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

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