Class: GustoEmbedded::Models::Shared::Payroll
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Shared::Payroll
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/shared/payroll.rb
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, totals: nil, company_taxes: nil, payroll_taxes: nil, payment_speed_changed: nil, created_at: nil, submission_blockers: nil, credit_blockers: 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
constructor
A new instance of Payroll.
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, totals: nil, company_taxes: nil, payroll_taxes: nil, payment_speed_changed: nil, created_at: nil, submission_blockers: nil, credit_blockers: 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
Returns a new instance of Payroll.
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
# File 'lib/gusto_embedded/models/shared/payroll.rb', line 71 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, totals: nil, company_taxes: nil, payroll_taxes: nil, payment_speed_changed: nil, created_at: nil, submission_blockers: nil, credit_blockers: 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 = @totals = totals @company_taxes = company_taxes @payroll_taxes = payroll_taxes @payment_speed_changed = payment_speed_changed @created_at = created_at @submission_blockers = submission_blockers @credit_blockers = credit_blockers @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
102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 |
# File 'lib/gusto_embedded/models/shared/payroll.rb', line 102 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 @totals == other.totals return false unless @company_taxes == other.company_taxes return false unless @payroll_taxes == other.payroll_taxes return false unless @payment_speed_changed == other.payment_speed_changed return false unless @created_at == other.created_at return false unless @submission_blockers == other.submission_blockers return false unless @credit_blockers == other.credit_blockers 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 |