merge_hris_client 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (232) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/README.md +179 -0
  4. data/Rakefile +10 -0
  5. data/config.json +1 -0
  6. data/docs/AccountIntegration.md +28 -0
  7. data/docs/AccountToken.md +18 -0
  8. data/docs/AccountTokenApi.md +79 -0
  9. data/docs/AvailableActions.md +22 -0
  10. data/docs/AvailableActionsApi.md +79 -0
  11. data/docs/Benefit.md +32 -0
  12. data/docs/BenefitPlanTypeEnum.md +15 -0
  13. data/docs/BenefitsApi.md +181 -0
  14. data/docs/CompaniesApi.md +175 -0
  15. data/docs/Company.md +28 -0
  16. data/docs/CountryEnum.md +15 -0
  17. data/docs/DataPassthrough.md +24 -0
  18. data/docs/DataPassthroughRequest.md +26 -0
  19. data/docs/Deduction.md +28 -0
  20. data/docs/Earning.md +26 -0
  21. data/docs/Employee.md +66 -0
  22. data/docs/EmployeePayrollRun.md +42 -0
  23. data/docs/EmployeePayrollRunsApi.md +183 -0
  24. data/docs/EmployeesApi.md +187 -0
  25. data/docs/Employment.md +38 -0
  26. data/docs/EmploymentStatusEnum.md +15 -0
  27. data/docs/EmploymentTypeEnum.md +15 -0
  28. data/docs/EmploymentsApi.md +177 -0
  29. data/docs/EndUserDetails.md +24 -0
  30. data/docs/EndUserDetailsRequest.md +26 -0
  31. data/docs/EthnicityEnum.md +15 -0
  32. data/docs/FlsaStatusEnum.md +15 -0
  33. data/docs/GenderEnum.md +15 -0
  34. data/docs/GenerateKeyApi.md +79 -0
  35. data/docs/GenerateRemoteKeyRequest.md +18 -0
  36. data/docs/LinkToken.md +20 -0
  37. data/docs/LinkTokenApi.md +79 -0
  38. data/docs/Location.md +36 -0
  39. data/docs/LocationsApi.md +175 -0
  40. data/docs/MaritalStatusEnum.md +15 -0
  41. data/docs/MethodEnum.md +15 -0
  42. data/docs/ModelOperation.md +22 -0
  43. data/docs/NullEnum.md +15 -0
  44. data/docs/PaginatedBenefitList.md +22 -0
  45. data/docs/PaginatedCompanyList.md +22 -0
  46. data/docs/PaginatedEmployeeList.md +22 -0
  47. data/docs/PaginatedEmployeePayrollRunList.md +22 -0
  48. data/docs/PaginatedEmploymentList.md +22 -0
  49. data/docs/PaginatedLocationList.md +22 -0
  50. data/docs/PaginatedPayrollRunList.md +22 -0
  51. data/docs/PaginatedTeamList.md +22 -0
  52. data/docs/PaginatedTimeOffList.md +22 -0
  53. data/docs/PassthroughApi.md +81 -0
  54. data/docs/PayCurrencyEnum.md +15 -0
  55. data/docs/PayFrequencyEnum.md +15 -0
  56. data/docs/PayPeriodEnum.md +15 -0
  57. data/docs/PayrollRun.md +32 -0
  58. data/docs/PayrollRunsApi.md +175 -0
  59. data/docs/RegenerateKeyApi.md +79 -0
  60. data/docs/RemoteData.md +20 -0
  61. data/docs/RemoteKey.md +20 -0
  62. data/docs/RemoteKeyForRegeneration.md +18 -0
  63. data/docs/RemoteKeyForRegenerationRequest.md +18 -0
  64. data/docs/RemoteResponse.md +26 -0
  65. data/docs/RequestTypeEnum.md +15 -0
  66. data/docs/RunStateEnum.md +15 -0
  67. data/docs/RunTypeEnum.md +15 -0
  68. data/docs/StateEnum.md +15 -0
  69. data/docs/SyncStatus.md +28 -0
  70. data/docs/SyncStatusApi.md +79 -0
  71. data/docs/Tax.md +28 -0
  72. data/docs/Team.md +24 -0
  73. data/docs/TeamsApi.md +175 -0
  74. data/docs/TimeOff.md +36 -0
  75. data/docs/TimeOffApi.md +183 -0
  76. data/docs/TimeOffStatusEnum.md +15 -0
  77. data/docs/TypeEnum.md +15 -0
  78. data/docs/UnitsEnum.md +15 -0
  79. data/git_push.sh +58 -0
  80. data/lib/merge_hris_client.rb +110 -0
  81. data/lib/merge_hris_client/api/account_token_api.rb +83 -0
  82. data/lib/merge_hris_client/api/available_actions_api.rb +84 -0
  83. data/lib/merge_hris_client/api/benefits_api.rb +196 -0
  84. data/lib/merge_hris_client/api/companies_api.rb +179 -0
  85. data/lib/merge_hris_client/api/employee_payroll_runs_api.rb +199 -0
  86. data/lib/merge_hris_client/api/employees_api.rb +205 -0
  87. data/lib/merge_hris_client/api/employments_api.rb +182 -0
  88. data/lib/merge_hris_client/api/generate_key_api.rb +85 -0
  89. data/lib/merge_hris_client/api/link_token_api.rb +85 -0
  90. data/lib/merge_hris_client/api/locations_api.rb +179 -0
  91. data/lib/merge_hris_client/api/passthrough_api.rb +92 -0
  92. data/lib/merge_hris_client/api/payroll_runs_api.rb +179 -0
  93. data/lib/merge_hris_client/api/regenerate_key_api.rb +85 -0
  94. data/lib/merge_hris_client/api/sync_status_api.rb +84 -0
  95. data/lib/merge_hris_client/api/teams_api.rb +179 -0
  96. data/lib/merge_hris_client/api/time_off_api.rb +199 -0
  97. data/lib/merge_hris_client/api_client.rb +390 -0
  98. data/lib/merge_hris_client/api_error.rb +57 -0
  99. data/lib/merge_hris_client/configuration.rb +279 -0
  100. data/lib/merge_hris_client/models/account_integration.rb +325 -0
  101. data/lib/merge_hris_client/models/account_token.rb +223 -0
  102. data/lib/merge_hris_client/models/available_actions.rb +249 -0
  103. data/lib/merge_hris_client/models/benefit.rb +297 -0
  104. data/lib/merge_hris_client/models/benefit_plan_type_enum.rb +56 -0
  105. data/lib/merge_hris_client/models/company.rb +277 -0
  106. data/lib/merge_hris_client/models/country_enum.rb +282 -0
  107. data/lib/merge_hris_client/models/data_passthrough.rb +262 -0
  108. data/lib/merge_hris_client/models/data_passthrough_request.rb +271 -0
  109. data/lib/merge_hris_client/models/deduction.rb +275 -0
  110. data/lib/merge_hris_client/models/earning.rb +264 -0
  111. data/lib/merge_hris_client/models/employee.rb +544 -0
  112. data/lib/merge_hris_client/models/employee_payroll_run.rb +352 -0
  113. data/lib/merge_hris_client/models/employment.rb +330 -0
  114. data/lib/merge_hris_client/models/employment_status_enum.rb +37 -0
  115. data/lib/merge_hris_client/models/employment_type_enum.rb +39 -0
  116. data/lib/merge_hris_client/models/end_user_details.rb +289 -0
  117. data/lib/merge_hris_client/models/end_user_details_request.rb +298 -0
  118. data/lib/merge_hris_client/models/ethnicity_enum.rb +42 -0
  119. data/lib/merge_hris_client/models/flsa_status_enum.rb +38 -0
  120. data/lib/merge_hris_client/models/gender_enum.rb +39 -0
  121. data/lib/merge_hris_client/models/generate_remote_key_request.rb +224 -0
  122. data/lib/merge_hris_client/models/link_token.rb +237 -0
  123. data/lib/merge_hris_client/models/location.rb +319 -0
  124. data/lib/merge_hris_client/models/marital_status_enum.rb +39 -0
  125. data/lib/merge_hris_client/models/method_enum.rb +41 -0
  126. data/lib/merge_hris_client/models/model_operation.rb +256 -0
  127. data/lib/merge_hris_client/models/paginated_benefit_list.rb +240 -0
  128. data/lib/merge_hris_client/models/paginated_company_list.rb +240 -0
  129. data/lib/merge_hris_client/models/paginated_employee_list.rb +240 -0
  130. data/lib/merge_hris_client/models/paginated_employee_payroll_run_list.rb +240 -0
  131. data/lib/merge_hris_client/models/paginated_employment_list.rb +240 -0
  132. data/lib/merge_hris_client/models/paginated_location_list.rb +240 -0
  133. data/lib/merge_hris_client/models/paginated_payroll_run_list.rb +240 -0
  134. data/lib/merge_hris_client/models/paginated_team_list.rb +240 -0
  135. data/lib/merge_hris_client/models/paginated_time_off_list.rb +240 -0
  136. data/lib/merge_hris_client/models/pay_currency_enum.rb +340 -0
  137. data/lib/merge_hris_client/models/pay_frequency_enum.rb +43 -0
  138. data/lib/merge_hris_client/models/pay_period_enum.rb +42 -0
  139. data/lib/merge_hris_client/models/payroll_run.rb +297 -0
  140. data/lib/merge_hris_client/models/remote_data.rb +234 -0
  141. data/lib/merge_hris_client/models/remote_key.rb +238 -0
  142. data/lib/merge_hris_client/models/remote_key_for_regeneration.rb +224 -0
  143. data/lib/merge_hris_client/models/remote_key_for_regeneration_request.rb +224 -0
  144. data/lib/merge_hris_client/models/remote_response.rb +279 -0
  145. data/lib/merge_hris_client/models/request_type_enum.rb +38 -0
  146. data/lib/merge_hris_client/models/run_state_enum.rb +39 -0
  147. data/lib/merge_hris_client/models/run_type_enum.rb +49 -0
  148. data/lib/merge_hris_client/models/state_enum.rb +93 -0
  149. data/lib/merge_hris_client/models/sync_status.rb +294 -0
  150. data/lib/merge_hris_client/models/tax.rb +275 -0
  151. data/lib/merge_hris_client/models/team.rb +253 -0
  152. data/lib/merge_hris_client/models/time_off.rb +319 -0
  153. data/lib/merge_hris_client/models/time_off_status_enum.rb +39 -0
  154. data/lib/merge_hris_client/models/type_enum.rb +38 -0
  155. data/lib/merge_hris_client/models/units_enum.rb +36 -0
  156. data/lib/merge_hris_client/version.rb +15 -0
  157. data/merge_hris_client-1.0.0.gem +0 -0
  158. data/merge_hris_client.gemspec +38 -0
  159. data/pull_request_template.md +20 -0
  160. data/spec/api/account_token_api_spec.rb +46 -0
  161. data/spec/api/available_actions_api_spec.rb +46 -0
  162. data/spec/api/benefits_api_spec.rb +68 -0
  163. data/spec/api/companies_api_spec.rb +65 -0
  164. data/spec/api/employee_payroll_runs_api_spec.rb +69 -0
  165. data/spec/api/employees_api_spec.rb +71 -0
  166. data/spec/api/employments_api_spec.rb +66 -0
  167. data/spec/api/link_token_api_spec.rb +46 -0
  168. data/spec/api/locations_api_spec.rb +65 -0
  169. data/spec/api/passthrough_api_spec.rb +48 -0
  170. data/spec/api/payroll_runs_api_spec.rb +65 -0
  171. data/spec/api/regenerate_key_api_spec.rb +46 -0
  172. data/spec/api/teams_api_spec.rb +65 -0
  173. data/spec/api/time_off_api_spec.rb +69 -0
  174. data/spec/api_client_spec.rb +226 -0
  175. data/spec/configuration_spec.rb +42 -0
  176. data/spec/models/account_integration_spec.rb +58 -0
  177. data/spec/models/account_token_spec.rb +34 -0
  178. data/spec/models/available_actions_spec.rb +34 -0
  179. data/spec/models/benefit_plan_type_enum_spec.rb +28 -0
  180. data/spec/models/benefit_spec.rb +70 -0
  181. data/spec/models/company_spec.rb +58 -0
  182. data/spec/models/country_enum_spec.rb +28 -0
  183. data/spec/models/data_passthrough_request_spec.rb +58 -0
  184. data/spec/models/data_passthrough_spec.rb +52 -0
  185. data/spec/models/deduction_spec.rb +58 -0
  186. data/spec/models/earning_spec.rb +52 -0
  187. data/spec/models/employee_payroll_run_spec.rb +100 -0
  188. data/spec/models/employee_spec.rb +166 -0
  189. data/spec/models/employment_spec.rb +88 -0
  190. data/spec/models/employment_status_enum_spec.rb +28 -0
  191. data/spec/models/employment_type_enum_spec.rb +28 -0
  192. data/spec/models/end_user_details_request_spec.rb +56 -0
  193. data/spec/models/end_user_details_spec.rb +56 -0
  194. data/spec/models/ethnicity_enum_spec.rb +28 -0
  195. data/spec/models/flsa_status_enum_spec.rb +28 -0
  196. data/spec/models/gender_enum_spec.rb +28 -0
  197. data/spec/models/link_token_spec.rb +40 -0
  198. data/spec/models/location_spec.rb +82 -0
  199. data/spec/models/marital_status_enum_spec.rb +28 -0
  200. data/spec/models/method_enum_spec.rb +28 -0
  201. data/spec/models/model_operation_spec.rb +40 -0
  202. data/spec/models/paginated_benefit_list_spec.rb +46 -0
  203. data/spec/models/paginated_company_list_spec.rb +46 -0
  204. data/spec/models/paginated_employee_list_spec.rb +46 -0
  205. data/spec/models/paginated_employee_payroll_run_list_spec.rb +46 -0
  206. data/spec/models/paginated_employment_list_spec.rb +46 -0
  207. data/spec/models/paginated_location_list_spec.rb +46 -0
  208. data/spec/models/paginated_payroll_run_list_spec.rb +46 -0
  209. data/spec/models/paginated_team_list_spec.rb +46 -0
  210. data/spec/models/paginated_time_off_list_spec.rb +46 -0
  211. data/spec/models/pay_currency_enum_spec.rb +28 -0
  212. data/spec/models/pay_frequency_enum_spec.rb +28 -0
  213. data/spec/models/pay_period_enum_spec.rb +28 -0
  214. data/spec/models/payroll_run_spec.rb +70 -0
  215. data/spec/models/remote_data_spec.rb +40 -0
  216. data/spec/models/remote_key_for_regeneration_request_spec.rb +34 -0
  217. data/spec/models/remote_key_for_regeneration_spec.rb +34 -0
  218. data/spec/models/remote_key_spec.rb +40 -0
  219. data/spec/models/remote_response_spec.rb +58 -0
  220. data/spec/models/request_type_enum_spec.rb +28 -0
  221. data/spec/models/run_state_enum_spec.rb +28 -0
  222. data/spec/models/run_type_enum_spec.rb +28 -0
  223. data/spec/models/state_enum_spec.rb +28 -0
  224. data/spec/models/tax_spec.rb +58 -0
  225. data/spec/models/team_spec.rb +46 -0
  226. data/spec/models/time_off_spec.rb +82 -0
  227. data/spec/models/time_off_status_enum_spec.rb +28 -0
  228. data/spec/models/type_enum_spec.rb +28 -0
  229. data/spec/models/units_enum_spec.rb +28 -0
  230. data/spec/spec_helper.rb +111 -0
  231. data/test_ruby.rb +30 -0
  232. metadata +385 -0
@@ -0,0 +1,240 @@
1
+ =begin
2
+ #Merge HRIS API
3
+
4
+ #The unified API for building rich integrations with multiple HR Information System platforms.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: hello@merge.dev
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module MergeHRISClient
17
+ class PaginatedTimeOffList
18
+ attr_accessor :_next
19
+
20
+ attr_accessor :previous
21
+
22
+ attr_accessor :results
23
+
24
+ # Attribute mapping from ruby-style variable name to JSON key.
25
+ def self.attribute_map
26
+ {
27
+ :'_next' => :'next',
28
+ :'previous' => :'previous',
29
+ :'results' => :'results'
30
+ }
31
+ end
32
+
33
+ # Returns all the JSON keys this model knows about
34
+ def self.acceptable_attributes
35
+ attribute_map.values
36
+ end
37
+
38
+ # Attribute type mapping.
39
+ def self.openapi_types
40
+ {
41
+ :'_next' => :'String',
42
+ :'previous' => :'String',
43
+ :'results' => :'Array<TimeOff>'
44
+ }
45
+ end
46
+
47
+ # List of attributes with nullable: true
48
+ def self.openapi_nullable
49
+ Set.new([
50
+ :'_next',
51
+ :'previous',
52
+ ])
53
+ end
54
+
55
+ # Initializes the object
56
+ # @param [Hash] attributes Model attributes in the form of hash
57
+ def initialize(attributes = {})
58
+ if (!attributes.is_a?(Hash))
59
+ fail ArgumentError, "The input argument (attributes) must be a hash in `MergeHRISClient::PaginatedTimeOffList` initialize method"
60
+ end
61
+
62
+ # check to see if the attribute exists and convert string to symbol for hash key
63
+ attributes = attributes.each_with_object({}) { |(k, v), h|
64
+ if (!self.class.attribute_map.key?(k.to_sym))
65
+ fail ArgumentError, "`#{k}` is not a valid attribute in `MergeHRISClient::PaginatedTimeOffList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
66
+ end
67
+ h[k.to_sym] = v
68
+ }
69
+
70
+ if attributes.key?(:'_next')
71
+ self._next = attributes[:'_next']
72
+ end
73
+
74
+ if attributes.key?(:'previous')
75
+ self.previous = attributes[:'previous']
76
+ end
77
+
78
+ if attributes.key?(:'results')
79
+ if (value = attributes[:'results']).is_a?(Array)
80
+ self.results = value
81
+ end
82
+ end
83
+ end
84
+
85
+ # Show invalid properties with the reasons. Usually used together with valid?
86
+ # @return Array for valid properties with the reasons
87
+ def list_invalid_properties
88
+ invalid_properties = Array.new
89
+ invalid_properties
90
+ end
91
+
92
+ # Check to see if the all the properties in the model are valid
93
+ # @return true if the model is valid
94
+ def valid?
95
+ true
96
+ end
97
+
98
+ # Checks equality by comparing each attribute.
99
+ # @param [Object] Object to be compared
100
+ def ==(o)
101
+ return true if self.equal?(o)
102
+ self.class == o.class &&
103
+ _next == o._next &&
104
+ previous == o.previous &&
105
+ results == o.results
106
+ end
107
+
108
+ # @see the `==` method
109
+ # @param [Object] Object to be compared
110
+ def eql?(o)
111
+ self == o
112
+ end
113
+
114
+ # Calculates hash code according to all attributes.
115
+ # @return [Integer] Hash code
116
+ def hash
117
+ [_next, previous, results].hash
118
+ end
119
+
120
+ # Builds the object from hash
121
+ # @param [Hash] attributes Model attributes in the form of hash
122
+ # @return [Object] Returns the model itself
123
+ def self.build_from_hash(attributes)
124
+ new.build_from_hash(attributes)
125
+ end
126
+
127
+ # Builds the object from hash
128
+ # @param [Hash] attributes Model attributes in the form of hash
129
+ # @return [Object] Returns the model itself
130
+ def build_from_hash(attributes)
131
+ return nil unless attributes.is_a?(Hash)
132
+ self.class.openapi_types.each_pair do |key, type|
133
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
134
+ self.send("#{key}=", nil)
135
+ elsif type =~ /\AArray<(.*)>/i
136
+ # check to ensure the input is an array given that the attribute
137
+ # is documented as an array but the input is not
138
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
139
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
140
+ end
141
+ elsif !attributes[self.class.attribute_map[key]].nil?
142
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
143
+ end
144
+ end
145
+
146
+ self
147
+ end
148
+
149
+ # Deserializes the data based on type
150
+ # @param string type Data type
151
+ # @param string value Value to be deserialized
152
+ # @return [Object] Deserialized data
153
+ def _deserialize(type, value)
154
+ case type.to_sym
155
+ when :Time
156
+ Time.parse(value)
157
+ when :Date
158
+ Date.parse(value)
159
+ when :String
160
+ value.to_s
161
+ when :Integer
162
+ value.to_i
163
+ when :Float
164
+ value.to_f
165
+ when :Boolean
166
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
167
+ true
168
+ else
169
+ false
170
+ end
171
+ when :Object
172
+ # generic object (usually a Hash), return directly
173
+ value
174
+ when /\AArray<(?<inner_type>.+)>\z/
175
+ inner_type = Regexp.last_match[:inner_type]
176
+ value.map { |v| _deserialize(inner_type, v) }
177
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
178
+ k_type = Regexp.last_match[:k_type]
179
+ v_type = Regexp.last_match[:v_type]
180
+ {}.tap do |hash|
181
+ value.each do |k, v|
182
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
183
+ end
184
+ end
185
+ else # model
186
+ # models (e.g. Pet) or oneOf
187
+ klass = MergeHRISClient.const_get(type)
188
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
189
+ end
190
+ end
191
+
192
+ # Returns the string representation of the object
193
+ # @return [String] String presentation of the object
194
+ def to_s
195
+ to_hash.to_s
196
+ end
197
+
198
+ # to_body is an alias to to_hash (backward compatibility)
199
+ # @return [Hash] Returns the object in the form of hash
200
+ def to_body
201
+ to_hash
202
+ end
203
+
204
+ # Returns the object in the form of hash
205
+ # @return [Hash] Returns the object in the form of hash
206
+ def to_hash
207
+ hash = {}
208
+ self.class.attribute_map.each_pair do |attr, param|
209
+ value = self.send(attr)
210
+ if value.nil?
211
+ is_nullable = self.class.openapi_nullable.include?(attr)
212
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
213
+ end
214
+
215
+ hash[param] = _to_hash(value)
216
+ end
217
+ hash
218
+ end
219
+
220
+ # Outputs non-array value in the form of hash
221
+ # For object, use to_hash. Otherwise, just return the value
222
+ # @param [Object] value Any valid value
223
+ # @return [Hash] Returns the value in the form of hash
224
+ def _to_hash(value)
225
+ if value.is_a?(Array)
226
+ value.compact.map { |v| _to_hash(v) }
227
+ elsif value.is_a?(Hash)
228
+ {}.tap do |hash|
229
+ value.each { |k, v| hash[k] = _to_hash(v) }
230
+ end
231
+ elsif value.respond_to? :to_hash
232
+ value.to_hash
233
+ else
234
+ value
235
+ end
236
+ end
237
+
238
+ end
239
+
240
+ end
@@ -0,0 +1,340 @@
1
+ =begin
2
+ #Merge HRIS API
3
+
4
+ #The unified API for building rich integrations with multiple HR Information System platforms.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: hello@merge.dev
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module MergeHRISClient
17
+ class PayCurrencyEnum
18
+ XUA = "XUA".freeze
19
+ AFN = "AFN".freeze
20
+ AFA = "AFA".freeze
21
+ ALL = "ALL".freeze
22
+ ALK = "ALK".freeze
23
+ DZD = "DZD".freeze
24
+ ADP = "ADP".freeze
25
+ AOA = "AOA".freeze
26
+ AOK = "AOK".freeze
27
+ AON = "AON".freeze
28
+ AOR = "AOR".freeze
29
+ ARA = "ARA".freeze
30
+ ARS = "ARS".freeze
31
+ ARM = "ARM".freeze
32
+ ARP = "ARP".freeze
33
+ ARL = "ARL".freeze
34
+ AMD = "AMD".freeze
35
+ AWG = "AWG".freeze
36
+ AUD = "AUD".freeze
37
+ ATS = "ATS".freeze
38
+ AZN = "AZN".freeze
39
+ AZM = "AZM".freeze
40
+ BSD = "BSD".freeze
41
+ BHD = "BHD".freeze
42
+ BDT = "BDT".freeze
43
+ BBD = "BBD".freeze
44
+ BYN = "BYN".freeze
45
+ BYB = "BYB".freeze
46
+ BYR = "BYR".freeze
47
+ BEF = "BEF".freeze
48
+ BEC = "BEC".freeze
49
+ BEL = "BEL".freeze
50
+ BZD = "BZD".freeze
51
+ BMD = "BMD".freeze
52
+ BTN = "BTN".freeze
53
+ BOB = "BOB".freeze
54
+ BOL = "BOL".freeze
55
+ BOV = "BOV".freeze
56
+ BOP = "BOP".freeze
57
+ BAM = "BAM".freeze
58
+ BAD = "BAD".freeze
59
+ BAN = "BAN".freeze
60
+ BWP = "BWP".freeze
61
+ BRC = "BRC".freeze
62
+ BRZ = "BRZ".freeze
63
+ BRE = "BRE".freeze
64
+ BRR = "BRR".freeze
65
+ BRN = "BRN".freeze
66
+ BRB = "BRB".freeze
67
+ BRL = "BRL".freeze
68
+ GBP = "GBP".freeze
69
+ BND = "BND".freeze
70
+ BGL = "BGL".freeze
71
+ BGN = "BGN".freeze
72
+ BGO = "BGO".freeze
73
+ BGM = "BGM".freeze
74
+ BUK = "BUK".freeze
75
+ BIF = "BIF".freeze
76
+ XPF = "XPF".freeze
77
+ KHR = "KHR".freeze
78
+ CAD = "CAD".freeze
79
+ CVE = "CVE".freeze
80
+ KYD = "KYD".freeze
81
+ XAF = "XAF".freeze
82
+ CLE = "CLE".freeze
83
+ CLP = "CLP".freeze
84
+ CLF = "CLF".freeze
85
+ CNX = "CNX".freeze
86
+ CNY = "CNY".freeze
87
+ CNH = "CNH".freeze
88
+ COP = "COP".freeze
89
+ COU = "COU".freeze
90
+ KMF = "KMF".freeze
91
+ CDF = "CDF".freeze
92
+ CRC = "CRC".freeze
93
+ HRD = "HRD".freeze
94
+ HRK = "HRK".freeze
95
+ CUC = "CUC".freeze
96
+ CUP = "CUP".freeze
97
+ CYP = "CYP".freeze
98
+ CZK = "CZK".freeze
99
+ CSK = "CSK".freeze
100
+ DKK = "DKK".freeze
101
+ DJF = "DJF".freeze
102
+ DOP = "DOP".freeze
103
+ NLG = "NLG".freeze
104
+ XCD = "XCD".freeze
105
+ DDM = "DDM".freeze
106
+ ECS = "ECS".freeze
107
+ ECV = "ECV".freeze
108
+ EGP = "EGP".freeze
109
+ GQE = "GQE".freeze
110
+ ERN = "ERN".freeze
111
+ EEK = "EEK".freeze
112
+ ETB = "ETB".freeze
113
+ EUR = "EUR".freeze
114
+ XBA = "XBA".freeze
115
+ XEU = "XEU".freeze
116
+ XBB = "XBB".freeze
117
+ XBC = "XBC".freeze
118
+ XBD = "XBD".freeze
119
+ FKP = "FKP".freeze
120
+ FJD = "FJD".freeze
121
+ FIM = "FIM".freeze
122
+ FRF = "FRF".freeze
123
+ XFO = "XFO".freeze
124
+ XFU = "XFU".freeze
125
+ GMD = "GMD".freeze
126
+ GEK = "GEK".freeze
127
+ GEL = "GEL".freeze
128
+ DEM = "DEM".freeze
129
+ GHS = "GHS".freeze
130
+ GHC = "GHC".freeze
131
+ GIP = "GIP".freeze
132
+ XAU = "XAU".freeze
133
+ GRD = "GRD".freeze
134
+ GTQ = "GTQ".freeze
135
+ GWP = "GWP".freeze
136
+ GNF = "GNF".freeze
137
+ GNS = "GNS".freeze
138
+ GYD = "GYD".freeze
139
+ HTG = "HTG".freeze
140
+ HNL = "HNL".freeze
141
+ HKD = "HKD".freeze
142
+ HUF = "HUF".freeze
143
+ IMP = "IMP".freeze
144
+ ISK = "ISK".freeze
145
+ ISJ = "ISJ".freeze
146
+ INR = "INR".freeze
147
+ IDR = "IDR".freeze
148
+ IRR = "IRR".freeze
149
+ IQD = "IQD".freeze
150
+ IEP = "IEP".freeze
151
+ ILS = "ILS".freeze
152
+ ILP = "ILP".freeze
153
+ ILR = "ILR".freeze
154
+ ITL = "ITL".freeze
155
+ JMD = "JMD".freeze
156
+ JPY = "JPY".freeze
157
+ JOD = "JOD".freeze
158
+ KZT = "KZT".freeze
159
+ KES = "KES".freeze
160
+ KWD = "KWD".freeze
161
+ KGS = "KGS".freeze
162
+ LAK = "LAK".freeze
163
+ LVL = "LVL".freeze
164
+ LVR = "LVR".freeze
165
+ LBP = "LBP".freeze
166
+ LSL = "LSL".freeze
167
+ LRD = "LRD".freeze
168
+ LYD = "LYD".freeze
169
+ LTL = "LTL".freeze
170
+ LTT = "LTT".freeze
171
+ LUL = "LUL".freeze
172
+ LUC = "LUC".freeze
173
+ LUF = "LUF".freeze
174
+ MOP = "MOP".freeze
175
+ MKD = "MKD".freeze
176
+ MKN = "MKN".freeze
177
+ MGA = "MGA".freeze
178
+ MGF = "MGF".freeze
179
+ MWK = "MWK".freeze
180
+ MYR = "MYR".freeze
181
+ MVR = "MVR".freeze
182
+ MVP = "MVP".freeze
183
+ MLF = "MLF".freeze
184
+ MTL = "MTL".freeze
185
+ MTP = "MTP".freeze
186
+ MRU = "MRU".freeze
187
+ MRO = "MRO".freeze
188
+ MUR = "MUR".freeze
189
+ MXV = "MXV".freeze
190
+ MXN = "MXN".freeze
191
+ MXP = "MXP".freeze
192
+ MDC = "MDC".freeze
193
+ MDL = "MDL".freeze
194
+ MCF = "MCF".freeze
195
+ MNT = "MNT".freeze
196
+ MAD = "MAD".freeze
197
+ MAF = "MAF".freeze
198
+ MZE = "MZE".freeze
199
+ MZN = "MZN".freeze
200
+ MZM = "MZM".freeze
201
+ MMK = "MMK".freeze
202
+ NAD = "NAD".freeze
203
+ NPR = "NPR".freeze
204
+ ANG = "ANG".freeze
205
+ TWD = "TWD".freeze
206
+ NZD = "NZD".freeze
207
+ NIO = "NIO".freeze
208
+ NIC = "NIC".freeze
209
+ NGN = "NGN".freeze
210
+ KPW = "KPW".freeze
211
+ NOK = "NOK".freeze
212
+ OMR = "OMR".freeze
213
+ PKR = "PKR".freeze
214
+ XPD = "XPD".freeze
215
+ PAB = "PAB".freeze
216
+ PGK = "PGK".freeze
217
+ PYG = "PYG".freeze
218
+ PEI = "PEI".freeze
219
+ PEN = "PEN".freeze
220
+ PES = "PES".freeze
221
+ PHP = "PHP".freeze
222
+ XPT = "XPT".freeze
223
+ PLN = "PLN".freeze
224
+ PLZ = "PLZ".freeze
225
+ PTE = "PTE".freeze
226
+ GWE = "GWE".freeze
227
+ QAR = "QAR".freeze
228
+ XRE = "XRE".freeze
229
+ RHD = "RHD".freeze
230
+ RON = "RON".freeze
231
+ ROL = "ROL".freeze
232
+ RUB = "RUB".freeze
233
+ RUR = "RUR".freeze
234
+ RWF = "RWF".freeze
235
+ SVC = "SVC".freeze
236
+ WST = "WST".freeze
237
+ SAR = "SAR".freeze
238
+ RSD = "RSD".freeze
239
+ CSD = "CSD".freeze
240
+ SCR = "SCR".freeze
241
+ SLL = "SLL".freeze
242
+ XAG = "XAG".freeze
243
+ SGD = "SGD".freeze
244
+ SKK = "SKK".freeze
245
+ SIT = "SIT".freeze
246
+ SBD = "SBD".freeze
247
+ SOS = "SOS".freeze
248
+ ZAR = "ZAR".freeze
249
+ ZAL = "ZAL".freeze
250
+ KRH = "KRH".freeze
251
+ KRW = "KRW".freeze
252
+ KRO = "KRO".freeze
253
+ SSP = "SSP".freeze
254
+ SUR = "SUR".freeze
255
+ ESP = "ESP".freeze
256
+ ESA = "ESA".freeze
257
+ ESB = "ESB".freeze
258
+ XDR = "XDR".freeze
259
+ LKR = "LKR".freeze
260
+ SHP = "SHP".freeze
261
+ XSU = "XSU".freeze
262
+ SDD = "SDD".freeze
263
+ SDG = "SDG".freeze
264
+ SDP = "SDP".freeze
265
+ SRD = "SRD".freeze
266
+ SRG = "SRG".freeze
267
+ SZL = "SZL".freeze
268
+ SEK = "SEK".freeze
269
+ CHF = "CHF".freeze
270
+ SYP = "SYP".freeze
271
+ STN = "STN".freeze
272
+ STD = "STD".freeze
273
+ TVD = "TVD".freeze
274
+ TJR = "TJR".freeze
275
+ TJS = "TJS".freeze
276
+ TZS = "TZS".freeze
277
+ XTS = "XTS".freeze
278
+ THB = "THB".freeze
279
+ XXX = "XXX".freeze
280
+ TPE = "TPE".freeze
281
+ TOP = "TOP".freeze
282
+ TTD = "TTD".freeze
283
+ TND = "TND".freeze
284
+ TRY = "TRY".freeze
285
+ TRL = "TRL".freeze
286
+ TMT = "TMT".freeze
287
+ TMM = "TMM".freeze
288
+ USD = "USD".freeze
289
+ USN = "USN".freeze
290
+ USS = "USS".freeze
291
+ UGX = "UGX".freeze
292
+ UGS = "UGS".freeze
293
+ UAH = "UAH".freeze
294
+ UAK = "UAK".freeze
295
+ AED = "AED".freeze
296
+ UYW = "UYW".freeze
297
+ UYU = "UYU".freeze
298
+ UYP = "UYP".freeze
299
+ UYI = "UYI".freeze
300
+ UZS = "UZS".freeze
301
+ VUV = "VUV".freeze
302
+ VES = "VES".freeze
303
+ VEB = "VEB".freeze
304
+ VEF = "VEF".freeze
305
+ VND = "VND".freeze
306
+ VNN = "VNN".freeze
307
+ CHE = "CHE".freeze
308
+ CHW = "CHW".freeze
309
+ XOF = "XOF".freeze
310
+ YDD = "YDD".freeze
311
+ YER = "YER".freeze
312
+ YUN = "YUN".freeze
313
+ YUD = "YUD".freeze
314
+ YUM = "YUM".freeze
315
+ YUR = "YUR".freeze
316
+ ZWN = "ZWN".freeze
317
+ ZRN = "ZRN".freeze
318
+ ZRZ = "ZRZ".freeze
319
+ ZMW = "ZMW".freeze
320
+ ZMK = "ZMK".freeze
321
+ ZWD = "ZWD".freeze
322
+ ZWR = "ZWR".freeze
323
+ ZWL = "ZWL".freeze
324
+
325
+ # Builds the enum from string
326
+ # @param [String] The enum value in the form of the string
327
+ # @return [String] The enum value
328
+ def self.build_from_hash(value)
329
+ new.build_from_hash(value)
330
+ end
331
+
332
+ # Builds the enum from string
333
+ # @param [String] The enum value in the form of the string
334
+ # @return [String] The enum value
335
+ def build_from_hash(value)
336
+ constantValues = PayCurrencyEnum.constants.select { |c| PayCurrencyEnum::const_get(c) == value }
337
+ value
338
+ end
339
+ end
340
+ end