Skip to content

Commit 31104ce

Browse files
[PlatformsAPIs] Code generation: update services and models (#811)
* TransferLimits generation * Add test --------- Co-authored-by: beppe <[email protected]>
1 parent 849460c commit 31104ce

15 files changed

+3485
-0
lines changed

src/Adyen/Model/BalancePlatform/ApproveTransferLimitRequest.php

Lines changed: 407 additions & 0 deletions
Large diffs are not rendered by default.

src/Adyen/Model/BalancePlatform/CreateScaInformation.php

Lines changed: 435 additions & 0 deletions
Large diffs are not rendered by default.

src/Adyen/Model/BalancePlatform/CreateTransferLimitRequest.php

Lines changed: 599 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
<?php
2+
3+
/**
4+
* Configuration API
5+
*
6+
* The version of the OpenAPI document: 2
7+
* Generated by: https://openapi-generator.tech
8+
* OpenAPI Generator version: 6.0.1
9+
*
10+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11+
* https://openapi-generator.tech
12+
* Do not edit the class manually.
13+
*/
14+
15+
16+
namespace Adyen\Model\BalancePlatform;
17+
18+
use Adyen\Model\BalancePlatform\ObjectSerializer;
19+
20+
/**
21+
* LimitStatus Class Doc Comment
22+
*
23+
* The status of the transfer limit. Possible values: * **active**: the limit is currently active. * **inactive**: the limit is currently inactive. * **pendingSCA**: the limit is pending until your user performs SCA. * **scheduled**: the limit is scheduled to become active at a future date.
24+
*
25+
* @package Adyen
26+
*/
27+
class LimitStatus
28+
{
29+
/**
30+
* Possible values of this enum
31+
*/
32+
public const ACTIVE = 'active';
33+
34+
public const INACTIVE = 'inactive';
35+
36+
public const PENDING_SCA = 'pendingSCA';
37+
38+
public const SCHEDULED = 'scheduled';
39+
40+
/**
41+
* Gets allowable values of the enum
42+
* @return string[]
43+
*/
44+
public static function getAllowableEnumValues()
45+
{
46+
return [
47+
self::ACTIVE,
48+
self::INACTIVE,
49+
self::PENDING_SCA,
50+
self::SCHEDULED
51+
];
52+
}
53+
}
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
<?php
2+
3+
/**
4+
* Configuration API
5+
*
6+
* The version of the OpenAPI document: 2
7+
* Generated by: https://openapi-generator.tech
8+
* OpenAPI Generator version: 6.0.1
9+
*
10+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11+
* https://openapi-generator.tech
12+
* Do not edit the class manually.
13+
*/
14+
15+
16+
namespace Adyen\Model\BalancePlatform;
17+
18+
use Adyen\Model\BalancePlatform\ObjectSerializer;
19+
20+
/**
21+
* ScaExemption Class Doc Comment
22+
*
23+
* The type of exemption for Strong Customer Authentication (SCA). Possible values: * **lowerLimit**: the newly created limit is lower than the existing limit. * **notRegulated**: the limit is created in a country, region, or industry where it is not mandated by law to use SCA. * **setByPlatform**: you set a limit for one of your user&#39;s balance accounts, or for your balance platform. * **initialLimit**: there are no existing transfer limits set on the balance account or balance platform. * **alreadyPerformed**: you are confident about your user&#39;s identity and do not need to verify this using SCA.
24+
*
25+
* @package Adyen
26+
*/
27+
class ScaExemption
28+
{
29+
/**
30+
* Possible values of this enum
31+
*/
32+
public const SET_BY_PLATFORM = 'setByPlatform';
33+
34+
public const INITIAL_LIMIT = 'initialLimit';
35+
36+
public const LOWER_LIMIT = 'lowerLimit';
37+
38+
public const NOT_REGULATED = 'notRegulated';
39+
40+
public const ALREADY_PERFORMED = 'alreadyPerformed';
41+
42+
/**
43+
* Gets allowable values of the enum
44+
* @return string[]
45+
*/
46+
public static function getAllowableEnumValues()
47+
{
48+
return [
49+
self::SET_BY_PLATFORM,
50+
self::INITIAL_LIMIT,
51+
self::LOWER_LIMIT,
52+
self::NOT_REGULATED,
53+
self::ALREADY_PERFORMED
54+
];
55+
}
56+
}

0 commit comments

Comments
 (0)