Class: GustoEmbedded::Models::Shared::EmployeeCompensations
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Shared::EmployeeCompensations
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/shared/employee_compensations.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(employee_uuid: nil, excluded: nil, fixed_compensations: nil, hourly_compensations: nil, paid_time_off: nil, reimbursements: nil, version: nil, deductions: nil, taxes: nil, benefits: nil, additional_properties: nil, first_name: nil, preferred_first_name: nil, last_name: nil, gross_pay: nil, net_pay: nil, check_amount: nil, payment_method: nil, memo: nil) ⇒ EmployeeCompensations
constructor
A new instance of EmployeeCompensations.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(employee_uuid: nil, excluded: nil, fixed_compensations: nil, hourly_compensations: nil, paid_time_off: nil, reimbursements: nil, version: nil, deductions: nil, taxes: nil, benefits: nil, additional_properties: nil, first_name: nil, preferred_first_name: nil, last_name: nil, gross_pay: nil, net_pay: nil, check_amount: nil, payment_method: nil, memo: nil) ⇒ EmployeeCompensations
Returns a new instance of EmployeeCompensations.
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
# File 'lib/gusto_embedded/models/shared/employee_compensations.rb', line 55 def initialize(employee_uuid: nil, excluded: nil, fixed_compensations: nil, hourly_compensations: nil, paid_time_off: nil, reimbursements: nil, version: nil, deductions: nil, taxes: nil, benefits: nil, additional_properties: nil, first_name: nil, preferred_first_name: nil, last_name: nil, gross_pay: nil, net_pay: nil, check_amount: nil, payment_method: nil, memo: nil) @employee_uuid = employee_uuid @excluded = excluded @fixed_compensations = fixed_compensations @hourly_compensations = hourly_compensations @paid_time_off = paid_time_off @reimbursements = reimbursements @version = version @deductions = deductions @taxes = taxes @benefits = benefits @additional_properties = additional_properties @first_name = first_name @preferred_first_name = preferred_first_name @last_name = last_name @gross_pay = gross_pay @net_pay = net_pay @check_amount = check_amount @payment_method = payment_method @memo = memo end |
Instance Method Details
#==(other) ⇒ Object
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'lib/gusto_embedded/models/shared/employee_compensations.rb', line 78 def ==(other) return false unless other.is_a? self.class return false unless @employee_uuid == other.employee_uuid return false unless @excluded == other.excluded return false unless @fixed_compensations == other.fixed_compensations return false unless @hourly_compensations == other.hourly_compensations return false unless @paid_time_off == other.paid_time_off return false unless @reimbursements == other.reimbursements return false unless @version == other.version return false unless @deductions == other.deductions return false unless @taxes == other.taxes return false unless @benefits == other.benefits return false unless @additional_properties == other.additional_properties return false unless @first_name == other.first_name return false unless @preferred_first_name == other.preferred_first_name return false unless @last_name == other.last_name return false unless @gross_pay == other.gross_pay return false unless @net_pay == other.net_pay return false unless @check_amount == other.check_amount return false unless @payment_method == other.payment_method return false unless @memo == other.memo true end |