Class: GustoEmbedded::Models::Shared::PayrollUpdateEmployeeCompensations
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Shared::PayrollUpdateEmployeeCompensations
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/shared/payroll_update_employee_compensations.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(employee_uuid: nil, version: nil, excluded: nil, payment_method: nil, memo: nil, fixed_compensations: nil, hourly_compensations: nil, deductions: nil, paid_time_off: nil, reimbursements: nil) ⇒ PayrollUpdateEmployeeCompensations
constructor
A new instance of PayrollUpdateEmployeeCompensations.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(employee_uuid: nil, version: nil, excluded: nil, payment_method: nil, memo: nil, fixed_compensations: nil, hourly_compensations: nil, deductions: nil, paid_time_off: nil, reimbursements: nil) ⇒ PayrollUpdateEmployeeCompensations
Returns a new instance of PayrollUpdateEmployeeCompensations.
37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/gusto_embedded/models/shared/payroll_update_employee_compensations.rb', line 37 def initialize(employee_uuid: nil, version: nil, excluded: nil, payment_method: nil, memo: nil, fixed_compensations: nil, hourly_compensations: nil, deductions: nil, paid_time_off: nil, reimbursements: nil) @employee_uuid = employee_uuid @version = version @excluded = excluded @payment_method = payment_method @memo = memo @fixed_compensations = fixed_compensations @hourly_compensations = hourly_compensations @deductions = deductions @paid_time_off = paid_time_off @reimbursements = reimbursements end |
Instance Method Details
#==(other) ⇒ Object
51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/gusto_embedded/models/shared/payroll_update_employee_compensations.rb', line 51 def ==(other) return false unless other.is_a? self.class return false unless @employee_uuid == other.employee_uuid return false unless @version == other.version return false unless @excluded == other.excluded return false unless @payment_method == other.payment_method return false unless @memo == other.memo return false unless @fixed_compensations == other.fixed_compensations return false unless @hourly_compensations == other.hourly_compensations return false unless @deductions == other.deductions return false unless @paid_time_off == other.paid_time_off return false unless @reimbursements == other.reimbursements true end |