affixapi 1.1.79 → 1.1.80
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/openapi_client/models/payslip_response.rb +5 -25
- data/lib/openapi_client/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2f9fe7bdcbc6d7de5b5aa99cf436ed97b342560b416ec50107fbbd602df6ac3d
|
|
4
|
+
data.tar.gz: a6cf9185c25307c3bfcd8717cf9e2ffc658bcae2d939045f7549c05d070dccc6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 80ccd7f14756cc41c9dd244af52d8206cf0b7531d0b5e4751d696f17d719e50d64b8a16cc3f5ac7a340e94bd312b7cf17d23f74705f494dca766fbc68949396d
|
|
7
|
+
data.tar.gz: 1bd327fc30c6f5e6b6a4e6282515af6e5b2703639fd6f1b6cf1e754a6f9d1f3053243cf5b68f679440de78d0b5b92924ac28cadba57ebb86ff93c1dfd94cea6f
|
data/Gemfile.lock
CHANGED
|
@@ -118,7 +118,12 @@ module OpenapiClient
|
|
|
118
118
|
# List of attributes with nullable: true
|
|
119
119
|
def self.openapi_nullable
|
|
120
120
|
Set.new([
|
|
121
|
+
:'gross_pay',
|
|
122
|
+
:'net_pay',
|
|
123
|
+
:'earnings',
|
|
121
124
|
:'contributions',
|
|
125
|
+
:'deductions',
|
|
126
|
+
:'taxes'
|
|
122
127
|
])
|
|
123
128
|
end
|
|
124
129
|
|
|
@@ -226,14 +231,6 @@ module OpenapiClient
|
|
|
226
231
|
invalid_properties.push('invalid value for "currency", currency cannot be nil.')
|
|
227
232
|
end
|
|
228
233
|
|
|
229
|
-
if @gross_pay.nil?
|
|
230
|
-
invalid_properties.push('invalid value for "gross_pay", gross_pay cannot be nil.')
|
|
231
|
-
end
|
|
232
|
-
|
|
233
|
-
if @net_pay.nil?
|
|
234
|
-
invalid_properties.push('invalid value for "net_pay", net_pay cannot be nil.')
|
|
235
|
-
end
|
|
236
|
-
|
|
237
234
|
if @start_date.nil?
|
|
238
235
|
invalid_properties.push('invalid value for "start_date", start_date cannot be nil.')
|
|
239
236
|
end
|
|
@@ -246,18 +243,6 @@ module OpenapiClient
|
|
|
246
243
|
invalid_properties.push('invalid value for "payment_date", payment_date cannot be nil.')
|
|
247
244
|
end
|
|
248
245
|
|
|
249
|
-
if @earnings.nil?
|
|
250
|
-
invalid_properties.push('invalid value for "earnings", earnings cannot be nil.')
|
|
251
|
-
end
|
|
252
|
-
|
|
253
|
-
if @deductions.nil?
|
|
254
|
-
invalid_properties.push('invalid value for "deductions", deductions cannot be nil.')
|
|
255
|
-
end
|
|
256
|
-
|
|
257
|
-
if @taxes.nil?
|
|
258
|
-
invalid_properties.push('invalid value for "taxes", taxes cannot be nil.')
|
|
259
|
-
end
|
|
260
|
-
|
|
261
246
|
invalid_properties
|
|
262
247
|
end
|
|
263
248
|
|
|
@@ -271,14 +256,9 @@ module OpenapiClient
|
|
|
271
256
|
return false if @currency.nil?
|
|
272
257
|
currency_validator = EnumAttributeValidator.new('String', ["usd", "eur", "gbp"])
|
|
273
258
|
return false unless currency_validator.valid?(@currency)
|
|
274
|
-
return false if @gross_pay.nil?
|
|
275
|
-
return false if @net_pay.nil?
|
|
276
259
|
return false if @start_date.nil?
|
|
277
260
|
return false if @end_date.nil?
|
|
278
261
|
return false if @payment_date.nil?
|
|
279
|
-
return false if @earnings.nil?
|
|
280
|
-
return false if @deductions.nil?
|
|
281
|
-
return false if @taxes.nil?
|
|
282
262
|
true
|
|
283
263
|
end
|
|
284
264
|
|