Skip to content

Commit d170ae6

Browse files
committed
chore: release v2.5.0
1 parent 0aff35f commit d170ae6

File tree

98 files changed

+11278
-7
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+11278
-7
lines changed

.openapi-generator/FILES

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,3 +97,95 @@ lib/Model/UpdateSubscriptionRequest.php
9797
lib/Model/ValidateBizumPhoneRequest.php
9898
lib/ObjectSerializer.php
9999
phpunit.xml.dist
100+
test/Api/ApplePayDomainApiTest.php
101+
test/Api/BizumApiTest.php
102+
test/Api/PaymentMethodsApiTest.php
103+
test/Api/PaymentsApiTest.php
104+
test/Api/SubscriptionsApiTest.php
105+
test/Model/ActivateSubscriptionRequestTest.php
106+
test/Model/AddressTest.php
107+
test/Model/ApplePayDomainRegister200ResponseTest.php
108+
test/Model/ApplePayDomainRegister400ResponseTest.php
109+
test/Model/ApplePayDomainRegister401ResponseTest.php
110+
test/Model/ApplePayDomainRegister404ResponseTest.php
111+
test/Model/ApplePayDomainRegister422ResponseTest.php
112+
test/Model/ApplePayDomainRegister500ResponseTest.php
113+
test/Model/ApplePayDomainRegister503ResponseTest.php
114+
test/Model/BizumValidatePhone200ResponseTest.php
115+
test/Model/CancelPaymentRequestTest.php
116+
test/Model/CancelSubscriptionRequestTest.php
117+
test/Model/CapturePaymentRequestTest.php
118+
test/Model/ConfirmPaymentRequestPaymentMethodCardTest.php
119+
test/Model/ConfirmPaymentRequestPaymentMethodTest.php
120+
test/Model/ConfirmPaymentRequestTest.php
121+
test/Model/CreatePaymentRequestTest.php
122+
test/Model/CreateSubscriptionRequestTest.php
123+
test/Model/ErrorTest.php
124+
test/Model/PauseSubscriptionRequestTest.php
125+
test/Model/PaymentBillingDetailsTest.php
126+
test/Model/PaymentCancellationReasonTest.php
127+
test/Model/PaymentCustomerTest.php
128+
test/Model/PaymentLastRefundReasonTest.php
129+
test/Model/PaymentMessageChannelTest.php
130+
test/Model/PaymentMessageLanguageTest.php
131+
test/Model/PaymentMethodsMetadataAlipayTest.php
132+
test/Model/PaymentMethodsMetadataApplePayTest.php
133+
test/Model/PaymentMethodsMetadataBancontactTest.php
134+
test/Model/PaymentMethodsMetadataBizumTest.php
135+
test/Model/PaymentMethodsMetadataBlikTest.php
136+
test/Model/PaymentMethodsMetadataCardTest.php
137+
test/Model/PaymentMethodsMetadataClickToPayDiscoverTest.php
138+
test/Model/PaymentMethodsMetadataClickToPayMastercardTest.php
139+
test/Model/PaymentMethodsMetadataClickToPayTest.php
140+
test/Model/PaymentMethodsMetadataClickToPayVisaTest.php
141+
test/Model/PaymentMethodsMetadataEpsTest.php
142+
test/Model/PaymentMethodsMetadataGiropayTest.php
143+
test/Model/PaymentMethodsMetadataGooglePayTest.php
144+
test/Model/PaymentMethodsMetadataIDealTest.php
145+
test/Model/PaymentMethodsMetadataKlarnaTest.php
146+
test/Model/PaymentMethodsMetadataMbwayTest.php
147+
test/Model/PaymentMethodsMetadataSepaTest.php
148+
test/Model/PaymentMethodsMetadataSofortTest.php
149+
test/Model/PaymentMethodsMetadataTest.php
150+
test/Model/PaymentMethodsMetadataTrustlyTest.php
151+
test/Model/PaymentMethodsTest.php
152+
test/Model/PaymentNextActionTest.php
153+
test/Model/PaymentPaymentMethodBizumInputTest.php
154+
test/Model/PaymentPaymentMethodBizumTest.php
155+
test/Model/PaymentPaymentMethodCardInputTest.php
156+
test/Model/PaymentPaymentMethodCardTest.php
157+
test/Model/PaymentPaymentMethodCofidisTest.php
158+
test/Model/PaymentPaymentMethodInputTest.php
159+
test/Model/PaymentPaymentMethodKlarnaTest.php
160+
test/Model/PaymentPaymentMethodMbwayTest.php
161+
test/Model/PaymentPaymentMethodPaypalTest.php
162+
test/Model/PaymentPaymentMethodSepaTest.php
163+
test/Model/PaymentPaymentMethodTest.php
164+
test/Model/PaymentPaymentMethodTrustlyTest.php
165+
test/Model/PaymentRefundReasonTest.php
166+
test/Model/PaymentSequenceRecurringTest.php
167+
test/Model/PaymentSequenceTest.php
168+
test/Model/PaymentSessionDetailsTest.php
169+
test/Model/PaymentShippingDetailsTest.php
170+
test/Model/PaymentShopTest.php
171+
test/Model/PaymentStatusTest.php
172+
test/Model/PaymentTest.php
173+
test/Model/PaymentTraceDetailsTest.php
174+
test/Model/PaymentTransactionTypeTest.php
175+
test/Model/RecurringPaymentRequestTest.php
176+
test/Model/RefundPaymentRequestTest.php
177+
test/Model/RegisterApplePayDomainRequestTest.php
178+
test/Model/SendPaymentLinkRequestTest.php
179+
test/Model/SendPaymentReceiptRequestTest.php
180+
test/Model/SendPaymentRequestRequestTest.php
181+
test/Model/SendSubscriptionLinkRequestTest.php
182+
test/Model/SendSubscriptionStatusRequestTest.php
183+
test/Model/SubscriptionIntervalTest.php
184+
test/Model/SubscriptionLastPaymentTest.php
185+
test/Model/SubscriptionPaymentMethodCardTest.php
186+
test/Model/SubscriptionPaymentMethodTest.php
187+
test/Model/SubscriptionRetryScheduleInnerTest.php
188+
test/Model/SubscriptionStatusTest.php
189+
test/Model/SubscriptionTest.php
190+
test/Model/UpdateSubscriptionRequestTest.php
191+
test/Model/ValidateBizumPhoneRequestTest.php

build/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"packageName": "MONEI PHP SDK",
3-
"artifactVersion": "2.4.3",
3+
"artifactVersion": "2.5.0",
44
"gitHost": "github.com",
55
"gitUserId": "monei",
66
"gitRepoId": "monei-php-sdk"

build/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "monei-php-sdk",
3-
"version": "2.4.3",
3+
"version": "2.5.0",
44
"description": "MONEI PHP SDK",
55
"author": "monei",
66
"scripts": {

lib/Configuration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ class Configuration
100100
*
101101
* @var string
102102
*/
103-
protected $userAgent = 'OpenAPI-Generator/2.4.3/PHP';
103+
protected $userAgent = 'OpenAPI-Generator/2.5.0/PHP';
104104

105105
/**
106106
* Debug switch (default set to false)
@@ -433,7 +433,7 @@ public static function toDebugReport()
433433
$report .= ' OS: ' . php_uname() . PHP_EOL;
434434
$report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL;
435435
$report .= ' The version of the OpenAPI document: 1.5.0' . PHP_EOL;
436-
$report .= ' SDK Package Version: 2.4.3' . PHP_EOL;
436+
$report .= ' SDK Package Version: 2.5.0' . PHP_EOL;
437437
$report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL;
438438

439439
return $report;

lib/MoneiClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class MoneiClient
3737
/**
3838
* @var string
3939
*/
40-
public const SDK_VERSION = '2.4.3';
40+
public const SDK_VERSION = '2.5.0';
4141

4242
/**
4343
* @var string

phpunit.xml.dist

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="./vendor/autoload.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
33
<coverage processUncoveredFiles="true">
44
<include>
5-
<file>./lib/MoneiClient.php</file>
5+
<directory suffix=".php">./lib/Api</directory>
6+
<directory suffix=".php">./lib/Model</directory>
67
</include>
78
</coverage>
89
<testsuites>
910
<testsuite name="tests">
10-
<file>./test/MoneiClientTest.php</file>
11+
<directory>./test/Api</directory>
12+
<directory>./test/Model</directory>
1113
</testsuite>
1214
</testsuites>
1315
<php>

test/Api/ApplePayDomainApiTest.php

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
<?php
2+
/**
3+
* ApplePayDomainApiTest
4+
* PHP version 7.4
5+
*
6+
* @category Class
7+
* @package OpenAPI\Client
8+
* @author OpenAPI Generator team
9+
* @link https://openapi-generator.tech
10+
*/
11+
12+
/**
13+
* MONEI API v1
14+
*
15+
* <p>The MONEI API is organized around <a href=\"https://en.wikipedia.org/wiki/Representational_State_Transfer\">REST</a> principles. Our API is designed to be intuitive and developer-friendly.</p> <h3>Base URL</h3> <p>All API requests should be made to:</p> <pre><code>https://api.monei.com/v1 </code></pre> <h3>Environment</h3> <p>MONEI provides two environments:</p> <ul> <li><strong>Test Environment</strong>: For development and testing without processing real payments</li> <li><strong>Live Environment</strong>: For processing real transactions in production</li> </ul> <h3>Client Libraries</h3> <p>We provide official SDKs to simplify integration:</p> <ul> <li><a href=\"https://github.com/MONEI/monei-php-sdk\">PHP SDK</a></li> <li><a href=\"https://github.com/MONEI/monei-python-sdk\">Python SDK</a></li> <li><a href=\"https://github.com/MONEI/monei-node-sdk\">Node.js SDK</a></li> <li><a href=\"https://postman.monei.com/\">Postman Collection</a></li> </ul> <p>Our SDKs handle authentication, error handling, and request formatting automatically.</p> <h3>Important Requirements</h3> <ul> <li>All API requests must be made over HTTPS</li> <li>If you are not using our official SDKs, you <strong>must provide a valid <code>User-Agent</code> header</strong> with each request</li> <li>Requests without proper authentication will return a <code>401 Unauthorized</code> error</li> </ul> <h3>Error Handling</h3> <p>The API returns consistent error codes and messages to help you troubleshoot issues. Each response includes a <code>statusCode</code> attribute indicating the outcome of your request.</p> <p><a href=\"https://docs.monei.com/api/errors\">View complete list of status codes →</a></p> <h3>Rate Limits</h3> <p>The API implements rate limiting to ensure stability. If you exceed the limits, requests will return a <code>429 Too Many Requests</code> status code.</p>
16+
*
17+
* The version of the OpenAPI document: 1.5.0
18+
* Generated by: https://openapi-generator.tech
19+
* OpenAPI Generator version: 6.0.1
20+
*/
21+
22+
/**
23+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
24+
* https://openapi-generator.tech
25+
* Please update the test case below to test the endpoint.
26+
*/
27+
28+
namespace OpenAPI\Client\Test\Api;
29+
30+
use \OpenAPI\Client\Configuration;
31+
use \OpenAPI\Client\ApiException;
32+
use \OpenAPI\Client\ObjectSerializer;
33+
use PHPUnit\Framework\TestCase;
34+
35+
/**
36+
* ApplePayDomainApiTest Class Doc Comment
37+
*
38+
* @category Class
39+
* @package OpenAPI\Client
40+
* @author OpenAPI Generator team
41+
* @link https://openapi-generator.tech
42+
*/
43+
class ApplePayDomainApiTest extends TestCase
44+
{
45+
46+
/**
47+
* Setup before running any test cases
48+
*/
49+
public static function setUpBeforeClass(): void
50+
{
51+
}
52+
53+
/**
54+
* Setup before running each test case
55+
*/
56+
public function setUp(): void
57+
{
58+
}
59+
60+
/**
61+
* Clean up after running each test case
62+
*/
63+
public function tearDown(): void
64+
{
65+
}
66+
67+
/**
68+
* Clean up after running all test cases
69+
*/
70+
public static function tearDownAfterClass(): void
71+
{
72+
}
73+
74+
/**
75+
* Test case for register
76+
*
77+
* Register Domain.
78+
*
79+
*/
80+
public function testRegister()
81+
{
82+
// TODO: implement
83+
$this->markTestIncomplete('Not implemented');
84+
}
85+
}

test/Api/BizumApiTest.php

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
<?php
2+
/**
3+
* BizumApiTest
4+
* PHP version 7.4
5+
*
6+
* @category Class
7+
* @package OpenAPI\Client
8+
* @author OpenAPI Generator team
9+
* @link https://openapi-generator.tech
10+
*/
11+
12+
/**
13+
* MONEI API v1
14+
*
15+
* <p>The MONEI API is organized around <a href=\"https://en.wikipedia.org/wiki/Representational_State_Transfer\">REST</a> principles. Our API is designed to be intuitive and developer-friendly.</p> <h3>Base URL</h3> <p>All API requests should be made to:</p> <pre><code>https://api.monei.com/v1 </code></pre> <h3>Environment</h3> <p>MONEI provides two environments:</p> <ul> <li><strong>Test Environment</strong>: For development and testing without processing real payments</li> <li><strong>Live Environment</strong>: For processing real transactions in production</li> </ul> <h3>Client Libraries</h3> <p>We provide official SDKs to simplify integration:</p> <ul> <li><a href=\"https://github.com/MONEI/monei-php-sdk\">PHP SDK</a></li> <li><a href=\"https://github.com/MONEI/monei-python-sdk\">Python SDK</a></li> <li><a href=\"https://github.com/MONEI/monei-node-sdk\">Node.js SDK</a></li> <li><a href=\"https://postman.monei.com/\">Postman Collection</a></li> </ul> <p>Our SDKs handle authentication, error handling, and request formatting automatically.</p> <h3>Important Requirements</h3> <ul> <li>All API requests must be made over HTTPS</li> <li>If you are not using our official SDKs, you <strong>must provide a valid <code>User-Agent</code> header</strong> with each request</li> <li>Requests without proper authentication will return a <code>401 Unauthorized</code> error</li> </ul> <h3>Error Handling</h3> <p>The API returns consistent error codes and messages to help you troubleshoot issues. Each response includes a <code>statusCode</code> attribute indicating the outcome of your request.</p> <p><a href=\"https://docs.monei.com/api/errors\">View complete list of status codes →</a></p> <h3>Rate Limits</h3> <p>The API implements rate limiting to ensure stability. If you exceed the limits, requests will return a <code>429 Too Many Requests</code> status code.</p>
16+
*
17+
* The version of the OpenAPI document: 1.5.0
18+
* Generated by: https://openapi-generator.tech
19+
* OpenAPI Generator version: 6.0.1
20+
*/
21+
22+
/**
23+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
24+
* https://openapi-generator.tech
25+
* Please update the test case below to test the endpoint.
26+
*/
27+
28+
namespace OpenAPI\Client\Test\Api;
29+
30+
use \OpenAPI\Client\Configuration;
31+
use \OpenAPI\Client\ApiException;
32+
use \OpenAPI\Client\ObjectSerializer;
33+
use PHPUnit\Framework\TestCase;
34+
35+
/**
36+
* BizumApiTest Class Doc Comment
37+
*
38+
* @category Class
39+
* @package OpenAPI\Client
40+
* @author OpenAPI Generator team
41+
* @link https://openapi-generator.tech
42+
*/
43+
class BizumApiTest extends TestCase
44+
{
45+
46+
/**
47+
* Setup before running any test cases
48+
*/
49+
public static function setUpBeforeClass(): void
50+
{
51+
}
52+
53+
/**
54+
* Setup before running each test case
55+
*/
56+
public function setUp(): void
57+
{
58+
}
59+
60+
/**
61+
* Clean up after running each test case
62+
*/
63+
public function tearDown(): void
64+
{
65+
}
66+
67+
/**
68+
* Clean up after running all test cases
69+
*/
70+
public static function tearDownAfterClass(): void
71+
{
72+
}
73+
74+
/**
75+
* Test case for validatePhone
76+
*
77+
* Validate Phone.
78+
*
79+
*/
80+
public function testValidatePhone()
81+
{
82+
// TODO: implement
83+
$this->markTestIncomplete('Not implemented');
84+
}
85+
}

0 commit comments

Comments
 (0)