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

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

Overview

Defined Under Namespace

Modules: PayFrequency Classes: PayPeriod

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from Internal::Type::BaseModel

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

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

This class inherits a constructor from FinchAPI::Internal::Type::BaseModel

Instance Attribute Details

#company_debitFinchAPI::Models::Money?

Returns:



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

required :company_debit, -> { FinchAPI::Money }, nil?: true

#debit_dateString?

Returns:

  • (String, nil)


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

required :debit_date, String, nil?: true

#employee_taxesFinchAPI::Models::Money?

Returns:



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

required :employee_taxes, -> { FinchAPI::Money }, nil?: true

#employer_taxesFinchAPI::Models::Money?

Returns:



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

required :employer_taxes, -> { FinchAPI::Money }, nil?: true

#gross_payFinchAPI::Models::Money?

Returns:



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

required :gross_pay, -> { FinchAPI::Money }, nil?: true

#idString

The unique id for the payment.

Returns:

  • (String)


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

required :id, String

#individual_idsArray<String>?

Array of every individual on this payment.

Returns:

  • (Array<String>, nil)


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

required :individual_ids, FinchAPI::Internal::Type::ArrayOf[String], nil?: true

#net_payFinchAPI::Models::Money?

Returns:



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

required :net_pay, -> { FinchAPI::Money }, nil?: true

#pay_dateString?

Returns:

  • (String, nil)


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

required :pay_date, String, nil?: true

#pay_frequenciesArray<Symbol, FinchAPI::Models::HRIS::Payment::PayFrequency>?

List of pay frequencies associated with this payment.

Returns:



59
60
61
# File 'lib/finch_api/models/hris/payment.rb', line 59

required :pay_frequencies,
-> { FinchAPI::Internal::Type::ArrayOf[enum: FinchAPI::HRIS::Payment::PayFrequency] },
nil?: true

#pay_group_idsArray<String>?

Array of the Finch id (uuidv4) of every pay group associated with this payment.

Returns:

  • (Array<String>, nil)


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

required :pay_group_ids, FinchAPI::Internal::Type::ArrayOf[String], nil?: true

#pay_periodFinchAPI::Models::HRIS::Payment::PayPeriod?

The pay period object.



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

required :pay_period, -> { FinchAPI::HRIS::Payment::PayPeriod }, nil?: true

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


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