Class: GustoEmbedded::Shared::EmployeePayStub

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

Overview

The representation of an employee pay stub information.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(uuid: nil, check_amount: nil, check_date: nil, gross_pay: nil, net_pay: nil, payroll_uuid: nil) ⇒ EmployeePayStub

Returns a new instance of EmployeePayStub.



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

def initialize(uuid: nil, check_amount: nil, check_date: nil, gross_pay: nil, net_pay: nil, payroll_uuid: nil)
  @uuid = uuid
  @check_amount = check_amount
  @check_date = check_date
  @gross_pay = gross_pay
  @net_pay = net_pay
  @payroll_uuid = payroll_uuid
end