Class: GustoEmbedded::Models::Operations::PostV1CompaniesCompanyIdPayrollsRequestBody
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Operations::PostV1CompaniesCompanyIdPayrollsRequestBody
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/operations/post_v1_companies_company_id_payrolls_requestbody.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(off_cycle:, off_cycle_reason:, start_date:, end_date:, pay_schedule_uuid: nil, check_date: nil, withholding_pay_period: nil, skip_regular_deductions: nil, fixed_withholding_rate: nil, is_check_only_payroll: nil, employee_uuids: nil) ⇒ PostV1CompaniesCompanyIdPayrollsRequestBody
constructor
A new instance of PostV1CompaniesCompanyIdPayrollsRequestBody.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(off_cycle:, off_cycle_reason:, start_date:, end_date:, pay_schedule_uuid: nil, check_date: nil, withholding_pay_period: nil, skip_regular_deductions: nil, fixed_withholding_rate: nil, is_check_only_payroll: nil, employee_uuids: nil) ⇒ PostV1CompaniesCompanyIdPayrollsRequestBody
Returns a new instance of PostV1CompaniesCompanyIdPayrollsRequestBody.
39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/gusto_embedded/models/operations/post_v1_companies_company_id_payrolls_requestbody.rb', line 39 def initialize(off_cycle:, off_cycle_reason:, start_date:, end_date:, pay_schedule_uuid: nil, check_date: nil, withholding_pay_period: nil, skip_regular_deductions: nil, fixed_withholding_rate: nil, is_check_only_payroll: nil, employee_uuids: nil) @off_cycle = off_cycle @off_cycle_reason = off_cycle_reason @start_date = start_date @end_date = end_date @pay_schedule_uuid = pay_schedule_uuid @check_date = check_date @withholding_pay_period = withholding_pay_period @skip_regular_deductions = skip_regular_deductions @fixed_withholding_rate = fixed_withholding_rate @is_check_only_payroll = is_check_only_payroll @employee_uuids = employee_uuids end |
Instance Method Details
#==(other) ⇒ Object
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 |
# File 'lib/gusto_embedded/models/operations/post_v1_companies_company_id_payrolls_requestbody.rb', line 54 def ==(other) return false unless other.is_a? self.class return false unless @off_cycle == other.off_cycle return false unless @off_cycle_reason == other.off_cycle_reason return false unless @start_date == other.start_date return false unless @end_date == other.end_date return false unless @pay_schedule_uuid == other.pay_schedule_uuid return false unless @check_date == other.check_date return false unless @withholding_pay_period == other.withholding_pay_period return false unless @skip_regular_deductions == other.skip_regular_deductions return false unless @fixed_withholding_rate == other.fixed_withholding_rate return false unless @is_check_only_payroll == other.is_check_only_payroll return false unless @employee_uuids == other.employee_uuids true end |