You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* `1002`: requested amount exceeds the authorized amount of the provided token
1481
+
* `1003`: implicit payment methods cannot be modified
1482
+
* `1004`: payment method rejected by provider
1483
+
* `provider:payment-method-rejected`: payment method rejected by provider (identical to `1004`)
1484
+
* `rule:product-denied`: Product restrictions forbid transaction, e.g., forbidden fuel type - token authorized only for Diesel but attempted to fuel Super.
1485
+
*/
1486
+
publicclassStatus412:APIModel{
1487
+
1488
+
publicvarerrors:[Errors]?
1489
+
1490
+
/** Error objects provide additional information about problems encountered while performing an operation.
1491
+
Errors also contain codes besides title and message which can be used for checks even if the detailed messages might change.
* `1002`: requested amount exceeds the authorized amount of the provided token
1495
+
* `1003`: implicit payment methods cannot be modified
1496
+
* `1004`: payment method rejected by provider
1497
+
* `provider:payment-method-rejected`: payment method rejected by provider (identical to `1004`)
1498
+
* `rule:product-denied`: Product restrictions forbid transaction, e.g., forbidden fuel type - token authorized only for Diesel but attempted to fuel Super.
1499
+
*/
1500
+
publicclassErrors:APIModel{
1501
+
1502
+
/** an application-specific error code, expressed as a string value.
1503
+
*/
1504
+
publicvarcode:String?
1505
+
1506
+
/** a human-readable explanation specific to this occurrence of the problem. Like title, this field’s value can be localized.
1507
+
*/
1508
+
publicvardetail:String?
1509
+
1510
+
/** A unique identifier for this particular occurrence of the problem. */
1511
+
publicvarid:String?
1512
+
1513
+
publicvarlinks:Links?
1514
+
1515
+
/** a meta object containing non-standard meta-information about the error.
1516
+
*/
1517
+
publicvarmeta:[String:Any]?
1518
+
1519
+
/** An object containing references to the source of the error.
1520
+
*/
1521
+
publicvarsource:Source?
1522
+
1523
+
/** the HTTP status code applicable to this problem, expressed as a string value.
1524
+
*/
1525
+
publicvarstatus:String?
1526
+
1527
+
/** A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization.
1528
+
*/
1529
+
publicvartitle:String?
1530
+
1531
+
/** Error objects provide additional information about problems encountered while performing an operation.
1532
+
Errors also contain codes besides title and message which can be used for checks even if the detailed messages might change.
* `1002`: requested amount exceeds the authorized amount of the provided token
1536
+
* `1003`: implicit payment methods cannot be modified
1537
+
* `1004`: payment method rejected by provider
1538
+
* `provider:payment-method-rejected`: payment method rejected by provider (identical to `1004`)
1539
+
* `rule:product-denied`: Product restrictions forbid transaction, e.g., forbidden fuel type - token authorized only for Diesel but attempted to fuel Super.
1540
+
*/
1541
+
publicclassLinks:APIModel{
1542
+
1543
+
/** A link that leads to further details about this particular occurrence of the problem.
/** An object containing references to the source of the error.
1575
+
*/
1576
+
publicclassSource:APIModel{
1577
+
1578
+
/** A string indicating which URI query parameter caused the error.
1579
+
*/
1580
+
publicvarparameter:String?
1581
+
1582
+
/** A JSON Pointer [RFC6901] to the associated entity in the request document [e.g. "/data" for a primary data object, or "/data/attributes/title" for a specific attribute].
/** Error objects provide additional information about problems encountered while performing an operation.
1477
1700
Errors also contain codes besides title and message which can be used for checks even if the detailed messages might change.
1478
1701
* `1000`: generic error
@@ -2186,22 +2409,11 @@ Example:
2186
2409
/** The provided priceIncludingVAT does not match the actual price */
2187
2410
case status409(Status409)
2188
2411
2189
-
/** Precondition failed
2190
-
```
2191
-
{
2192
-
"errors": [
2193
-
{
2194
-
"id": "buck3h44qtf5j268141g",
2195
-
"title": "Pump already unlocked/in-use on site by someone else",
2196
-
"detail": "",
2197
-
"status": "412",
2198
-
"code": "FUELING_PUMP_BUSY_ON_SITE"
2199
-
}
2200
-
]
2201
-
}
2202
-
```
2412
+
/** A preconditon for the payment process failed. The following codes may be seen:
2413
+
* `FUELING_PUMP_BUSY_ON_SITE`: The pump is aready unlocked.
2414
+
* `FUELING_PROVIDER_FORCED_PRE_AUTH`: The pump is already in use. This code is only used for a specific integration in ifsf360 to show an errorscreen in our app.
2203
2415
*/
2204
-
case status412(PCFuelingErrors)
2416
+
case status412(Status412)
2205
2417
2206
2418
/** The specified content type header is invalid */
0 commit comments