Class: FinchAPI::Models::Payroll::PayGroupListResponse

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

Defined Under Namespace

Modules: PayFrequency

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id: nil, name: nil, pay_frequencies: nil) ⇒ PayGroupListResponse

Returns a new instance of PayGroupListResponse.

Parameters:



5
# File 'lib/finch-api/models/payroll/pay_group_list_response.rb', line 5

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

Instance Attribute Details

#idString?

Finch id (uuidv4) for the pay group

Returns:

  • (String, nil)


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

optional :id, String

#nameString?

Name of the pay group

Returns:

  • (String, nil)


21
# File 'lib/finch-api/models/payroll/pay_group_list_response.rb', line 21

optional :name, String

#pay_frequenciesArray<Symbol, FinchAPI::Models::Payroll::PayGroupListResponse::PayFrequency>?

List of pay frequencies associated with this pay group



31
32
# File 'lib/finch-api/models/payroll/pay_group_list_response.rb', line 31

optional :pay_frequencies,
-> { FinchAPI::ArrayOf[enum: FinchAPI::Models::Payroll::PayGroupListResponse::PayFrequency] }