Class: FinchAPI::Models::HRIS::Payment::PayPeriod

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/finch_api/models/hris/payment.rb

Overview

See Also:

  • HRIS::Payment#pay_period

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!

Constructor Details

#initialize(end_date: nil, start_date: nil) ⇒ Object

The pay period object.

Parameters:

  • end_date (String, nil) (defaults to: nil)
  • start_date (String, nil) (defaults to: nil)


# File 'lib/finch_api/models/hris/payment.rb', line 129

Instance Attribute Details

#end_dateString?

Returns:

  • (String, nil)


122
# File 'lib/finch_api/models/hris/payment.rb', line 122

optional :end_date, String, nil?: true

#start_dateString?

Returns:

  • (String, nil)


127
# File 'lib/finch_api/models/hris/payment.rb', line 127

optional :start_date, String, nil?: true