Class: FinchAPI::Models::Payroll::PayGroupRetrieveResponse

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/finch-api/models/payroll/pay_group_retrieve_response.rb

Defined Under Namespace

Modules: PayFrequency

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id:, individual_ids:, name:, pay_frequencies:) ⇒ PayGroupRetrieveResponse

Returns a new instance of PayGroupRetrieveResponse.

Parameters:



6
# File 'lib/finch-api/models/payroll/pay_group_retrieve_response.rb', line 6

def initialize(id:, individual_ids:, name:, pay_frequencies:, **) = super

Instance Attribute Details

#idString

Finch id (uuidv4) for the pay group

Returns:

  • (String)


11
# File 'lib/finch-api/models/payroll/pay_group_retrieve_response.rb', line 11

required :id, String

#individual_idsArray<String>

Returns:

  • (Array<String>)


16
# File 'lib/finch-api/models/payroll/pay_group_retrieve_response.rb', line 16

required :individual_ids, FinchAPI::ArrayOf[String]

#nameString

Name of the pay group

Returns:

  • (String)


22
# File 'lib/finch-api/models/payroll/pay_group_retrieve_response.rb', line 22

required :name, String

#pay_frequenciesArray<Symbol, FinchAPI::Models::Payroll::PayGroupRetrieveResponse::PayFrequency>

List of pay frequencies associated with this pay group



28
29
# File 'lib/finch-api/models/payroll/pay_group_retrieve_response.rb', line 28

required :pay_frequencies,
-> { FinchAPI::ArrayOf[enum: FinchAPI::Models::Payroll::PayGroupRetrieveResponse::PayFrequency] }