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_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

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

Instance Attribute Details

#company_debitFinchAPI::Money?

Returns:



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

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

#debit_dateString?

Returns:

  • (String, nil)


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

optional :debit_date, String, nil?: true

#employee_taxesFinchAPI::Money?

Returns:



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

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

#employer_taxesFinchAPI::Money?

Returns:



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

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

#gross_payFinchAPI::Money?

Returns:



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

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

#idString?

The unique id for the payment.

Returns:

  • (String, nil)


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

optional :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

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

#net_payFinchAPI::Money?

Returns:



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

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

#pay_dateString?

Returns:

  • (String, nil)


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

optional :pay_date, String, nil?: true

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

List of pay frequencies associated with this payment.

Returns:

  • (Array<Symbol, FinchAPI::HRIS::Payment::PayFrequency>, nil)


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

optional :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

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

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

The pay period object.

Returns:

  • (FinchAPI::HRIS::Payment::PayPeriod, nil)


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

optional :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