Class: GustoEmbedded::Models::Shared::PayrollPrepared
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Shared::PayrollPrepared
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/shared/payroll_prepared.rb
Overview
The response from preparing a payroll for update. Contains refreshed employee compensations, updated payroll dates, and version information needed for subsequent payroll updates.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(payroll_deadline: nil, check_date: nil, processed: nil, uuid: nil, payroll_uuid: nil, company_uuid: nil, off_cycle: nil, auto_pilot: nil, external: nil, final_termination_payroll: nil, pay_period: nil, payroll_status_meta: nil, employee_compensations: nil, payment_speed_changed: nil, created_at: nil, fixed_compensation_types: nil, processed_date: nil, calculated_at: nil, off_cycle_reason: nil, withholding_pay_period: nil, skip_regular_deductions: nil, fixed_withholding_rate: nil, processing_request: nil, partner_owned_disbursement: nil) ⇒ PayrollPrepared
constructor
A new instance of PayrollPrepared.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(payroll_deadline: nil, check_date: nil, processed: nil, uuid: nil, payroll_uuid: nil, company_uuid: nil, off_cycle: nil, auto_pilot: nil, external: nil, final_termination_payroll: nil, pay_period: nil, payroll_status_meta: nil, employee_compensations: nil, payment_speed_changed: nil, created_at: nil, fixed_compensation_types: nil, processed_date: nil, calculated_at: nil, off_cycle_reason: nil, withholding_pay_period: nil, skip_regular_deductions: nil, fixed_withholding_rate: nil, processing_request: nil, partner_owned_disbursement: nil) ⇒ PayrollPrepared
Returns a new instance of PayrollPrepared.
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'lib/gusto_embedded/models/shared/payroll_prepared.rb', line 65 def initialize(payroll_deadline: nil, check_date: nil, processed: nil, uuid: nil, payroll_uuid: nil, company_uuid: nil, off_cycle: nil, auto_pilot: nil, external: nil, final_termination_payroll: nil, pay_period: nil, payroll_status_meta: nil, employee_compensations: nil, payment_speed_changed: nil, created_at: nil, fixed_compensation_types: nil, processed_date: nil, calculated_at: nil, off_cycle_reason: nil, withholding_pay_period: nil, skip_regular_deductions: nil, fixed_withholding_rate: nil, processing_request: nil, partner_owned_disbursement: nil) @payroll_deadline = payroll_deadline @check_date = check_date @processed = processed @uuid = uuid @payroll_uuid = payroll_uuid @company_uuid = company_uuid @off_cycle = off_cycle @auto_pilot = auto_pilot @external = external @final_termination_payroll = final_termination_payroll @pay_period = pay_period @payroll_status_meta = @employee_compensations = employee_compensations @payment_speed_changed = payment_speed_changed @created_at = created_at @fixed_compensation_types = fixed_compensation_types @processed_date = processed_date @calculated_at = calculated_at @off_cycle_reason = off_cycle_reason @withholding_pay_period = withholding_pay_period @skip_regular_deductions = skip_regular_deductions @fixed_withholding_rate = fixed_withholding_rate @processing_request = processing_request @partner_owned_disbursement = partner_owned_disbursement end |
Instance Method Details
#==(other) ⇒ Object
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 |
# File 'lib/gusto_embedded/models/shared/payroll_prepared.rb', line 93 def ==(other) return false unless other.is_a? self.class return false unless @payroll_deadline == other.payroll_deadline return false unless @check_date == other.check_date return false unless @processed == other.processed return false unless @uuid == other.uuid return false unless @payroll_uuid == other.payroll_uuid return false unless @company_uuid == other.company_uuid return false unless @off_cycle == other.off_cycle return false unless @auto_pilot == other.auto_pilot return false unless @external == other.external return false unless @final_termination_payroll == other.final_termination_payroll return false unless @pay_period == other.pay_period return false unless @payroll_status_meta == other. return false unless @employee_compensations == other.employee_compensations return false unless @payment_speed_changed == other.payment_speed_changed return false unless @created_at == other.created_at return false unless @fixed_compensation_types == other.fixed_compensation_types return false unless @processed_date == other.processed_date return false unless @calculated_at == other.calculated_at return false unless @off_cycle_reason == other.off_cycle_reason 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 @processing_request == other.processing_request return false unless @partner_owned_disbursement == other.partner_owned_disbursement true end |