finch-api 0.1.0.pre.alpha.29 → 0.1.0.pre.alpha.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (211) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +49 -0
  3. data/README.md +1 -1
  4. data/lib/finch_api/errors.rb +25 -11
  5. data/lib/finch_api/file_part.rb +10 -7
  6. data/lib/finch_api/internal/individuals_page.rb +1 -1
  7. data/lib/finch_api/internal/page.rb +1 -1
  8. data/lib/finch_api/internal/responses_page.rb +1 -1
  9. data/lib/finch_api/internal/single_page.rb +1 -1
  10. data/lib/finch_api/internal/transport/base_client.rb +11 -7
  11. data/lib/finch_api/internal/transport/pooled_net_requester.rb +34 -31
  12. data/lib/finch_api/internal/type/base_page.rb +1 -1
  13. data/lib/finch_api/internal/type/file_input.rb +7 -4
  14. data/lib/finch_api/internal/util.rb +8 -7
  15. data/lib/finch_api/models/access_token_create_params.rb +13 -13
  16. data/lib/finch_api/models/connect/session_new_params.rb +66 -50
  17. data/lib/finch_api/models/connect/session_reauthenticate_params.rb +10 -10
  18. data/lib/finch_api/models/create_access_token_response.rb +9 -1
  19. data/lib/finch_api/models/hris/benefit_contribution.rb +124 -29
  20. data/lib/finch_api/models/hris/benefit_create_params.rb +9 -1
  21. data/lib/finch_api/models/hris/benefit_list_params.rb +9 -1
  22. data/lib/finch_api/models/hris/benefit_list_supported_benefits_params.rb +9 -1
  23. data/lib/finch_api/models/hris/benefit_retrieve_params.rb +9 -1
  24. data/lib/finch_api/models/hris/benefit_update_params.rb +9 -1
  25. data/lib/finch_api/models/hris/benefits/individual_benefit.rb +222 -6
  26. data/lib/finch_api/models/hris/benefits/individual_enroll_many_params.rb +40 -2
  27. data/lib/finch_api/models/hris/benefits/individual_enrolled_ids_params.rb +9 -1
  28. data/lib/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rb +9 -1
  29. data/lib/finch_api/models/hris/benefits/individual_unenroll_many_params.rb +9 -1
  30. data/lib/finch_api/models/hris/company/pay_statement_item/rule_create_params.rb +9 -1
  31. data/lib/finch_api/models/hris/company/pay_statement_item/rule_delete_params.rb +9 -1
  32. data/lib/finch_api/models/hris/company/pay_statement_item/rule_list_params.rb +9 -1
  33. data/lib/finch_api/models/hris/company/pay_statement_item/rule_update_params.rb +10 -1
  34. data/lib/finch_api/models/hris/company/pay_statement_item_list_params.rb +9 -1
  35. data/lib/finch_api/models/hris/company_retrieve_params.rb +9 -1
  36. data/lib/finch_api/models/hris/directory_list_individuals_params.rb +9 -1
  37. data/lib/finch_api/models/hris/directory_list_params.rb +9 -1
  38. data/lib/finch_api/models/hris/document_list_params.rb +9 -1
  39. data/lib/finch_api/models/hris/document_response.rb +11 -11
  40. data/lib/finch_api/models/hris/document_retreive_params.rb +9 -1
  41. data/lib/finch_api/models/hris/employment_retrieve_many_params.rb +9 -1
  42. data/lib/finch_api/models/hris/individual_retrieve_many_params.rb +11 -1
  43. data/lib/finch_api/models/hris/pay_statement.rb +53 -103
  44. data/lib/finch_api/models/hris/pay_statement_retrieve_many_params.rb +9 -1
  45. data/lib/finch_api/models/hris/payment_list_params.rb +9 -1
  46. data/lib/finch_api/models/hris/supported_benefit.rb +1 -0
  47. data/lib/finch_api/models/hris/w42005.rb +20 -20
  48. data/lib/finch_api/models/hris/w42020.rb +30 -30
  49. data/lib/finch_api/models/introspection.rb +38 -23
  50. data/lib/finch_api/models/jobs/automated_list_params.rb +1 -14
  51. data/lib/finch_api/models/jobs/automated_retrieve_params.rb +1 -14
  52. data/lib/finch_api/models/jobs/manual_retrieve_params.rb +1 -14
  53. data/lib/finch_api/models/payroll/pay_group_list_params.rb +11 -1
  54. data/lib/finch_api/models/payroll/pay_group_retrieve_params.rb +9 -1
  55. data/lib/finch_api/models/provider.rb +42 -1092
  56. data/lib/finch_api/models/provider_list_response.rb +143 -0
  57. data/lib/finch_api/models/request_forwarding_forward_params.rb +10 -6
  58. data/lib/finch_api/models/request_forwarding_forward_response.rb +69 -48
  59. data/lib/finch_api/resources/access_tokens.rb +3 -3
  60. data/lib/finch_api/resources/connect/sessions.rb +12 -12
  61. data/lib/finch_api/resources/hris/benefits/individuals.rb +24 -10
  62. data/lib/finch_api/resources/hris/benefits.rb +37 -16
  63. data/lib/finch_api/resources/hris/company/pay_statement_item/rules.rb +38 -15
  64. data/lib/finch_api/resources/hris/company/pay_statement_item.rb +3 -1
  65. data/lib/finch_api/resources/hris/company.rb +6 -2
  66. data/lib/finch_api/resources/hris/directory.rb +3 -1
  67. data/lib/finch_api/resources/hris/documents.rb +9 -3
  68. data/lib/finch_api/resources/hris/employments.rb +7 -3
  69. data/lib/finch_api/resources/hris/individuals.rb +10 -4
  70. data/lib/finch_api/resources/hris/pay_statements.rb +7 -3
  71. data/lib/finch_api/resources/hris/payments.rb +3 -1
  72. data/lib/finch_api/resources/jobs/automated.rb +3 -16
  73. data/lib/finch_api/resources/jobs/manual.rb +2 -10
  74. data/lib/finch_api/resources/payroll/pay_groups.rb +12 -3
  75. data/lib/finch_api/resources/providers.rb +2 -2
  76. data/lib/finch_api/resources/request_forwarding.rb +2 -2
  77. data/lib/finch_api/version.rb +1 -1
  78. data/lib/finch_api.rb +1 -0
  79. data/rbi/finch_api/errors.rbi +29 -2
  80. data/rbi/finch_api/file_part.rbi +1 -1
  81. data/rbi/finch_api/internal/transport/base_client.rbi +4 -5
  82. data/rbi/finch_api/internal/type/base_page.rbi +1 -1
  83. data/rbi/finch_api/internal/util.rbi +1 -1
  84. data/rbi/finch_api/models/access_token_create_params.rbi +19 -13
  85. data/rbi/finch_api/models/connect/session_new_params.rbi +124 -98
  86. data/rbi/finch_api/models/connect/session_reauthenticate_params.rbi +23 -23
  87. data/rbi/finch_api/models/create_access_token_response.rbi +8 -0
  88. data/rbi/finch_api/models/hris/benefit_contribution.rbi +270 -52
  89. data/rbi/finch_api/models/hris/benefit_create_params.rbi +11 -0
  90. data/rbi/finch_api/models/hris/benefit_list_params.rbi +24 -5
  91. data/rbi/finch_api/models/hris/benefit_list_supported_benefits_params.rbi +24 -5
  92. data/rbi/finch_api/models/hris/benefit_retrieve_params.rbi +24 -5
  93. data/rbi/finch_api/models/hris/benefit_update_params.rbi +15 -1
  94. data/rbi/finch_api/models/hris/benefits/individual_benefit.rbi +515 -20
  95. data/rbi/finch_api/models/hris/benefits/individual_enroll_many_params.rbi +87 -0
  96. data/rbi/finch_api/models/hris/benefits/individual_enrolled_ids_params.rbi +22 -5
  97. data/rbi/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rbi +11 -0
  98. data/rbi/finch_api/models/hris/benefits/individual_unenroll_many_params.rbi +11 -0
  99. data/rbi/finch_api/models/hris/company/pay_statement_item/rule_create_params.rbi +11 -0
  100. data/rbi/finch_api/models/hris/company/pay_statement_item/rule_delete_params.rbi +22 -5
  101. data/rbi/finch_api/models/hris/company/pay_statement_item/rule_list_params.rbi +22 -5
  102. data/rbi/finch_api/models/hris/company/pay_statement_item/rule_update_params.rbi +15 -1
  103. data/rbi/finch_api/models/hris/company/pay_statement_item_list_params.rbi +11 -0
  104. data/rbi/finch_api/models/hris/company_retrieve_params.rbi +24 -5
  105. data/rbi/finch_api/models/hris/directory_list_individuals_params.rbi +11 -0
  106. data/rbi/finch_api/models/hris/directory_list_params.rbi +11 -0
  107. data/rbi/finch_api/models/hris/document_list_params.rbi +11 -0
  108. data/rbi/finch_api/models/hris/document_response.rbi +14 -29
  109. data/rbi/finch_api/models/hris/document_retreive_params.rbi +24 -5
  110. data/rbi/finch_api/models/hris/employment_retrieve_many_params.rbi +11 -0
  111. data/rbi/finch_api/models/hris/individual_retrieve_many_params.rbi +16 -1
  112. data/rbi/finch_api/models/hris/pay_statement.rbi +69 -272
  113. data/rbi/finch_api/models/hris/pay_statement_retrieve_many_params.rbi +11 -0
  114. data/rbi/finch_api/models/hris/payment_list_params.rbi +11 -0
  115. data/rbi/finch_api/models/hris/supported_benefit.rbi +5 -0
  116. data/rbi/finch_api/models/hris/w42005.rbi +28 -38
  117. data/rbi/finch_api/models/hris/w42020.rbi +37 -43
  118. data/rbi/finch_api/models/introspection.rbi +57 -33
  119. data/rbi/finch_api/models/jobs/automated_list_params.rbi +0 -15
  120. data/rbi/finch_api/models/jobs/automated_retrieve_params.rbi +5 -25
  121. data/rbi/finch_api/models/jobs/manual_retrieve_params.rbi +5 -25
  122. data/rbi/finch_api/models/payroll/pay_group_list_params.rbi +11 -0
  123. data/rbi/finch_api/models/payroll/pay_group_retrieve_params.rbi +24 -5
  124. data/rbi/finch_api/models/provider.rbi +75 -2507
  125. data/rbi/finch_api/models/provider_list_response.rbi +280 -0
  126. data/rbi/finch_api/models/request_forwarding_forward_params.rbi +6 -6
  127. data/rbi/finch_api/models/request_forwarding_forward_response.rbi +93 -60
  128. data/rbi/finch_api/resources/access_tokens.rbi +5 -5
  129. data/rbi/finch_api/resources/connect/sessions.rbi +22 -14
  130. data/rbi/finch_api/resources/hris/benefits/individuals.rbi +20 -3
  131. data/rbi/finch_api/resources/hris/benefits.rbi +39 -12
  132. data/rbi/finch_api/resources/hris/company/pay_statement_item/rules.rbi +35 -8
  133. data/rbi/finch_api/resources/hris/company/pay_statement_item.rbi +3 -0
  134. data/rbi/finch_api/resources/hris/company.rbi +9 -4
  135. data/rbi/finch_api/resources/hris/directory.rbi +3 -0
  136. data/rbi/finch_api/resources/hris/documents.rbi +6 -0
  137. data/rbi/finch_api/resources/hris/employments.rbi +4 -1
  138. data/rbi/finch_api/resources/hris/individuals.rbi +10 -1
  139. data/rbi/finch_api/resources/hris/pay_statements.rbi +4 -1
  140. data/rbi/finch_api/resources/hris/payments.rbi +3 -0
  141. data/rbi/finch_api/resources/jobs/automated.rbi +1 -14
  142. data/rbi/finch_api/resources/jobs/manual.rbi +1 -9
  143. data/rbi/finch_api/resources/payroll/pay_groups.rbi +15 -2
  144. data/rbi/finch_api/resources/providers.rbi +1 -1
  145. data/rbi/finch_api/resources/request_forwarding.rbi +2 -2
  146. data/sig/finch_api/errors.rbs +7 -0
  147. data/sig/finch_api/file_part.rbs +1 -1
  148. data/sig/finch_api/models/access_token_create_params.rbs +11 -7
  149. data/sig/finch_api/models/connect/session_new_params.rbs +45 -45
  150. data/sig/finch_api/models/connect/session_reauthenticate_params.rbs +15 -15
  151. data/sig/finch_api/models/create_access_token_response.rbs +5 -0
  152. data/sig/finch_api/models/hris/benefit_contribution.rbs +107 -21
  153. data/sig/finch_api/models/hris/benefit_create_params.rbs +7 -0
  154. data/sig/finch_api/models/hris/benefit_list_params.rbs +14 -3
  155. data/sig/finch_api/models/hris/benefit_list_supported_benefits_params.rbs +14 -3
  156. data/sig/finch_api/models/hris/benefit_retrieve_params.rbs +14 -3
  157. data/sig/finch_api/models/hris/benefit_update_params.rbs +8 -1
  158. data/sig/finch_api/models/hris/benefits/individual_benefit.rbs +201 -8
  159. data/sig/finch_api/models/hris/benefits/individual_enroll_many_params.rbs +30 -1
  160. data/sig/finch_api/models/hris/benefits/individual_enrolled_ids_params.rbs +14 -3
  161. data/sig/finch_api/models/hris/benefits/individual_retrieve_many_benefits_params.rbs +7 -1
  162. data/sig/finch_api/models/hris/benefits/individual_unenroll_many_params.rbs +7 -1
  163. data/sig/finch_api/models/hris/benfit_contribution.rbs +1 -1
  164. data/sig/finch_api/models/hris/company/pay_statement_item/rule_create_params.rbs +7 -0
  165. data/sig/finch_api/models/hris/company/pay_statement_item/rule_delete_params.rbs +14 -3
  166. data/sig/finch_api/models/hris/company/pay_statement_item/rule_list_params.rbs +14 -3
  167. data/sig/finch_api/models/hris/company/pay_statement_item/rule_update_params.rbs +7 -1
  168. data/sig/finch_api/models/hris/company/pay_statement_item_list_params.rbs +7 -0
  169. data/sig/finch_api/models/hris/company_retrieve_params.rbs +14 -3
  170. data/sig/finch_api/models/hris/directory_list_individuals_params.rbs +7 -1
  171. data/sig/finch_api/models/hris/directory_list_params.rbs +7 -1
  172. data/sig/finch_api/models/hris/document_list_params.rbs +7 -0
  173. data/sig/finch_api/models/hris/document_response.rbs +11 -19
  174. data/sig/finch_api/models/hris/document_retreive_params.rbs +14 -3
  175. data/sig/finch_api/models/hris/employment_retrieve_many_params.rbs +8 -1
  176. data/sig/finch_api/models/hris/individual_retrieve_many_params.rbs +7 -0
  177. data/sig/finch_api/models/hris/pay_statement.rbs +28 -96
  178. data/sig/finch_api/models/hris/pay_statement_retrieve_many_params.rbs +8 -1
  179. data/sig/finch_api/models/hris/payment_list_params.rbs +7 -1
  180. data/sig/finch_api/models/hris/supported_benefit.rbs +2 -1
  181. data/sig/finch_api/models/hris/w42005.rbs +23 -37
  182. data/sig/finch_api/models/hris/w42020.rbs +35 -45
  183. data/sig/finch_api/models/introspection.rbs +29 -20
  184. data/sig/finch_api/models/jobs/automated_list_params.rbs +1 -7
  185. data/sig/finch_api/models/jobs/automated_retrieve_params.rbs +3 -13
  186. data/sig/finch_api/models/jobs/manual_retrieve_params.rbs +3 -13
  187. data/sig/finch_api/models/payroll/pay_group_list_params.rbs +11 -1
  188. data/sig/finch_api/models/payroll/pay_group_retrieve_params.rbs +14 -3
  189. data/sig/finch_api/models/provider.rbs +31 -1366
  190. data/sig/finch_api/models/provider_list_response.rbs +128 -0
  191. data/sig/finch_api/models/request_forwarding_forward_params.rbs +8 -8
  192. data/sig/finch_api/models/request_forwarding_forward_response.rbs +40 -30
  193. data/sig/finch_api/resources/access_tokens.rbs +2 -2
  194. data/sig/finch_api/resources/connect/sessions.rbs +9 -9
  195. data/sig/finch_api/resources/hris/benefits/individuals.rbs +4 -0
  196. data/sig/finch_api/resources/hris/benefits.rbs +5 -0
  197. data/sig/finch_api/resources/hris/company/pay_statement_item/rules.rbs +4 -0
  198. data/sig/finch_api/resources/hris/company/pay_statement_item.rbs +1 -0
  199. data/sig/finch_api/resources/hris/company.rbs +1 -0
  200. data/sig/finch_api/resources/hris/directory.rbs +1 -0
  201. data/sig/finch_api/resources/hris/documents.rbs +2 -0
  202. data/sig/finch_api/resources/hris/employments.rbs +1 -0
  203. data/sig/finch_api/resources/hris/individuals.rbs +1 -0
  204. data/sig/finch_api/resources/hris/pay_statements.rbs +1 -0
  205. data/sig/finch_api/resources/hris/payments.rbs +1 -0
  206. data/sig/finch_api/resources/jobs/automated.rbs +0 -2
  207. data/sig/finch_api/resources/jobs/manual.rbs +0 -1
  208. data/sig/finch_api/resources/payroll/pay_groups.rbs +2 -0
  209. data/sig/finch_api/resources/providers.rbs +1 -1
  210. data/sig/finch_api/resources/request_forwarding.rbs +2 -2
  211. metadata +5 -2
@@ -7,36 +7,36 @@ module FinchAPI
7
7
  # @!attribute id
8
8
  # A stable Finch id for the document.
9
9
  #
10
- # @return [String, nil]
11
- optional :id, String
10
+ # @return [String]
11
+ required :id, String
12
12
 
13
13
  # @!attribute individual_id
14
14
  # The ID of the individual associated with the document. This will be null for
15
15
  # employer-level documents.
16
16
  #
17
17
  # @return [String, nil]
18
- optional :individual_id, String, nil?: true
18
+ required :individual_id, String, nil?: true
19
19
 
20
20
  # @!attribute type
21
21
  # The type of document.
22
22
  #
23
- # @return [Symbol, FinchAPI::Models::HRIS::DocumentResponse::Type, nil]
24
- optional :type, enum: -> { FinchAPI::HRIS::DocumentResponse::Type }
23
+ # @return [Symbol, FinchAPI::Models::HRIS::DocumentResponse::Type]
24
+ required :type, enum: -> { FinchAPI::HRIS::DocumentResponse::Type }
25
25
 
26
26
  # @!attribute url
27
27
  # A URL to access the document. Format:
28
28
  # `https://api.tryfinch.com/employer/documents/:document_id`.
29
29
  #
30
- # @return [String, nil]
31
- optional :url, String
30
+ # @return [String]
31
+ required :url, String
32
32
 
33
33
  # @!attribute year
34
34
  # The year the document applies to, if available.
35
35
  #
36
- # @return [Float, nil]
37
- optional :year, Float, nil?: true
36
+ # @return [Float]
37
+ required :year, Float
38
38
 
39
- # @!method initialize(id: nil, individual_id: nil, type: nil, url: nil, year: nil)
39
+ # @!method initialize(id:, individual_id:, type:, url:, year:)
40
40
  # Some parameter documentations has been truncated, see
41
41
  # {FinchAPI::Models::HRIS::DocumentResponse} for more details.
42
42
  #
@@ -48,7 +48,7 @@ module FinchAPI
48
48
  #
49
49
  # @param url [String] A URL to access the document. Format: `https://api.tryfinch.com/employer/documen
50
50
  #
51
- # @param year [Float, nil] The year the document applies to, if available.
51
+ # @param year [Float] The year the document applies to, if available.
52
52
 
53
53
  # The type of document.
54
54
  #
@@ -8,7 +8,15 @@ module FinchAPI
8
8
  extend FinchAPI::Internal::Type::RequestParameters::Converter
9
9
  include FinchAPI::Internal::Type::RequestParameters
10
10
 
11
- # @!method initialize(request_options: {})
11
+ # @!attribute entity_ids
12
+ # The entity IDs to specify which entities' data to access.
13
+ #
14
+ # @return [Array<String>, nil]
15
+ optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
16
+
17
+ # @!method initialize(entity_ids: nil, request_options: {})
18
+ # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
19
+ #
12
20
  # @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
13
21
  end
14
22
  end
@@ -15,9 +15,17 @@ module FinchAPI
15
15
  required :requests,
16
16
  -> { FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::EmploymentRetrieveManyParams::Request] }
17
17
 
18
- # @!method initialize(requests:, request_options: {})
18
+ # @!attribute entity_ids
19
+ # The entity IDs to specify which entities' data to access.
20
+ #
21
+ # @return [Array<String>, nil]
22
+ optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
23
+
24
+ # @!method initialize(requests:, entity_ids: nil, request_options: {})
19
25
  # @param requests [Array<FinchAPI::Models::HRIS::EmploymentRetrieveManyParams::Request>] The array of batch requests.
20
26
  #
27
+ # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
28
+ #
21
29
  # @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
22
30
 
23
31
  class Request < FinchAPI::Internal::Type::BaseModel
@@ -8,6 +8,12 @@ module FinchAPI
8
8
  extend FinchAPI::Internal::Type::RequestParameters::Converter
9
9
  include FinchAPI::Internal::Type::RequestParameters
10
10
 
11
+ # @!attribute entity_ids
12
+ # The entity IDs to specify which entities' data to access.
13
+ #
14
+ # @return [Array<String>, nil]
15
+ optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
16
+
11
17
  # @!attribute options
12
18
  #
13
19
  # @return [FinchAPI::Models::HRIS::IndividualRetrieveManyParams::Options, nil]
@@ -19,9 +25,13 @@ module FinchAPI
19
25
  optional :requests,
20
26
  -> { FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::IndividualRetrieveManyParams::Request] }
21
27
 
22
- # @!method initialize(options: nil, requests: nil, request_options: {})
28
+ # @!method initialize(entity_ids: nil, options: nil, requests: nil, request_options: {})
29
+ # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
30
+ #
23
31
  # @param options [FinchAPI::Models::HRIS::IndividualRetrieveManyParams::Options, nil]
32
+ #
24
33
  # @param requests [Array<FinchAPI::Models::HRIS::IndividualRetrieveManyParams::Request>]
34
+ #
25
35
  # @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
26
36
 
27
37
  class Options < FinchAPI::Internal::Type::BaseModel
@@ -15,22 +15,16 @@ module FinchAPI
15
15
  # @!attribute employee_deductions
16
16
  # The array of deductions objects associated with this pay statement.
17
17
  #
18
- # @return [Array<FinchAPI::Models::HRIS::PayStatement::EmployeeDeduction, nil>, nil]
18
+ # @return [Array<FinchAPI::Models::HRIS::PayStatement::EmployeeDeduction>, nil]
19
19
  required :employee_deductions,
20
- -> {
21
- FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::PayStatement::EmployeeDeduction,
22
- nil?: true]
23
- },
20
+ -> { FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::PayStatement::EmployeeDeduction] },
24
21
  nil?: true
25
22
 
26
23
  # @!attribute employer_contributions
27
24
  #
28
- # @return [Array<FinchAPI::Models::HRIS::PayStatement::EmployerContribution, nil>, nil]
25
+ # @return [Array<FinchAPI::Models::HRIS::PayStatement::EmployerContribution>, nil]
29
26
  required :employer_contributions,
30
- -> {
31
- FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::PayStatement::EmployerContribution,
32
- nil?: true]
33
- },
27
+ -> { FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::PayStatement::EmployerContribution] },
34
28
  nil?: true
35
29
 
36
30
  # @!attribute gross_pay
@@ -58,9 +52,11 @@ module FinchAPI
58
52
  # @!attribute taxes
59
53
  # The array of taxes objects associated with this pay statement.
60
54
  #
61
- # @return [Array<FinchAPI::Models::HRIS::PayStatement::Tax, nil>, nil]
55
+ # @return [Array<FinchAPI::Models::HRIS::PayStatement::Tax>, nil]
62
56
  required :taxes,
63
- -> { FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::PayStatement::Tax, nil?: true] },
57
+ -> {
58
+ FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::PayStatement::Tax]
59
+ },
64
60
  nil?: true
65
61
 
66
62
  # @!attribute total_hours
@@ -78,9 +74,9 @@ module FinchAPI
78
74
  # @!method initialize(earnings:, employee_deductions:, employer_contributions:, gross_pay:, individual_id:, net_pay:, payment_method:, taxes:, total_hours:, type:)
79
75
  # @param earnings [Array<FinchAPI::Models::HRIS::PayStatement::Earning, nil>, nil] The array of earnings objects associated with this pay statement
80
76
  #
81
- # @param employee_deductions [Array<FinchAPI::Models::HRIS::PayStatement::EmployeeDeduction, nil>, nil] The array of deductions objects associated with this pay statement.
77
+ # @param employee_deductions [Array<FinchAPI::Models::HRIS::PayStatement::EmployeeDeduction>, nil] The array of deductions objects associated with this pay statement.
82
78
  #
83
- # @param employer_contributions [Array<FinchAPI::Models::HRIS::PayStatement::EmployerContribution, nil>, nil]
79
+ # @param employer_contributions [Array<FinchAPI::Models::HRIS::PayStatement::EmployerContribution>, nil]
84
80
  #
85
81
  # @param gross_pay [FinchAPI::Models::Money, nil]
86
82
  #
@@ -90,7 +86,7 @@ module FinchAPI
90
86
  #
91
87
  # @param payment_method [Symbol, FinchAPI::Models::HRIS::PayStatement::PaymentMethod, nil] The payment method.
92
88
  #
93
- # @param taxes [Array<FinchAPI::Models::HRIS::PayStatement::Tax, nil>, nil] The array of taxes objects associated with this pay statement.
89
+ # @param taxes [Array<FinchAPI::Models::HRIS::PayStatement::Tax>, nil] The array of taxes objects associated with this pay statement.
94
90
  #
95
91
  # @param total_hours [Float, nil] The number of hours worked for this pay period
96
92
  #
@@ -176,31 +172,19 @@ module FinchAPI
176
172
  # @see FinchAPI::Models::HRIS::PayStatement::Earning#attributes
177
173
  class Attributes < FinchAPI::Internal::Type::BaseModel
178
174
  # @!attribute metadata
175
+ # The metadata to be attached to the entity by existing rules. It is a key-value
176
+ # pairs where the values can be of any type (string, number, boolean, object,
177
+ # array, etc.).
179
178
  #
180
- # @return [FinchAPI::Models::HRIS::PayStatement::Earning::Attributes::Metadata]
181
- required :metadata, -> { FinchAPI::HRIS::PayStatement::Earning::Attributes::Metadata }
179
+ # @return [Hash{Symbol=>Object, nil}]
180
+ required :metadata,
181
+ FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown, nil?: true]
182
182
 
183
183
  # @!method initialize(metadata:)
184
- # @param metadata [FinchAPI::Models::HRIS::PayStatement::Earning::Attributes::Metadata]
185
-
186
- # @see FinchAPI::Models::HRIS::PayStatement::Earning::Attributes#metadata
187
- class Metadata < FinchAPI::Internal::Type::BaseModel
188
- # @!attribute metadata
189
- # The metadata to be attached to the entity by existing rules. It is a key-value
190
- # pairs where the values can be of any type (string, number, boolean, object,
191
- # array, etc.).
192
- #
193
- # @return [Hash{Symbol=>Object, nil}]
194
- required :metadata,
195
- FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown, nil?: true]
196
-
197
- # @!method initialize(metadata:)
198
- # Some parameter documentations has been truncated, see
199
- # {FinchAPI::Models::HRIS::PayStatement::Earning::Attributes::Metadata} for more
200
- # details.
201
- #
202
- # @param metadata [Hash{Symbol=>Object, nil}] The metadata to be attached to the entity by existing rules. It is a key-value p
203
- end
184
+ # Some parameter documentations has been truncated, see
185
+ # {FinchAPI::Models::HRIS::PayStatement::Earning::Attributes} for more details.
186
+ #
187
+ # @param metadata [Hash{Symbol=>Object, nil}] The metadata to be attached to the entity by existing rules. It is a key-value p
204
188
  end
205
189
  end
206
190
 
@@ -256,31 +240,20 @@ module FinchAPI
256
240
  # @see FinchAPI::Models::HRIS::PayStatement::EmployeeDeduction#attributes
257
241
  class Attributes < FinchAPI::Internal::Type::BaseModel
258
242
  # @!attribute metadata
243
+ # The metadata to be attached to the entity by existing rules. It is a key-value
244
+ # pairs where the values can be of any type (string, number, boolean, object,
245
+ # array, etc.).
259
246
  #
260
- # @return [FinchAPI::Models::HRIS::PayStatement::EmployeeDeduction::Attributes::Metadata]
261
- required :metadata, -> { FinchAPI::HRIS::PayStatement::EmployeeDeduction::Attributes::Metadata }
247
+ # @return [Hash{Symbol=>Object, nil}]
248
+ required :metadata,
249
+ FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown, nil?: true]
262
250
 
263
251
  # @!method initialize(metadata:)
264
- # @param metadata [FinchAPI::Models::HRIS::PayStatement::EmployeeDeduction::Attributes::Metadata]
265
-
266
- # @see FinchAPI::Models::HRIS::PayStatement::EmployeeDeduction::Attributes#metadata
267
- class Metadata < FinchAPI::Internal::Type::BaseModel
268
- # @!attribute metadata
269
- # The metadata to be attached to the entity by existing rules. It is a key-value
270
- # pairs where the values can be of any type (string, number, boolean, object,
271
- # array, etc.).
272
- #
273
- # @return [Hash{Symbol=>Object, nil}]
274
- required :metadata,
275
- FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown, nil?: true]
276
-
277
- # @!method initialize(metadata:)
278
- # Some parameter documentations has been truncated, see
279
- # {FinchAPI::Models::HRIS::PayStatement::EmployeeDeduction::Attributes::Metadata}
280
- # for more details.
281
- #
282
- # @param metadata [Hash{Symbol=>Object, nil}] The metadata to be attached to the entity by existing rules. It is a key-value p
283
- end
252
+ # Some parameter documentations has been truncated, see
253
+ # {FinchAPI::Models::HRIS::PayStatement::EmployeeDeduction::Attributes} for more
254
+ # details.
255
+ #
256
+ # @param metadata [Hash{Symbol=>Object, nil}] The metadata to be attached to the entity by existing rules. It is a key-value p
284
257
  end
285
258
  end
286
259
 
@@ -332,31 +305,20 @@ module FinchAPI
332
305
  # @see FinchAPI::Models::HRIS::PayStatement::EmployerContribution#attributes
333
306
  class Attributes < FinchAPI::Internal::Type::BaseModel
334
307
  # @!attribute metadata
308
+ # The metadata to be attached to the entity by existing rules. It is a key-value
309
+ # pairs where the values can be of any type (string, number, boolean, object,
310
+ # array, etc.).
335
311
  #
336
- # @return [FinchAPI::Models::HRIS::PayStatement::EmployerContribution::Attributes::Metadata]
337
- required :metadata, -> { FinchAPI::HRIS::PayStatement::EmployerContribution::Attributes::Metadata }
312
+ # @return [Hash{Symbol=>Object, nil}]
313
+ required :metadata,
314
+ FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown, nil?: true]
338
315
 
339
316
  # @!method initialize(metadata:)
340
- # @param metadata [FinchAPI::Models::HRIS::PayStatement::EmployerContribution::Attributes::Metadata]
341
-
342
- # @see FinchAPI::Models::HRIS::PayStatement::EmployerContribution::Attributes#metadata
343
- class Metadata < FinchAPI::Internal::Type::BaseModel
344
- # @!attribute metadata
345
- # The metadata to be attached to the entity by existing rules. It is a key-value
346
- # pairs where the values can be of any type (string, number, boolean, object,
347
- # array, etc.).
348
- #
349
- # @return [Hash{Symbol=>Object, nil}]
350
- required :metadata,
351
- FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown, nil?: true]
352
-
353
- # @!method initialize(metadata:)
354
- # Some parameter documentations has been truncated, see
355
- # {FinchAPI::Models::HRIS::PayStatement::EmployerContribution::Attributes::Metadata}
356
- # for more details.
357
- #
358
- # @param metadata [Hash{Symbol=>Object, nil}] The metadata to be attached to the entity by existing rules. It is a key-value p
359
- end
317
+ # Some parameter documentations has been truncated, see
318
+ # {FinchAPI::Models::HRIS::PayStatement::EmployerContribution::Attributes} for
319
+ # more details.
320
+ #
321
+ # @param metadata [Hash{Symbol=>Object, nil}] The metadata to be attached to the entity by existing rules. It is a key-value p
360
322
  end
361
323
  end
362
324
 
@@ -441,31 +403,19 @@ module FinchAPI
441
403
  # @see FinchAPI::Models::HRIS::PayStatement::Tax#attributes
442
404
  class Attributes < FinchAPI::Internal::Type::BaseModel
443
405
  # @!attribute metadata
406
+ # The metadata to be attached to the entity by existing rules. It is a key-value
407
+ # pairs where the values can be of any type (string, number, boolean, object,
408
+ # array, etc.).
444
409
  #
445
- # @return [FinchAPI::Models::HRIS::PayStatement::Tax::Attributes::Metadata]
446
- required :metadata, -> { FinchAPI::HRIS::PayStatement::Tax::Attributes::Metadata }
410
+ # @return [Hash{Symbol=>Object, nil}]
411
+ required :metadata,
412
+ FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown, nil?: true]
447
413
 
448
414
  # @!method initialize(metadata:)
449
- # @param metadata [FinchAPI::Models::HRIS::PayStatement::Tax::Attributes::Metadata]
450
-
451
- # @see FinchAPI::Models::HRIS::PayStatement::Tax::Attributes#metadata
452
- class Metadata < FinchAPI::Internal::Type::BaseModel
453
- # @!attribute metadata
454
- # The metadata to be attached to the entity by existing rules. It is a key-value
455
- # pairs where the values can be of any type (string, number, boolean, object,
456
- # array, etc.).
457
- #
458
- # @return [Hash{Symbol=>Object, nil}]
459
- required :metadata,
460
- FinchAPI::Internal::Type::HashOf[FinchAPI::Internal::Type::Unknown, nil?: true]
461
-
462
- # @!method initialize(metadata:)
463
- # Some parameter documentations has been truncated, see
464
- # {FinchAPI::Models::HRIS::PayStatement::Tax::Attributes::Metadata} for more
465
- # details.
466
- #
467
- # @param metadata [Hash{Symbol=>Object, nil}] The metadata to be attached to the entity by existing rules. It is a key-value p
468
- end
415
+ # Some parameter documentations has been truncated, see
416
+ # {FinchAPI::Models::HRIS::PayStatement::Tax::Attributes} for more details.
417
+ #
418
+ # @param metadata [Hash{Symbol=>Object, nil}] The metadata to be attached to the entity by existing rules. It is a key-value p
469
419
  end
470
420
  end
471
421
 
@@ -15,9 +15,17 @@ module FinchAPI
15
15
  required :requests,
16
16
  -> { FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::PayStatementRetrieveManyParams::Request] }
17
17
 
18
- # @!method initialize(requests:, request_options: {})
18
+ # @!attribute entity_ids
19
+ # The entity IDs to specify which entities' data to access.
20
+ #
21
+ # @return [Array<String>, nil]
22
+ optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
23
+
24
+ # @!method initialize(requests:, entity_ids: nil, request_options: {})
19
25
  # @param requests [Array<FinchAPI::Models::HRIS::PayStatementRetrieveManyParams::Request>] The array of batch requests.
20
26
  #
27
+ # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
28
+ #
21
29
  # @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
22
30
 
23
31
  class Request < FinchAPI::Internal::Type::BaseModel
@@ -22,7 +22,13 @@ module FinchAPI
22
22
  # @return [Date]
23
23
  required :start_date, Date
24
24
 
25
- # @!method initialize(end_date:, start_date:, request_options: {})
25
+ # @!attribute entity_ids
26
+ # The entity IDs to specify which entities' data to access.
27
+ #
28
+ # @return [Array<String>, nil]
29
+ optional :entity_ids, FinchAPI::Internal::Type::ArrayOf[String]
30
+
31
+ # @!method initialize(end_date:, start_date:, entity_ids: nil, request_options: {})
26
32
  # Some parameter documentations has been truncated, see
27
33
  # {FinchAPI::Models::HRIS::PaymentListParams} for more details.
28
34
  #
@@ -30,6 +36,8 @@ module FinchAPI
30
36
  #
31
37
  # @param start_date [Date] The start date to retrieve payments by a company (inclusive) in `YYYY-MM-DD` for
32
38
  #
39
+ # @param entity_ids [Array<String>] The entity IDs to specify which entities' data to access.
40
+ #
33
41
  # @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
34
42
  end
35
43
  end
@@ -89,6 +89,7 @@ module FinchAPI
89
89
 
90
90
  FIXED = :fixed
91
91
  PERCENT = :percent
92
+ TIERED = :tiered
92
93
 
93
94
  # @!method self.values
94
95
  # @return [Array<Symbol>]
@@ -7,22 +7,22 @@ module FinchAPI
7
7
  # @!attribute data
8
8
  # Detailed information specific to the 2005 W4 form.
9
9
  #
10
- # @return [FinchAPI::Models::HRIS::W42005::Data, nil]
11
- optional :data, -> { FinchAPI::HRIS::W42005::Data }
10
+ # @return [FinchAPI::Models::HRIS::W42005::Data]
11
+ required :data, -> { FinchAPI::HRIS::W42005::Data }
12
12
 
13
13
  # @!attribute type
14
14
  # Specifies the form type, indicating that this document is a 2005 W4 form.
15
15
  #
16
- # @return [Symbol, FinchAPI::Models::HRIS::W42005::Type, nil]
17
- optional :type, enum: -> { FinchAPI::HRIS::W42005::Type }
16
+ # @return [Symbol, FinchAPI::Models::HRIS::W42005::Type]
17
+ required :type, enum: -> { FinchAPI::HRIS::W42005::Type }
18
18
 
19
19
  # @!attribute year
20
20
  # The tax year this W4 document applies to.
21
21
  #
22
- # @return [Float, nil]
23
- optional :year, Float, nil?: true
22
+ # @return [Float]
23
+ required :year, Float
24
24
 
25
- # @!method initialize(data: nil, type: nil, year: nil)
25
+ # @!method initialize(data:, type:, year:)
26
26
  # A 2005 version of the W-4 tax form containing information on an individual's
27
27
  # filing status, dependents, and withholding details.
28
28
  #
@@ -30,52 +30,52 @@ module FinchAPI
30
30
  #
31
31
  # @param type [Symbol, FinchAPI::Models::HRIS::W42005::Type] Specifies the form type, indicating that this document is a 2005 W4 form.
32
32
  #
33
- # @param year [Float, nil] The tax year this W4 document applies to.
33
+ # @param year [Float] The tax year this W4 document applies to.
34
34
 
35
35
  # @see FinchAPI::Models::HRIS::W42005#data
36
36
  class Data < FinchAPI::Internal::Type::BaseModel
37
37
  # @!attribute additional_withholding
38
38
  # Additional withholding amount (in cents).
39
39
  #
40
- # @return [Integer, nil]
41
- optional :additional_withholding, Integer, nil?: true
40
+ # @return [Integer]
41
+ required :additional_withholding, Integer
42
42
 
43
43
  # @!attribute exemption
44
44
  # Indicates exemption status from federal tax withholding.
45
45
  #
46
46
  # @return [Symbol, FinchAPI::Models::HRIS::W42005::Data::Exemption, nil]
47
- optional :exemption, enum: -> { FinchAPI::HRIS::W42005::Data::Exemption }
47
+ required :exemption, enum: -> { FinchAPI::HRIS::W42005::Data::Exemption }, nil?: true
48
48
 
49
49
  # @!attribute filing_status
50
50
  # The individual's filing status for tax purposes.
51
51
  #
52
52
  # @return [Symbol, FinchAPI::Models::HRIS::W42005::Data::FilingStatus, nil]
53
- optional :filing_status, enum: -> { FinchAPI::HRIS::W42005::Data::FilingStatus }, nil?: true
53
+ required :filing_status, enum: -> { FinchAPI::HRIS::W42005::Data::FilingStatus }, nil?: true
54
54
 
55
55
  # @!attribute individual_id
56
56
  # The unique identifier for the individual associated with this 2005 W4 form.
57
57
  #
58
- # @return [String, nil]
59
- optional :individual_id, String
58
+ # @return [String]
59
+ required :individual_id, String
60
60
 
61
61
  # @!attribute total_number_of_allowances
62
62
  # Total number of allowances claimed (in cents).
63
63
  #
64
- # @return [Integer, nil]
65
- optional :total_number_of_allowances, Integer, nil?: true
64
+ # @return [Integer]
65
+ required :total_number_of_allowances, Integer
66
66
 
67
- # @!method initialize(additional_withholding: nil, exemption: nil, filing_status: nil, individual_id: nil, total_number_of_allowances: nil)
67
+ # @!method initialize(additional_withholding:, exemption:, filing_status:, individual_id:, total_number_of_allowances:)
68
68
  # Detailed information specific to the 2005 W4 form.
69
69
  #
70
- # @param additional_withholding [Integer, nil] Additional withholding amount (in cents).
70
+ # @param additional_withholding [Integer] Additional withholding amount (in cents).
71
71
  #
72
- # @param exemption [Symbol, FinchAPI::Models::HRIS::W42005::Data::Exemption] Indicates exemption status from federal tax withholding.
72
+ # @param exemption [Symbol, FinchAPI::Models::HRIS::W42005::Data::Exemption, nil] Indicates exemption status from federal tax withholding.
73
73
  #
74
74
  # @param filing_status [Symbol, FinchAPI::Models::HRIS::W42005::Data::FilingStatus, nil] The individual's filing status for tax purposes.
75
75
  #
76
76
  # @param individual_id [String] The unique identifier for the individual associated with this 2005 W4 form.
77
77
  #
78
- # @param total_number_of_allowances [Integer, nil] Total number of allowances claimed (in cents).
78
+ # @param total_number_of_allowances [Integer] Total number of allowances claimed (in cents).
79
79
 
80
80
  # Indicates exemption status from federal tax withholding.
81
81
  #
@@ -7,22 +7,22 @@ module FinchAPI
7
7
  # @!attribute data
8
8
  # Detailed information specific to the 2020 W4 form.
9
9
  #
10
- # @return [FinchAPI::Models::HRIS::W42020::Data, nil]
11
- optional :data, -> { FinchAPI::HRIS::W42020::Data }
10
+ # @return [FinchAPI::Models::HRIS::W42020::Data]
11
+ required :data, -> { FinchAPI::HRIS::W42020::Data }
12
12
 
13
13
  # @!attribute type
14
14
  # Specifies the form type, indicating that this document is a 2020 W4 form.
15
15
  #
16
- # @return [Symbol, FinchAPI::Models::HRIS::W42020::Type, nil]
17
- optional :type, enum: -> { FinchAPI::HRIS::W42020::Type }
16
+ # @return [Symbol, FinchAPI::Models::HRIS::W42020::Type]
17
+ required :type, enum: -> { FinchAPI::HRIS::W42020::Type }
18
18
 
19
19
  # @!attribute year
20
20
  # The tax year this W4 document applies to.
21
21
  #
22
- # @return [Float, nil]
23
- optional :year, Float, nil?: true
22
+ # @return [Float]
23
+ required :year, Float
24
24
 
25
- # @!method initialize(data: nil, type: nil, year: nil)
25
+ # @!method initialize(data:, type:, year:)
26
26
  # A 2020 version of the W-4 tax form containing information on an individual's
27
27
  # filing status, dependents, and withholding details.
28
28
  #
@@ -30,7 +30,7 @@ module FinchAPI
30
30
  #
31
31
  # @param type [Symbol, FinchAPI::Models::HRIS::W42020::Type] Specifies the form type, indicating that this document is a 2020 W4 form.
32
32
  #
33
- # @param year [Float, nil] The tax year this W4 document applies to.
33
+ # @param year [Float] The tax year this W4 document applies to.
34
34
 
35
35
  # @see FinchAPI::Models::HRIS::W42020#data
36
36
  class Data < FinchAPI::Internal::Type::BaseModel
@@ -38,72 +38,72 @@ module FinchAPI
38
38
  # Amount claimed for dependents other than qualifying children under 17 (in
39
39
  # cents).
40
40
  #
41
- # @return [Integer, nil]
42
- optional :amount_for_other_dependents, Integer, nil?: true
41
+ # @return [Integer]
42
+ required :amount_for_other_dependents, Integer
43
43
 
44
44
  # @!attribute amount_for_qualifying_children_under_17
45
45
  # Amount claimed for dependents under 17 years old (in cents).
46
46
  #
47
- # @return [Integer, nil]
48
- optional :amount_for_qualifying_children_under_17, Integer, nil?: true
47
+ # @return [Integer]
48
+ required :amount_for_qualifying_children_under_17, Integer
49
49
 
50
50
  # @!attribute deductions
51
51
  # Deductible expenses (in cents).
52
52
  #
53
- # @return [Integer, nil]
54
- optional :deductions, Integer, nil?: true
53
+ # @return [Integer]
54
+ required :deductions, Integer
55
55
 
56
56
  # @!attribute extra_withholding
57
57
  # Additional withholding amount (in cents).
58
58
  #
59
- # @return [Integer, nil]
60
- optional :extra_withholding, Integer, nil?: true
59
+ # @return [Integer]
60
+ required :extra_withholding, Integer
61
61
 
62
62
  # @!attribute filing_status
63
63
  # The individual's filing status for tax purposes.
64
64
  #
65
65
  # @return [Symbol, FinchAPI::Models::HRIS::W42020::Data::FilingStatus, nil]
66
- optional :filing_status, enum: -> { FinchAPI::HRIS::W42020::Data::FilingStatus }, nil?: true
66
+ required :filing_status, enum: -> { FinchAPI::HRIS::W42020::Data::FilingStatus }, nil?: true
67
67
 
68
68
  # @!attribute individual_id
69
69
  # The unique identifier for the individual associated with this document.
70
70
  #
71
- # @return [String, nil]
72
- optional :individual_id, String
71
+ # @return [String]
72
+ required :individual_id, String
73
73
 
74
74
  # @!attribute other_income
75
75
  # Additional income from sources outside of primary employment (in cents).
76
76
  #
77
- # @return [Integer, nil]
78
- optional :other_income, Integer, nil?: true
77
+ # @return [Integer]
78
+ required :other_income, Integer
79
79
 
80
80
  # @!attribute total_claim_dependent_and_other_credits
81
81
  # Total amount claimed for dependents and other credits (in cents).
82
82
  #
83
- # @return [Integer, nil]
84
- optional :total_claim_dependent_and_other_credits, Integer, nil?: true
83
+ # @return [Integer]
84
+ required :total_claim_dependent_and_other_credits, Integer
85
85
 
86
- # @!method initialize(amount_for_other_dependents: nil, amount_for_qualifying_children_under_17: nil, deductions: nil, extra_withholding: nil, filing_status: nil, individual_id: nil, other_income: nil, total_claim_dependent_and_other_credits: nil)
86
+ # @!method initialize(amount_for_other_dependents:, amount_for_qualifying_children_under_17:, deductions:, extra_withholding:, filing_status:, individual_id:, other_income:, total_claim_dependent_and_other_credits:)
87
87
  # Some parameter documentations has been truncated, see
88
88
  # {FinchAPI::Models::HRIS::W42020::Data} for more details.
89
89
  #
90
90
  # Detailed information specific to the 2020 W4 form.
91
91
  #
92
- # @param amount_for_other_dependents [Integer, nil] Amount claimed for dependents other than qualifying children under 17 (in cents)
92
+ # @param amount_for_other_dependents [Integer] Amount claimed for dependents other than qualifying children under 17 (in cents)
93
93
  #
94
- # @param amount_for_qualifying_children_under_17 [Integer, nil] Amount claimed for dependents under 17 years old (in cents).
94
+ # @param amount_for_qualifying_children_under_17 [Integer] Amount claimed for dependents under 17 years old (in cents).
95
95
  #
96
- # @param deductions [Integer, nil] Deductible expenses (in cents).
96
+ # @param deductions [Integer] Deductible expenses (in cents).
97
97
  #
98
- # @param extra_withholding [Integer, nil] Additional withholding amount (in cents).
98
+ # @param extra_withholding [Integer] Additional withholding amount (in cents).
99
99
  #
100
100
  # @param filing_status [Symbol, FinchAPI::Models::HRIS::W42020::Data::FilingStatus, nil] The individual's filing status for tax purposes.
101
101
  #
102
102
  # @param individual_id [String] The unique identifier for the individual associated with this document.
103
103
  #
104
- # @param other_income [Integer, nil] Additional income from sources outside of primary employment (in cents).
104
+ # @param other_income [Integer] Additional income from sources outside of primary employment (in cents).
105
105
  #
106
- # @param total_claim_dependent_and_other_credits [Integer, nil] Total amount claimed for dependents and other credits (in cents).
106
+ # @param total_claim_dependent_and_other_credits [Integer] Total amount claimed for dependents and other credits (in cents).
107
107
 
108
108
  # The individual's filing status for tax purposes.
109
109
  #