Class: GustoEmbedded::Models::Shared::PayPeriodPayroll
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Shared::PayPeriodPayroll
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/shared/pay_period_payroll.rb
Overview
Information about the payroll for the pay period.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(payroll_uuid: nil, check_date: nil, processed: nil, payroll_deadline: nil, payroll_type: nil) ⇒ PayPeriodPayroll
constructor
A new instance of PayPeriodPayroll.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(payroll_uuid: nil, check_date: nil, processed: nil, payroll_deadline: nil, payroll_type: nil) ⇒ PayPeriodPayroll
Returns a new instance of PayPeriodPayroll.
27 28 29 30 31 32 33 |
# File 'lib/gusto_embedded/models/shared/pay_period_payroll.rb', line 27 def initialize(payroll_uuid: nil, check_date: nil, processed: nil, payroll_deadline: nil, payroll_type: nil) @payroll_uuid = payroll_uuid @check_date = check_date @processed = processed @payroll_deadline = payroll_deadline @payroll_type = payroll_type end |
Instance Method Details
#==(other) ⇒ Object
36 37 38 39 40 41 42 43 44 |
# File 'lib/gusto_embedded/models/shared/pay_period_payroll.rb', line 36 def ==(other) return false unless other.is_a? self.class return false unless @payroll_uuid == other.payroll_uuid return false unless @check_date == other.check_date return false unless @processed == other.processed return false unless @payroll_deadline == other.payroll_deadline return false unless @payroll_type == other.payroll_type true end |