Class: GustoEmbedded::Shared::PaySchedule
- Inherits:
-
Crystalline::FieldAugmented
- Object
- Crystalline::FieldAugmented
- GustoEmbedded::Shared::PaySchedule
- Extended by:
- T::Sig
- Defined in:
- lib/gusto_embedded/models/shared/pay_schedule.rb
Overview
The representation of a pay schedule.
Instance Method Summary collapse
-
#initialize(uuid: nil, active: nil, anchor_end_of_pay_period: nil, anchor_pay_date: nil, auto_pilot: nil, custom_name: nil, day_1: nil, day_2: nil, frequency: nil, name: nil) ⇒ PaySchedule
constructor
A new instance of PaySchedule.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(uuid: nil, active: nil, anchor_end_of_pay_period: nil, anchor_pay_date: nil, auto_pilot: nil, custom_name: nil, day_1: nil, day_2: nil, frequency: nil, name: nil) ⇒ PaySchedule
Returns a new instance of PaySchedule.
37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/gusto_embedded/models/shared/pay_schedule.rb', line 37 def initialize(uuid: nil, active: nil, anchor_end_of_pay_period: nil, anchor_pay_date: nil, auto_pilot: nil, custom_name: nil, day_1: nil, day_2: nil, frequency: nil, name: nil) @uuid = uuid @active = active @anchor_end_of_pay_period = anchor_end_of_pay_period @anchor_pay_date = anchor_pay_date @auto_pilot = auto_pilot @custom_name = custom_name @day_1 = day_1 @day_2 = day_2 @frequency = frequency @name = name end |