From 93d3dbed42ccd4072c0344e8a9be6da503aa6fa2 Mon Sep 17 00:00:00 2001 From: xendit-devx-bot Date: Thu, 21 Sep 2023 06:43:12 +0000 Subject: [PATCH] Generated Xendit php SDK --- .openapi-generator/FILES | 232 ++++-------------- README.md | 4 +- composer.json | 2 +- docs/PaymentMethod.yaml | 15 +- docs/PaymentMethod/PaymentMethodApi.md | 8 +- docs/PaymentRequest.yaml | 8 +- lib/ApiException.php | 4 +- lib/BalanceAndTransaction/BalanceApi.php | 2 +- lib/BalanceAndTransaction/TransactionApi.php | 4 +- lib/Configuration.php | 10 +- lib/Invoice/InvoiceApi.php | 8 +- lib/Model/ModelInterface.php | 8 +- lib/ObjectSerializer.php | 4 +- .../GetAllPaymentMethods400Response.php | 2 + lib/PaymentMethod/PaymentMethodApi.php | 66 ++--- lib/PaymentRequest/Capture.php | 2 +- lib/PaymentRequest/CaptureListResponse.php | 2 +- lib/PaymentRequest/CaptureParameters.php | 2 +- lib/PaymentRequest/Card.php | 2 +- lib/PaymentRequest/CardChannelProperties.php | 2 +- lib/PaymentRequest/CardInformation.php | 2 +- .../CardVerificationResults.php | 2 +- .../CardVerificationResultsThreeDSecure.php | 2 +- lib/PaymentRequest/DirectDebit.php | 2 +- lib/PaymentRequest/DirectDebitAllOf.php | 2 +- lib/PaymentRequest/DirectDebitBankAccount.php | 2 +- lib/PaymentRequest/DirectDebitChannelCode.php | 2 +- .../DirectDebitChannelProperties.php | 2 +- ...irectDebitChannelPropertiesBankAccount.php | 2 +- ...rectDebitChannelPropertiesBankRedirect.php | 2 +- .../DirectDebitChannelPropertiesDebitCard.php | 2 +- lib/PaymentRequest/DirectDebitDebitCard.php | 2 +- lib/PaymentRequest/DirectDebitParameters.php | 2 +- lib/PaymentRequest/DirectDebitType.php | 2 +- lib/PaymentRequest/EWallet.php | 2 +- lib/PaymentRequest/EWalletAccount.php | 2 +- lib/PaymentRequest/EWalletAllOf.php | 2 +- lib/PaymentRequest/EWalletChannelCode.php | 2 +- .../EWalletChannelProperties.php | 2 +- lib/PaymentRequest/EWalletParameters.php | 2 +- lib/PaymentRequest/Error.php | 2 +- lib/PaymentRequest/OverTheCounter.php | 2 +- .../OverTheCounterChannelCode.php | 2 +- .../OverTheCounterChannelProperties.php | 2 +- .../OverTheCounterParameters.php | 2 +- lib/PaymentRequest/PaymentMethod.php | 2 +- .../PaymentMethodParameters.php | 2 +- .../PaymentMethodReusability.php | 2 +- lib/PaymentRequest/PaymentMethodStatus.php | 2 +- lib/PaymentRequest/PaymentMethodType.php | 2 +- lib/PaymentRequest/PaymentRequest.php | 2 +- lib/PaymentRequest/PaymentRequestAction.php | 2 +- lib/PaymentRequest/PaymentRequestApi.php | 43 +++- .../PaymentRequestAuthParameters.php | 2 +- .../PaymentRequestBasketItem.php | 2 +- .../PaymentRequestCaptureMethod.php | 2 +- .../PaymentRequestCardVerificationResults.php | 2 +- ...tCardVerificationResultsThreeDeeSecure.php | 2 +- .../PaymentRequestChannelProperties.php | 2 +- lib/PaymentRequest/PaymentRequestCountry.php | 2 +- lib/PaymentRequest/PaymentRequestCurrency.php | 2 +- .../PaymentRequestInitiator.php | 2 +- .../PaymentRequestListResponse.php | 2 +- .../PaymentRequestParameters.php | 2 +- ...mentRequestParametersChannelProperties.php | 2 +- ...equestParametersChannelPropertiesAllOf.php | 2 +- .../PaymentRequestShippingInformation.php | 2 +- lib/PaymentRequest/PaymentRequestStatus.php | 2 +- lib/PaymentRequest/QRCode.php | 2 +- lib/PaymentRequest/QRCodeChannelCode.php | 2 +- .../QRCodeChannelProperties.php | 2 +- lib/PaymentRequest/QRCodeParameters.php | 2 +- lib/PaymentRequest/VirtualAccount.php | 2 +- lib/PaymentRequest/VirtualAccountAllOf.php | 2 +- .../VirtualAccountAlternativeDisplay.php | 2 +- .../VirtualAccountChannelCode.php | 2 +- .../VirtualAccountChannelProperties.php | 2 +- .../VirtualAccountParameters.php | 2 +- lib/Payout/PayoutApi.php | 10 +- lib/Refund/RefundApi.php | 8 +- test/Api/PaymentRequestApiTest.php | 2 +- test/Model/CaptureListResponseTest.php | 2 +- test/Model/CaptureParametersTest.php | 2 +- test/Model/CaptureTest.php | 2 +- test/Model/CardInformationTest.php | 2 +- test/Model/DirectDebitAllOfTest.php | 2 +- test/Model/DirectDebitBankAccountTest.php | 2 +- test/Model/DirectDebitChannelCodeTest.php | 2 +- ...tDebitChannelPropertiesBankAccountTest.php | 2 +- ...DebitChannelPropertiesBankRedirectTest.php | 2 +- ...ectDebitChannelPropertiesDebitCardTest.php | 2 +- .../DirectDebitChannelPropertiesTest.php | 2 +- test/Model/EWalletAllOfTest.php | 2 +- test/Model/EWalletTest.php | 4 +- test/Model/ErrorTest.php | 2 +- test/Model/OverTheCounterChannelCodeTest.php | 4 +- .../OverTheCounterChannelPropertiesTest.php | 4 +- test/Model/OverTheCounterParametersTest.php | 2 +- test/Model/OverTheCounterTest.php | 2 +- test/Model/PaymentMethodParametersTest.php | 2 +- test/Model/PaymentMethodReusabilityTest.php | 2 +- test/Model/PaymentMethodStatusTest.php | 2 +- test/Model/PaymentMethodTest.php | 2 +- test/Model/PaymentMethodTypeTest.php | 2 +- test/Model/PaymentRequestActionTest.php | 2 +- .../PaymentRequestAuthParametersTest.php | 2 +- test/Model/PaymentRequestBasketItemTest.php | 2 +- .../Model/PaymentRequestCaptureMethodTest.php | 2 +- ...mentRequestCardVerificationResultsTest.php | 2 +- ...dVerificationResultsThreeDeeSecureTest.php | 2 +- .../PaymentRequestChannelPropertiesTest.php | 2 +- test/Model/PaymentRequestCountryTest.php | 2 +- test/Model/PaymentRequestCurrencyTest.php | 2 +- test/Model/PaymentRequestInitiatorTest.php | 2 +- test/Model/PaymentRequestListResponseTest.php | 2 +- ...stParametersChannelPropertiesAllOfTest.php | 2 +- ...RequestParametersChannelPropertiesTest.php | 2 +- test/Model/PaymentRequestParametersTest.php | 2 +- .../PaymentRequestShippingInformationTest.php | 2 +- test/Model/PaymentRequestStatusTest.php | 2 +- test/Model/PaymentRequestTest.php | 2 +- test/Model/VirtualAccountAllOfTest.php | 4 +- .../VirtualAccountAlternativeDisplayTest.php | 4 +- test/Model/VirtualAccountChannelCodeTest.php | 4 +- .../VirtualAccountChannelPropertiesTest.php | 4 +- test/Model/VirtualAccountParametersTest.php | 2 +- test/Model/VirtualAccountTest.php | 16 +- 127 files changed, 262 insertions(+), 422 deletions(-) diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 26a8b01..11e69a9 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -5,198 +5,54 @@ LICENSE README.md composer.json -docs/PaymentMethod.yaml -docs/PaymentMethod/BillingInformation.md -docs/PaymentMethod/Card.md -docs/PaymentMethod/CardChannelProperties.md -docs/PaymentMethod/CardParameters.md -docs/PaymentMethod/CardParametersCardInformation.md -docs/PaymentMethod/CardVerificationResults.md -docs/PaymentMethod/CardVerificationResultsThreeDSecure.md -docs/PaymentMethod/ChannelAmountLimits.md -docs/PaymentMethod/ChannelAmountLimitsAllOf.md -docs/PaymentMethod/ChannelProperty.md -docs/PaymentMethod/ChannelPropertyAllOf.md -docs/PaymentMethod/CreatePaymentMethod409Response.md -docs/PaymentMethod/CreatePaymentMethod503Response.md -docs/PaymentMethod/DirectDebit.md -docs/PaymentMethod/DirectDebitAllOf.md -docs/PaymentMethod/DirectDebitBankAccount.md -docs/PaymentMethod/DirectDebitChannelCode.md -docs/PaymentMethod/DirectDebitChannelProperties.md -docs/PaymentMethod/DirectDebitDebitCard.md -docs/PaymentMethod/DirectDebitParameters.md -docs/PaymentMethod/DirectDebitType.md -docs/PaymentMethod/EWallet.md -docs/PaymentMethod/EWalletAccount.md -docs/PaymentMethod/EWalletChannelCode.md -docs/PaymentMethod/EWalletChannelProperties.md -docs/PaymentMethod/EWalletParameters.md -docs/PaymentMethod/GetAllPaymentMethods400Response.md -docs/PaymentMethod/GetAllPaymentMethods403Response.md -docs/PaymentMethod/GetAllPaymentMethods404Response.md -docs/PaymentMethod/GetAllPaymentMethodsDefaultResponse.md -docs/PaymentMethod/OverTheCounter.md -docs/PaymentMethod/OverTheCounterChannelCode.md -docs/PaymentMethod/OverTheCounterChannelProperties.md -docs/PaymentMethod/OverTheCounterChannelPropertiesUpdate.md -docs/PaymentMethod/OverTheCounterParameters.md -docs/PaymentMethod/OverTheCounterUpdateParameters.md -docs/PaymentMethod/PaymentChannel.md -docs/PaymentMethod/PaymentChannelAllOf.md -docs/PaymentMethod/PaymentChannelList.md -docs/PaymentMethod/PaymentChannelListLinksInner.md -docs/PaymentMethod/PaymentChannelListLinksInnerAllOf.md -docs/PaymentMethod/PaymentMethod.md -docs/PaymentMethod/PaymentMethodAction.md -docs/PaymentMethod/PaymentMethodApi.md -docs/PaymentMethod/PaymentMethodAuthParameters.md -docs/PaymentMethod/PaymentMethodCountry.md -docs/PaymentMethod/PaymentMethodExpireParameters.md -docs/PaymentMethod/PaymentMethodList.md -docs/PaymentMethod/PaymentMethodParameters.md -docs/PaymentMethod/PaymentMethodReusability.md -docs/PaymentMethod/PaymentMethodStatus.md -docs/PaymentMethod/PaymentMethodType.md -docs/PaymentMethod/PaymentMethodUpdateParameters.md -docs/PaymentMethod/QRCode.md -docs/PaymentMethod/QRCodeChannelCode.md -docs/PaymentMethod/QRCodeChannelProperties.md -docs/PaymentMethod/QRCodeParameters.md -docs/PaymentMethod/SimulatePaymentRequest.md -docs/PaymentMethod/TokenizedCardInformation.md -docs/PaymentMethod/VirtualAccount.md -docs/PaymentMethod/VirtualAccountAllOf.md -docs/PaymentMethod/VirtualAccountAlternativeDisplay.md -docs/PaymentMethod/VirtualAccountChannelCode.md -docs/PaymentMethod/VirtualAccountChannelProperties.md -docs/PaymentMethod/VirtualAccountChannelPropertiesPatch.md -docs/PaymentMethod/VirtualAccountParameters.md -docs/PaymentMethod/VirtualAccountUpdateParameters.md +docs/Payout.yaml +docs/Payout/Channel.md +docs/Payout/ChannelAccountType.md +docs/Payout/ChannelAmountLimits.md +docs/Payout/ChannelCategory.md +docs/Payout/CreatePayoutRequest.md +docs/Payout/DigitalPayoutChannelProperties.md +docs/Payout/Error.md +docs/Payout/ErrorErrorsInner.md +docs/Payout/GetPayouts200Response.md +docs/Payout/GetPayouts200ResponseDataInner.md +docs/Payout/GetPayouts200ResponseLinks.md +docs/Payout/Payout.md +docs/Payout/PayoutAllOf.md +docs/Payout/PayoutApi.md +docs/Payout/ReceiptNotification.md docs/header.jpg lib/ApiException.php lib/Configuration.php lib/HeaderSelector.php lib/Model/ModelInterface.php lib/ObjectSerializer.php -lib/PaymentMethod/BillingInformation.php -lib/PaymentMethod/Card.php -lib/PaymentMethod/CardChannelProperties.php -lib/PaymentMethod/CardParameters.php -lib/PaymentMethod/CardParametersCardInformation.php -lib/PaymentMethod/CardVerificationResults.php -lib/PaymentMethod/CardVerificationResultsThreeDSecure.php -lib/PaymentMethod/ChannelAmountLimits.php -lib/PaymentMethod/ChannelAmountLimitsAllOf.php -lib/PaymentMethod/ChannelProperty.php -lib/PaymentMethod/ChannelPropertyAllOf.php -lib/PaymentMethod/CreatePaymentMethod409Response.php -lib/PaymentMethod/CreatePaymentMethod503Response.php -lib/PaymentMethod/DirectDebit.php -lib/PaymentMethod/DirectDebitAllOf.php -lib/PaymentMethod/DirectDebitBankAccount.php -lib/PaymentMethod/DirectDebitChannelCode.php -lib/PaymentMethod/DirectDebitChannelProperties.php -lib/PaymentMethod/DirectDebitDebitCard.php -lib/PaymentMethod/DirectDebitParameters.php -lib/PaymentMethod/DirectDebitType.php -lib/PaymentMethod/EWallet.php -lib/PaymentMethod/EWalletAccount.php -lib/PaymentMethod/EWalletChannelCode.php -lib/PaymentMethod/EWalletChannelProperties.php -lib/PaymentMethod/EWalletParameters.php -lib/PaymentMethod/GetAllPaymentMethods400Response.php -lib/PaymentMethod/GetAllPaymentMethods403Response.php -lib/PaymentMethod/GetAllPaymentMethods404Response.php -lib/PaymentMethod/GetAllPaymentMethodsDefaultResponse.php -lib/PaymentMethod/OverTheCounter.php -lib/PaymentMethod/OverTheCounterChannelCode.php -lib/PaymentMethod/OverTheCounterChannelProperties.php -lib/PaymentMethod/OverTheCounterChannelPropertiesUpdate.php -lib/PaymentMethod/OverTheCounterParameters.php -lib/PaymentMethod/OverTheCounterUpdateParameters.php -lib/PaymentMethod/PaymentChannel.php -lib/PaymentMethod/PaymentChannelAllOf.php -lib/PaymentMethod/PaymentChannelList.php -lib/PaymentMethod/PaymentChannelListLinksInner.php -lib/PaymentMethod/PaymentChannelListLinksInnerAllOf.php -lib/PaymentMethod/PaymentMethod.php -lib/PaymentMethod/PaymentMethodAction.php -lib/PaymentMethod/PaymentMethodApi.php -lib/PaymentMethod/PaymentMethodAuthParameters.php -lib/PaymentMethod/PaymentMethodCountry.php -lib/PaymentMethod/PaymentMethodExpireParameters.php -lib/PaymentMethod/PaymentMethodList.php -lib/PaymentMethod/PaymentMethodParameters.php -lib/PaymentMethod/PaymentMethodReusability.php -lib/PaymentMethod/PaymentMethodStatus.php -lib/PaymentMethod/PaymentMethodType.php -lib/PaymentMethod/PaymentMethodUpdateParameters.php -lib/PaymentMethod/QRCode.php -lib/PaymentMethod/QRCodeChannelCode.php -lib/PaymentMethod/QRCodeChannelProperties.php -lib/PaymentMethod/QRCodeParameters.php -lib/PaymentMethod/SimulatePaymentRequest.php -lib/PaymentMethod/TokenizedCardInformation.php -lib/PaymentMethod/VirtualAccount.php -lib/PaymentMethod/VirtualAccountAllOf.php -lib/PaymentMethod/VirtualAccountAlternativeDisplay.php -lib/PaymentMethod/VirtualAccountChannelCode.php -lib/PaymentMethod/VirtualAccountChannelProperties.php -lib/PaymentMethod/VirtualAccountChannelPropertiesPatch.php -lib/PaymentMethod/VirtualAccountParameters.php -lib/PaymentMethod/VirtualAccountUpdateParameters.php +lib/Payout/Channel.php +lib/Payout/ChannelAccountType.php +lib/Payout/ChannelAmountLimits.php +lib/Payout/ChannelCategory.php +lib/Payout/CreatePayoutRequest.php +lib/Payout/DigitalPayoutChannelProperties.php +lib/Payout/Error.php +lib/Payout/ErrorErrorsInner.php +lib/Payout/GetPayouts200Response.php +lib/Payout/GetPayouts200ResponseDataInner.php +lib/Payout/GetPayouts200ResponseLinks.php +lib/Payout/Payout.php +lib/Payout/PayoutAllOf.php +lib/Payout/PayoutApi.php +lib/Payout/ReceiptNotification.php phpunit.xml.dist -test/Api/PaymentMethodApiTest.php -test/Model/BillingInformationTest.php -test/Model/CardChannelPropertiesTest.php -test/Model/CardParametersCardInformationTest.php -test/Model/CardParametersTest.php -test/Model/CardTest.php -test/Model/CardVerificationResultsTest.php -test/Model/CardVerificationResultsThreeDSecureTest.php -test/Model/ChannelAmountLimitsAllOfTest.php -test/Model/ChannelAmountLimitsTest.php -test/Model/ChannelPropertyAllOfTest.php -test/Model/ChannelPropertyTest.php -test/Model/CreatePaymentMethod409ResponseTest.php -test/Model/CreatePaymentMethod503ResponseTest.php -test/Model/DirectDebitDebitCardTest.php -test/Model/DirectDebitParametersTest.php -test/Model/EWalletAccountTest.php -test/Model/EWalletChannelCodeTest.php -test/Model/EWalletChannelPropertiesTest.php -test/Model/EWalletParametersTest.php -test/Model/EWalletTest.php -test/Model/GetAllPaymentMethods400ResponseTest.php -test/Model/GetAllPaymentMethods403ResponseTest.php -test/Model/GetAllPaymentMethods404ResponseTest.php -test/Model/GetAllPaymentMethodsDefaultResponseTest.php -test/Model/OverTheCounterChannelCodeTest.php -test/Model/OverTheCounterChannelPropertiesTest.php -test/Model/OverTheCounterChannelPropertiesUpdateTest.php -test/Model/OverTheCounterUpdateParametersTest.php -test/Model/PaymentChannelAllOfTest.php -test/Model/PaymentChannelListLinksInnerAllOfTest.php -test/Model/PaymentChannelListLinksInnerTest.php -test/Model/PaymentChannelListTest.php -test/Model/PaymentChannelTest.php -test/Model/PaymentMethodActionTest.php -test/Model/PaymentMethodAuthParametersTest.php -test/Model/PaymentMethodCountryTest.php -test/Model/PaymentMethodExpireParametersTest.php -test/Model/PaymentMethodListTest.php -test/Model/PaymentMethodUpdateParametersTest.php -test/Model/QRCodeChannelCodeTest.php -test/Model/QRCodeChannelPropertiesTest.php -test/Model/QRCodeParametersTest.php -test/Model/QRCodeTest.php -test/Model/SimulatePaymentRequestTest.php -test/Model/TokenizedCardInformationTest.php -test/Model/VirtualAccountAllOfTest.php -test/Model/VirtualAccountAlternativeDisplayTest.php -test/Model/VirtualAccountChannelCodeTest.php -test/Model/VirtualAccountChannelPropertiesPatchTest.php -test/Model/VirtualAccountChannelPropertiesTest.php -test/Model/VirtualAccountTest.php -test/Model/VirtualAccountUpdateParametersTest.php +test/Api/PayoutApiTest.php +test/Model/ChannelAccountTypeTest.php +test/Model/ChannelCategoryTest.php +test/Model/ChannelTest.php +test/Model/CreatePayoutRequestTest.php +test/Model/DigitalPayoutChannelPropertiesTest.php +test/Model/ErrorErrorsInnerTest.php +test/Model/GetPayouts200ResponseDataInnerTest.php +test/Model/GetPayouts200ResponseLinksTest.php +test/Model/GetPayouts200ResponseTest.php +test/Model/PayoutAllOfTest.php +test/Model/PayoutTest.php +test/Model/ReceiptNotificationTest.php diff --git a/README.md b/README.md index a5ebce8..91f7fe6 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ The official Xendit PHP SDK provides a simple and convenient way to call Xendit's REST API in applications written in PHP. -* Package version: 3.0.0 +* Package version: 3.1.0 # Getting Started @@ -28,7 +28,7 @@ To install the bindings via [Composer](https://getcomposer.org/), add the follow } ], "require": { - "xendit/xendit-php": "3.0.0" + "xendit/xendit-php": "3.1.0" } } ``` diff --git a/composer.json b/composer.json index 3dde946..5538747 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "xendit/xendit-php", - "version": "3.0.0", + "version": "3.1.0", "description": "Xendit PHP SDK", "keywords": [ "openapitools", diff --git a/docs/PaymentMethod.yaml b/docs/PaymentMethod.yaml index b8da997..924a0cf 100644 --- a/docs/PaymentMethod.yaml +++ b/docs/PaymentMethod.yaml @@ -541,20 +541,6 @@ paths: schema: type: integer style: form - - explode: true - in: query - name: after_id - required: false - schema: - type: string - style: form - - explode: true - in: query - name: before_id - required: false - schema: - type: string - style: form responses: "200": content: @@ -2203,6 +2189,7 @@ components: - PAYMENT_METHOD_NOT_SUPPORTED - INCORRECT_AMOUNT - DUPLICATED_FIXED_PAYMENT_INSTRUMENT + - CURRENCY_MISMATCHED type: string message: example: An internal server error occurred diff --git a/docs/PaymentMethod/PaymentMethodApi.md b/docs/PaymentMethod/PaymentMethodApi.md index beeb29c..c49df61 100644 --- a/docs/PaymentMethod/PaymentMethodApi.md +++ b/docs/PaymentMethod/PaymentMethodApi.md @@ -358,7 +358,7 @@ No authorization required ## `getPaymentsByPaymentMethodId()` ```php -getPaymentsByPaymentMethodId($payment_method_id, $payment_request_id, $payment_method_id2, $reference_id, $payment_method_type, $channel_code, $status, $currency, $created_gte, $created_lte, $updated_gte, $updated_lte, $limit, $after_id, $before_id): object +getPaymentsByPaymentMethodId($payment_method_id, $payment_request_id, $payment_method_id2, $reference_id, $payment_method_type, $channel_code, $status, $currency, $created_gte, $created_lte, $updated_gte, $updated_lte, $limit): object ``` Returns payments with matching PaymentMethodID. @@ -390,11 +390,9 @@ $created_lte = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime $updated_gte = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime $updated_lte = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime $limit = 56; // int -$after_id = "'after_id_example'"; // string -$before_id = "'before_id_example'"; // string try { - $result = $apiInstance->getPaymentsByPaymentMethodId($payment_method_id, $payment_request_id, $payment_method_id2, $reference_id, $payment_method_type, $channel_code, $status, $currency, $created_gte, $created_lte, $updated_gte, $updated_lte, $limit, $after_id, $before_id); + $result = $apiInstance->getPaymentsByPaymentMethodId($payment_method_id, $payment_request_id, $payment_method_id2, $reference_id, $payment_method_type, $channel_code, $status, $currency, $created_gte, $created_lte, $updated_gte, $updated_lte, $limit); print_r($result); } catch (Exception $e) { echo 'Exception when calling PaymentMethodApi->getPaymentsByPaymentMethodId: ', $e->getMessage(), PHP_EOL; @@ -418,8 +416,6 @@ try { | **updated_gte** | **\DateTime**| | [optional] | | **updated_lte** | **\DateTime**| | [optional] | | **limit** | **int**| | [optional] | -| **after_id** | **string**| | [optional] | -| **before_id** | **string**| | [optional] | ### Return type diff --git a/docs/PaymentRequest.yaml b/docs/PaymentRequest.yaml index 9c8dc59..d466b29 100644 --- a/docs/PaymentRequest.yaml +++ b/docs/PaymentRequest.yaml @@ -2,7 +2,7 @@ openapi: 3.0.0 info: description: This API is used for Payment Requests title: Payment Requests - version: 1.42.3 + version: 1.44.0 servers: - description: Xendit API Server url: https://api.xendit.co @@ -112,6 +112,12 @@ paths: schema: $ref: '#/components/schemas/PaymentRequest' description: Request successful + "201": + content: + application/json: + schema: + $ref: '#/components/schemas/PaymentRequest' + description: Request successful "400": content: application/json: diff --git a/lib/ApiException.php b/lib/ApiException.php index 394b090..f0e4299 100644 --- a/lib/ApiException.php +++ b/lib/ApiException.php @@ -8,9 +8,9 @@ */ /** - * Payment Method Service v2 + * Payout Service * - * The version of the OpenAPI document: 2.87.2 + * The version of the OpenAPI document: 1.0.0 */ /** diff --git a/lib/BalanceAndTransaction/BalanceApi.php b/lib/BalanceAndTransaction/BalanceApi.php index f49e14d..e3d28d9 100644 --- a/lib/BalanceAndTransaction/BalanceApi.php +++ b/lib/BalanceAndTransaction/BalanceApi.php @@ -453,7 +453,7 @@ public function getBalanceRequest($account_type = 'CASH', $currency = null, $for // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '3.0.0'; + $defaultHeaders['xendit-lib-ver'] = '3.1.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); diff --git a/lib/BalanceAndTransaction/TransactionApi.php b/lib/BalanceAndTransaction/TransactionApi.php index 480a3be..21a3ae2 100644 --- a/lib/BalanceAndTransaction/TransactionApi.php +++ b/lib/BalanceAndTransaction/TransactionApi.php @@ -630,7 +630,7 @@ public function getAllTransactionsRequest($for_user_id = null, $types = null, $s // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '3.0.0'; + $defaultHeaders['xendit-lib-ver'] = '3.1.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -978,7 +978,7 @@ public function getTransactionByIDRequest($id, $for_user_id = null, string $cont // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '3.0.0'; + $defaultHeaders['xendit-lib-ver'] = '3.1.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); diff --git a/lib/Configuration.php b/lib/Configuration.php index 9db6eee..13b80e3 100644 --- a/lib/Configuration.php +++ b/lib/Configuration.php @@ -8,9 +8,9 @@ */ /** - * Payment Method Service v2 + * Payout Service * - * The version of the OpenAPI document: 2.87.2 + * The version of the OpenAPI document: 1.0.0 */ /** @@ -64,7 +64,7 @@ class Configuration * * @var string */ - protected $userAgent = 'OpenAPI-Generator/3.0.0/PHP'; + protected $userAgent = 'OpenAPI-Generator/3.1.0/PHP'; /** * Debug switch (default set to false) @@ -304,8 +304,8 @@ public static function toDebugReport() $report = 'PHP SDK (Xendit) Debug Report:' . PHP_EOL; $report .= ' OS: ' . php_uname() . PHP_EOL; $report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL; - $report .= ' The version of the OpenAPI document: 2.87.2' . PHP_EOL; - $report .= ' SDK Package Version: 3.0.0' . PHP_EOL; + $report .= ' The version of the OpenAPI document: 1.0.0' . PHP_EOL; + $report .= ' SDK Package Version: 3.1.0' . PHP_EOL; $report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL; return $report; diff --git a/lib/Invoice/InvoiceApi.php b/lib/Invoice/InvoiceApi.php index 80409cd..c54a143 100644 --- a/lib/Invoice/InvoiceApi.php +++ b/lib/Invoice/InvoiceApi.php @@ -487,7 +487,7 @@ public function createInvoiceRequest($create_invoice_request, string $contentTyp // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '3.0.0'; + $defaultHeaders['xendit-lib-ver'] = '3.1.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -822,7 +822,7 @@ public function expireInvoiceRequest($invoice_id, string $contentType = self::co // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '3.0.0'; + $defaultHeaders['xendit-lib-ver'] = '3.1.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -1180,7 +1180,7 @@ public function getInvoiceByIdRequest($invoice_id, string $contentType = self::c // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '3.0.0'; + $defaultHeaders['xendit-lib-ver'] = '3.1.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -1705,7 +1705,7 @@ public function getInvoicesRequest($external_id = null, $statuses = null, $limit // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '3.0.0'; + $defaultHeaders['xendit-lib-ver'] = '3.1.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); diff --git a/lib/Model/ModelInterface.php b/lib/Model/ModelInterface.php index b1c5521..c71eecf 100644 --- a/lib/Model/ModelInterface.php +++ b/lib/Model/ModelInterface.php @@ -5,13 +5,13 @@ * PHP version 7.4 * * @category Class - * @package PaymentMethod + * @package Payout */ /** - * Payment Method Service v2 + * Payout Service * - * The version of the OpenAPI document: 2.87.2 + * The version of the OpenAPI document: 1.0.0 */ /** @@ -24,7 +24,7 @@ /** * Interface abstracting model access. * - * @package PaymentMethod + * @package Payout * @author OpenAPI Generator team */ interface ModelInterface diff --git a/lib/ObjectSerializer.php b/lib/ObjectSerializer.php index 0106ee1..6705711 100644 --- a/lib/ObjectSerializer.php +++ b/lib/ObjectSerializer.php @@ -11,9 +11,9 @@ */ /** - * Payment Method Service v2 + * Payout Service * - * The version of the OpenAPI document: 2.87.2 + * The version of the OpenAPI document: 1.0.0 */ /** diff --git a/lib/PaymentMethod/GetAllPaymentMethods400Response.php b/lib/PaymentMethod/GetAllPaymentMethods400Response.php index 8afa179..c3107e3 100644 --- a/lib/PaymentMethod/GetAllPaymentMethods400Response.php +++ b/lib/PaymentMethod/GetAllPaymentMethods400Response.php @@ -241,6 +241,7 @@ public function getModelName() public const ERROR_CODE_PAYMENT_METHOD_NOT_SUPPORTED = 'PAYMENT_METHOD_NOT_SUPPORTED'; public const ERROR_CODE_INCORRECT_AMOUNT = 'INCORRECT_AMOUNT'; public const ERROR_CODE_DUPLICATED_FIXED_PAYMENT_INSTRUMENT = 'DUPLICATED_FIXED_PAYMENT_INSTRUMENT'; + public const ERROR_CODE_CURRENCY_MISMATCHED = 'CURRENCY_MISMATCHED'; /** * Gets allowable values of the enum @@ -264,6 +265,7 @@ public function getErrorCodeAllowableValues() self::ERROR_CODE_PAYMENT_METHOD_NOT_SUPPORTED, self::ERROR_CODE_INCORRECT_AMOUNT, self::ERROR_CODE_DUPLICATED_FIXED_PAYMENT_INSTRUMENT, + self::ERROR_CODE_CURRENCY_MISMATCHED, ]; } diff --git a/lib/PaymentMethod/PaymentMethodApi.php b/lib/PaymentMethod/PaymentMethodApi.php index 77509b1..01022fe 100644 --- a/lib/PaymentMethod/PaymentMethodApi.php +++ b/lib/PaymentMethod/PaymentMethodApi.php @@ -562,7 +562,7 @@ public function authPaymentMethodRequest($payment_method_id, $payment_method_aut // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '3.0.0'; + $defaultHeaders['xendit-lib-ver'] = '3.1.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -982,7 +982,7 @@ public function createPaymentMethodRequest($payment_method_parameters = null, st // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '3.0.0'; + $defaultHeaders['xendit-lib-ver'] = '3.1.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -1399,7 +1399,7 @@ public function expirePaymentMethodRequest($payment_method_id, $payment_method_e // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '3.0.0'; + $defaultHeaders['xendit-lib-ver'] = '3.1.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -1767,7 +1767,7 @@ public function getAllPaymentChannelsRequest($is_activated = true, $type = null, // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '3.0.0'; + $defaultHeaders['xendit-lib-ver'] = '3.1.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -2266,7 +2266,7 @@ public function getAllPaymentMethodsRequest($id = null, $type = null, $status = // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '3.0.0'; + $defaultHeaders['xendit-lib-ver'] = '3.1.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -2647,7 +2647,7 @@ public function getPaymentMethodByIDRequest($payment_method_id, string $contentT // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '3.0.0'; + $defaultHeaders['xendit-lib-ver'] = '3.1.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -2687,17 +2687,15 @@ public function getPaymentMethodByIDRequest($payment_method_id, string $contentT * @param \DateTime $updated_gte updated_gte (optional) * @param \DateTime $updated_lte updated_lte (optional) * @param int $limit limit (optional) - * @param string $after_id after_id (optional) - * @param string $before_id before_id (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getPaymentsByPaymentMethodId'] to see the possible values for this operation * * @throws \Xendit\ApiException on non-2xx response * @throws \InvalidArgumentException * @return Xenditobject|Xendit\PaymentMethod\GetAllPaymentMethods400Response|Xendit\PaymentMethod\GetAllPaymentMethods403Response|Xendit\PaymentMethod\GetAllPaymentMethods404Response|Xendit\PaymentMethod\CreatePaymentMethod503Response|Xendit\PaymentMethod\GetAllPaymentMethodsDefaultResponse */ - public function getPaymentsByPaymentMethodId($payment_method_id, $payment_request_id = null, $payment_method_id2 = null, $reference_id = null, $payment_method_type = null, $channel_code = null, $status = null, $currency = null, $created_gte = null, $created_lte = null, $updated_gte = null, $updated_lte = null, $limit = null, $after_id = null, $before_id = null, string $contentType = self::contentTypes['getPaymentsByPaymentMethodId'][0]) + public function getPaymentsByPaymentMethodId($payment_method_id, $payment_request_id = null, $payment_method_id2 = null, $reference_id = null, $payment_method_type = null, $channel_code = null, $status = null, $currency = null, $created_gte = null, $created_lte = null, $updated_gte = null, $updated_lte = null, $limit = null, string $contentType = self::contentTypes['getPaymentsByPaymentMethodId'][0]) { - list($response) = $this->getPaymentsByPaymentMethodIdWithHttpInfo($payment_method_id, $payment_request_id, $payment_method_id2, $reference_id, $payment_method_type, $channel_code, $status, $currency, $created_gte, $created_lte, $updated_gte, $updated_lte, $limit, $after_id, $before_id, $contentType); + list($response) = $this->getPaymentsByPaymentMethodIdWithHttpInfo($payment_method_id, $payment_request_id, $payment_method_id2, $reference_id, $payment_method_type, $channel_code, $status, $currency, $created_gte, $created_lte, $updated_gte, $updated_lte, $limit, $contentType); return $response; } @@ -2719,17 +2717,15 @@ public function getPaymentsByPaymentMethodId($payment_method_id, $payment_reques * @param \DateTime $updated_gte (optional) * @param \DateTime $updated_lte (optional) * @param int $limit (optional) - * @param string $after_id (optional) - * @param string $before_id (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getPaymentsByPaymentMethodId'] to see the possible values for this operation * * @throws \Xendit\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of Xenditobject|Xendit\PaymentMethod\GetAllPaymentMethods400Response|Xendit\PaymentMethod\GetAllPaymentMethods403Response|Xendit\PaymentMethod\GetAllPaymentMethods404Response|Xendit\PaymentMethod\CreatePaymentMethod503Response|Xendit\PaymentMethod\GetAllPaymentMethodsDefaultResponse, HTTP status code, HTTP response headers (array of strings) */ - public function getPaymentsByPaymentMethodIdWithHttpInfo($payment_method_id, $payment_request_id = null, $payment_method_id2 = null, $reference_id = null, $payment_method_type = null, $channel_code = null, $status = null, $currency = null, $created_gte = null, $created_lte = null, $updated_gte = null, $updated_lte = null, $limit = null, $after_id = null, $before_id = null, string $contentType = self::contentTypes['getPaymentsByPaymentMethodId'][0]) + public function getPaymentsByPaymentMethodIdWithHttpInfo($payment_method_id, $payment_request_id = null, $payment_method_id2 = null, $reference_id = null, $payment_method_type = null, $channel_code = null, $status = null, $currency = null, $created_gte = null, $created_lte = null, $updated_gte = null, $updated_lte = null, $limit = null, string $contentType = self::contentTypes['getPaymentsByPaymentMethodId'][0]) { - $request = $this->getPaymentsByPaymentMethodIdRequest($payment_method_id, $payment_request_id, $payment_method_id2, $reference_id, $payment_method_type, $channel_code, $status, $currency, $created_gte, $created_lte, $updated_gte, $updated_lte, $limit, $after_id, $before_id, $contentType); + $request = $this->getPaymentsByPaymentMethodIdRequest($payment_method_id, $payment_request_id, $payment_method_id2, $reference_id, $payment_method_type, $channel_code, $status, $currency, $created_gte, $created_lte, $updated_gte, $updated_lte, $limit, $contentType); try { $options = $this->createHttpClientOption(); @@ -2948,16 +2944,14 @@ public function getPaymentsByPaymentMethodIdWithHttpInfo($payment_method_id, $pa * @param Xendit\DateTime $updated_gte (optional) * @param Xendit\DateTime $updated_lte (optional) * @param Xenditint $limit (optional) - * @param Xenditstring $after_id (optional) - * @param Xenditstring $before_id (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getPaymentsByPaymentMethodId'] to see the possible values for this operation * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function getPaymentsByPaymentMethodIdAsync($payment_method_id, $payment_request_id = null, $payment_method_id2 = null, $reference_id = null, $payment_method_type = null, $channel_code = null, $status = null, $currency = null, $created_gte = null, $created_lte = null, $updated_gte = null, $updated_lte = null, $limit = null, $after_id = null, $before_id = null, string $contentType = self::contentTypes['getPaymentsByPaymentMethodId'][0]) + public function getPaymentsByPaymentMethodIdAsync($payment_method_id, $payment_request_id = null, $payment_method_id2 = null, $reference_id = null, $payment_method_type = null, $channel_code = null, $status = null, $currency = null, $created_gte = null, $created_lte = null, $updated_gte = null, $updated_lte = null, $limit = null, string $contentType = self::contentTypes['getPaymentsByPaymentMethodId'][0]) { - return $this->getPaymentsByPaymentMethodIdAsyncWithHttpInfo($payment_method_id, $payment_request_id, $payment_method_id2, $reference_id, $payment_method_type, $channel_code, $status, $currency, $created_gte, $created_lte, $updated_gte, $updated_lte, $limit, $after_id, $before_id, $contentType) + return $this->getPaymentsByPaymentMethodIdAsyncWithHttpInfo($payment_method_id, $payment_request_id, $payment_method_id2, $reference_id, $payment_method_type, $channel_code, $status, $currency, $created_gte, $created_lte, $updated_gte, $updated_lte, $limit, $contentType) ->then( function ($response) { return $response[0]; @@ -2983,17 +2977,15 @@ function ($response) { * @param Xendit\DateTime $updated_gte (optional) * @param Xendit\DateTime $updated_lte (optional) * @param Xenditint $limit (optional) - * @param Xenditstring $after_id (optional) - * @param Xenditstring $before_id (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getPaymentsByPaymentMethodId'] to see the possible values for this operation * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function getPaymentsByPaymentMethodIdAsyncWithHttpInfo($payment_method_id, $payment_request_id = null, $payment_method_id2 = null, $reference_id = null, $payment_method_type = null, $channel_code = null, $status = null, $currency = null, $created_gte = null, $created_lte = null, $updated_gte = null, $updated_lte = null, $limit = null, $after_id = null, $before_id = null, string $contentType = self::contentTypes['getPaymentsByPaymentMethodId'][0]) + public function getPaymentsByPaymentMethodIdAsyncWithHttpInfo($payment_method_id, $payment_request_id = null, $payment_method_id2 = null, $reference_id = null, $payment_method_type = null, $channel_code = null, $status = null, $currency = null, $created_gte = null, $created_lte = null, $updated_gte = null, $updated_lte = null, $limit = null, string $contentType = self::contentTypes['getPaymentsByPaymentMethodId'][0]) { $returnType = 'object'; - $request = $this->getPaymentsByPaymentMethodIdRequest($payment_method_id, $payment_request_id, $payment_method_id2, $reference_id, $payment_method_type, $channel_code, $status, $currency, $created_gte, $created_lte, $updated_gte, $updated_lte, $limit, $after_id, $before_id, $contentType); + $request = $this->getPaymentsByPaymentMethodIdRequest($payment_method_id, $payment_request_id, $payment_method_id2, $reference_id, $payment_method_type, $channel_code, $status, $currency, $created_gte, $created_lte, $updated_gte, $updated_lte, $limit, $contentType); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -3047,14 +3039,12 @@ function ($exception) { * @param \DateTime $updated_gte (optional) * @param \DateTime $updated_lte (optional) * @param int $limit (optional) - * @param string $after_id (optional) - * @param string $before_id (optional) * @param string $contentType The value for the Content-Type header. Check self::contentTypes['getPaymentsByPaymentMethodId'] to see the possible values for this operation * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - public function getPaymentsByPaymentMethodIdRequest($payment_method_id, $payment_request_id = null, $payment_method_id2 = null, $reference_id = null, $payment_method_type = null, $channel_code = null, $status = null, $currency = null, $created_gte = null, $created_lte = null, $updated_gte = null, $updated_lte = null, $limit = null, $after_id = null, $before_id = null, string $contentType = self::contentTypes['getPaymentsByPaymentMethodId'][0]) + public function getPaymentsByPaymentMethodIdRequest($payment_method_id, $payment_request_id = null, $payment_method_id2 = null, $reference_id = null, $payment_method_type = null, $channel_code = null, $status = null, $currency = null, $created_gte = null, $created_lte = null, $updated_gte = null, $updated_lte = null, $limit = null, string $contentType = self::contentTypes['getPaymentsByPaymentMethodId'][0]) { // verify the required parameter 'payment_method_id' is set @@ -3077,8 +3067,6 @@ public function getPaymentsByPaymentMethodIdRequest($payment_method_id, $payment - - $resourcePath = '/v2/payment_methods/{paymentMethodId}/payments'; $formParams = []; $queryParams = []; @@ -3194,24 +3182,6 @@ public function getPaymentsByPaymentMethodIdRequest($payment_method_id, $payment true, // explode false // required ) ?? []); - // query params - $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( - $after_id, - 'after_id', // param base name - 'string', // openApiType - 'form', // style - true, // explode - false // required - ) ?? []); - // query params - $queryParams = array_merge($queryParams, ObjectSerializer::toQueryValue( - $before_id, - 'before_id', // param base name - 'string', // openApiType - 'form', // style - true, // explode - false // required - ) ?? []); // path params if ($payment_method_id !== null) { @@ -3261,7 +3231,7 @@ public function getPaymentsByPaymentMethodIdRequest($payment_method_id, $payment // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '3.0.0'; + $defaultHeaders['xendit-lib-ver'] = '3.1.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -3655,7 +3625,7 @@ public function patchPaymentMethodRequest($payment_method_id, $payment_method_up // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '3.0.0'; + $defaultHeaders['xendit-lib-ver'] = '3.1.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -3943,7 +3913,7 @@ public function simulatePaymentRequest($payment_method_id, $simulate_payment_req // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '3.0.0'; + $defaultHeaders['xendit-lib-ver'] = '3.1.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); diff --git a/lib/PaymentRequest/Capture.php b/lib/PaymentRequest/Capture.php index 2289e22..d4034cc 100644 --- a/lib/PaymentRequest/Capture.php +++ b/lib/PaymentRequest/Capture.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/CaptureListResponse.php b/lib/PaymentRequest/CaptureListResponse.php index 39d80a4..422ae14 100644 --- a/lib/PaymentRequest/CaptureListResponse.php +++ b/lib/PaymentRequest/CaptureListResponse.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/CaptureParameters.php b/lib/PaymentRequest/CaptureParameters.php index af10f67..5928b1d 100644 --- a/lib/PaymentRequest/CaptureParameters.php +++ b/lib/PaymentRequest/CaptureParameters.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/Card.php b/lib/PaymentRequest/Card.php index 5a77fa8..69773d1 100644 --- a/lib/PaymentRequest/Card.php +++ b/lib/PaymentRequest/Card.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/CardChannelProperties.php b/lib/PaymentRequest/CardChannelProperties.php index 99c26a3..8d9f8eb 100644 --- a/lib/PaymentRequest/CardChannelProperties.php +++ b/lib/PaymentRequest/CardChannelProperties.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/CardInformation.php b/lib/PaymentRequest/CardInformation.php index c874d7c..5f8e213 100644 --- a/lib/PaymentRequest/CardInformation.php +++ b/lib/PaymentRequest/CardInformation.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/CardVerificationResults.php b/lib/PaymentRequest/CardVerificationResults.php index 310b72d..45a424c 100644 --- a/lib/PaymentRequest/CardVerificationResults.php +++ b/lib/PaymentRequest/CardVerificationResults.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/CardVerificationResultsThreeDSecure.php b/lib/PaymentRequest/CardVerificationResultsThreeDSecure.php index 4bbbdea..a51bdf0 100644 --- a/lib/PaymentRequest/CardVerificationResultsThreeDSecure.php +++ b/lib/PaymentRequest/CardVerificationResultsThreeDSecure.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/DirectDebit.php b/lib/PaymentRequest/DirectDebit.php index 4b52940..0d2350f 100644 --- a/lib/PaymentRequest/DirectDebit.php +++ b/lib/PaymentRequest/DirectDebit.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/DirectDebitAllOf.php b/lib/PaymentRequest/DirectDebitAllOf.php index f727205..4f6d5ce 100644 --- a/lib/PaymentRequest/DirectDebitAllOf.php +++ b/lib/PaymentRequest/DirectDebitAllOf.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/DirectDebitBankAccount.php b/lib/PaymentRequest/DirectDebitBankAccount.php index 762475d..fabe228 100644 --- a/lib/PaymentRequest/DirectDebitBankAccount.php +++ b/lib/PaymentRequest/DirectDebitBankAccount.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/DirectDebitChannelCode.php b/lib/PaymentRequest/DirectDebitChannelCode.php index 5aa29c2..e7d1502 100644 --- a/lib/PaymentRequest/DirectDebitChannelCode.php +++ b/lib/PaymentRequest/DirectDebitChannelCode.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/DirectDebitChannelProperties.php b/lib/PaymentRequest/DirectDebitChannelProperties.php index 81e17e5..5909b66 100644 --- a/lib/PaymentRequest/DirectDebitChannelProperties.php +++ b/lib/PaymentRequest/DirectDebitChannelProperties.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/DirectDebitChannelPropertiesBankAccount.php b/lib/PaymentRequest/DirectDebitChannelPropertiesBankAccount.php index 4db672b..c304675 100644 --- a/lib/PaymentRequest/DirectDebitChannelPropertiesBankAccount.php +++ b/lib/PaymentRequest/DirectDebitChannelPropertiesBankAccount.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/DirectDebitChannelPropertiesBankRedirect.php b/lib/PaymentRequest/DirectDebitChannelPropertiesBankRedirect.php index d5e82a6..bb2df2f 100644 --- a/lib/PaymentRequest/DirectDebitChannelPropertiesBankRedirect.php +++ b/lib/PaymentRequest/DirectDebitChannelPropertiesBankRedirect.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/DirectDebitChannelPropertiesDebitCard.php b/lib/PaymentRequest/DirectDebitChannelPropertiesDebitCard.php index ea0f844..3366ac0 100644 --- a/lib/PaymentRequest/DirectDebitChannelPropertiesDebitCard.php +++ b/lib/PaymentRequest/DirectDebitChannelPropertiesDebitCard.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/DirectDebitDebitCard.php b/lib/PaymentRequest/DirectDebitDebitCard.php index 1027cec..3036dfb 100644 --- a/lib/PaymentRequest/DirectDebitDebitCard.php +++ b/lib/PaymentRequest/DirectDebitDebitCard.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/DirectDebitParameters.php b/lib/PaymentRequest/DirectDebitParameters.php index a8307cd..f054f12 100644 --- a/lib/PaymentRequest/DirectDebitParameters.php +++ b/lib/PaymentRequest/DirectDebitParameters.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/DirectDebitType.php b/lib/PaymentRequest/DirectDebitType.php index c787b0b..123a67f 100644 --- a/lib/PaymentRequest/DirectDebitType.php +++ b/lib/PaymentRequest/DirectDebitType.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/EWallet.php b/lib/PaymentRequest/EWallet.php index 10621d4..d2ac628 100644 --- a/lib/PaymentRequest/EWallet.php +++ b/lib/PaymentRequest/EWallet.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/EWalletAccount.php b/lib/PaymentRequest/EWalletAccount.php index 0360fe1..29db0fb 100644 --- a/lib/PaymentRequest/EWalletAccount.php +++ b/lib/PaymentRequest/EWalletAccount.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/EWalletAllOf.php b/lib/PaymentRequest/EWalletAllOf.php index 0efe9ff..20057d7 100644 --- a/lib/PaymentRequest/EWalletAllOf.php +++ b/lib/PaymentRequest/EWalletAllOf.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/EWalletChannelCode.php b/lib/PaymentRequest/EWalletChannelCode.php index 6f3af45..c32ad8a 100644 --- a/lib/PaymentRequest/EWalletChannelCode.php +++ b/lib/PaymentRequest/EWalletChannelCode.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/EWalletChannelProperties.php b/lib/PaymentRequest/EWalletChannelProperties.php index d5b905f..674b905 100644 --- a/lib/PaymentRequest/EWalletChannelProperties.php +++ b/lib/PaymentRequest/EWalletChannelProperties.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/EWalletParameters.php b/lib/PaymentRequest/EWalletParameters.php index 890f243..d166466 100644 --- a/lib/PaymentRequest/EWalletParameters.php +++ b/lib/PaymentRequest/EWalletParameters.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/Error.php b/lib/PaymentRequest/Error.php index 2889ccb..b67d444 100644 --- a/lib/PaymentRequest/Error.php +++ b/lib/PaymentRequest/Error.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/OverTheCounter.php b/lib/PaymentRequest/OverTheCounter.php index de95217..fbdb8f7 100644 --- a/lib/PaymentRequest/OverTheCounter.php +++ b/lib/PaymentRequest/OverTheCounter.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/OverTheCounterChannelCode.php b/lib/PaymentRequest/OverTheCounterChannelCode.php index 9f53da3..a2b701c 100644 --- a/lib/PaymentRequest/OverTheCounterChannelCode.php +++ b/lib/PaymentRequest/OverTheCounterChannelCode.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/OverTheCounterChannelProperties.php b/lib/PaymentRequest/OverTheCounterChannelProperties.php index 87adb76..3edf40d 100644 --- a/lib/PaymentRequest/OverTheCounterChannelProperties.php +++ b/lib/PaymentRequest/OverTheCounterChannelProperties.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/OverTheCounterParameters.php b/lib/PaymentRequest/OverTheCounterParameters.php index 231257a..8652c85 100644 --- a/lib/PaymentRequest/OverTheCounterParameters.php +++ b/lib/PaymentRequest/OverTheCounterParameters.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/PaymentMethod.php b/lib/PaymentRequest/PaymentMethod.php index 3b9f2d6..0720c7d 100644 --- a/lib/PaymentRequest/PaymentMethod.php +++ b/lib/PaymentRequest/PaymentMethod.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/PaymentMethodParameters.php b/lib/PaymentRequest/PaymentMethodParameters.php index 34dfd0d..4f354b4 100644 --- a/lib/PaymentRequest/PaymentMethodParameters.php +++ b/lib/PaymentRequest/PaymentMethodParameters.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/PaymentMethodReusability.php b/lib/PaymentRequest/PaymentMethodReusability.php index a660d0d..8b632f3 100644 --- a/lib/PaymentRequest/PaymentMethodReusability.php +++ b/lib/PaymentRequest/PaymentMethodReusability.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/PaymentMethodStatus.php b/lib/PaymentRequest/PaymentMethodStatus.php index c266edf..b2123f7 100644 --- a/lib/PaymentRequest/PaymentMethodStatus.php +++ b/lib/PaymentRequest/PaymentMethodStatus.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/PaymentMethodType.php b/lib/PaymentRequest/PaymentMethodType.php index 8bf9759..5c960e4 100644 --- a/lib/PaymentRequest/PaymentMethodType.php +++ b/lib/PaymentRequest/PaymentMethodType.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/PaymentRequest.php b/lib/PaymentRequest/PaymentRequest.php index 621bee6..e4fcf92 100644 --- a/lib/PaymentRequest/PaymentRequest.php +++ b/lib/PaymentRequest/PaymentRequest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/PaymentRequestAction.php b/lib/PaymentRequest/PaymentRequestAction.php index edde1ed..b32ee7a 100644 --- a/lib/PaymentRequest/PaymentRequestAction.php +++ b/lib/PaymentRequest/PaymentRequestAction.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/PaymentRequestApi.php b/lib/PaymentRequest/PaymentRequestApi.php index 0702324..084bd80 100644 --- a/lib/PaymentRequest/PaymentRequestApi.php +++ b/lib/PaymentRequest/PaymentRequestApi.php @@ -10,7 +10,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** @@ -487,7 +487,7 @@ public function authorizePaymentRequestRequest($payment_request_id, $payment_req // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '3.0.0'; + $defaultHeaders['xendit-lib-ver'] = '3.1.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -858,7 +858,7 @@ public function capturePaymentRequestRequest($payment_request_id, $capture_param // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '3.0.0'; + $defaultHeaders['xendit-lib-ver'] = '3.1.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -891,7 +891,7 @@ public function capturePaymentRequestRequest($payment_request_id, $capture_param * * @throws \Xendit\ApiException on non-2xx response * @throws \InvalidArgumentException - * @return Xendit\PaymentRequest\PaymentRequest|Xendit\PaymentRequest\Error|Xendit\PaymentRequest\Error|Xendit\PaymentRequest\Error + * @return Xendit\PaymentRequest\PaymentRequest|Xendit\PaymentRequest\PaymentRequest|Xendit\PaymentRequest\Error|Xendit\PaymentRequest\Error|Xendit\PaymentRequest\Error */ public function createPaymentRequest($idempotency_key = null, $payment_request_parameters = null, string $contentType = self::contentTypes['createPaymentRequest'][0]) { @@ -910,7 +910,7 @@ public function createPaymentRequest($idempotency_key = null, $payment_request_p * * @throws \Xendit\ApiException on non-2xx response * @throws \InvalidArgumentException - * @return array of Xendit\PaymentRequest\PaymentRequest|Xendit\PaymentRequest\Error|Xendit\PaymentRequest\Error|Xendit\PaymentRequest\Error, HTTP status code, HTTP response headers (array of strings) + * @return array of Xendit\PaymentRequest\PaymentRequest|Xendit\PaymentRequest\PaymentRequest|Xendit\PaymentRequest\Error|Xendit\PaymentRequest\Error|Xendit\PaymentRequest\Error, HTTP status code, HTTP response headers (array of strings) */ public function createPaymentRequestWithHttpInfo($idempotency_key = null, $payment_request_parameters = null, string $contentType = self::contentTypes['createPaymentRequest'][0]) { @@ -962,6 +962,21 @@ public function createPaymentRequestWithHttpInfo($idempotency_key = null, $payme } } + return [ + ObjectSerializer::deserialize($content, 'Xendit\PaymentRequest\PaymentRequest', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 201: + if ('Xendit\PaymentRequest\PaymentRequest' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ('Xendit\PaymentRequest\PaymentRequest' !== 'string') { + $content = json_decode($content); + } + } + return [ ObjectSerializer::deserialize($content, 'Xendit\PaymentRequest\PaymentRequest', []), $response->getStatusCode(), @@ -1040,6 +1055,14 @@ public function createPaymentRequestWithHttpInfo($idempotency_key = null, $payme ); $e->setResponseObject($data); break; + case 201: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + 'Xendit\PaymentRequest\PaymentRequest', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; case 400: $data = ObjectSerializer::deserialize( $e->getResponseBody(), @@ -1219,7 +1242,7 @@ public function createPaymentRequestRequest($idempotency_key = null, $payment_re // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '3.0.0'; + $defaultHeaders['xendit-lib-ver'] = '3.1.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -1647,7 +1670,7 @@ public function getAllPaymentRequestsRequest($reference_id = null, $id = null, $ // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '3.0.0'; + $defaultHeaders['xendit-lib-ver'] = '3.1.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -2005,7 +2028,7 @@ public function getPaymentRequestByIDRequest($payment_request_id, string $conten // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '3.0.0'; + $defaultHeaders['xendit-lib-ver'] = '3.1.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -2408,7 +2431,7 @@ public function getPaymentRequestCapturesRequest($payment_request_id, $limit = n // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '3.0.0'; + $defaultHeaders['xendit-lib-ver'] = '3.1.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -2766,7 +2789,7 @@ public function resendPaymentRequestAuthRequest($payment_request_id, string $con // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '3.0.0'; + $defaultHeaders['xendit-lib-ver'] = '3.1.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); diff --git a/lib/PaymentRequest/PaymentRequestAuthParameters.php b/lib/PaymentRequest/PaymentRequestAuthParameters.php index 5ed8d82..3e992a1 100644 --- a/lib/PaymentRequest/PaymentRequestAuthParameters.php +++ b/lib/PaymentRequest/PaymentRequestAuthParameters.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/PaymentRequestBasketItem.php b/lib/PaymentRequest/PaymentRequestBasketItem.php index c029ef4..b667873 100644 --- a/lib/PaymentRequest/PaymentRequestBasketItem.php +++ b/lib/PaymentRequest/PaymentRequestBasketItem.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/PaymentRequestCaptureMethod.php b/lib/PaymentRequest/PaymentRequestCaptureMethod.php index 7309fe9..250ca79 100644 --- a/lib/PaymentRequest/PaymentRequestCaptureMethod.php +++ b/lib/PaymentRequest/PaymentRequestCaptureMethod.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/PaymentRequestCardVerificationResults.php b/lib/PaymentRequest/PaymentRequestCardVerificationResults.php index 2483bfb..0b23488 100644 --- a/lib/PaymentRequest/PaymentRequestCardVerificationResults.php +++ b/lib/PaymentRequest/PaymentRequestCardVerificationResults.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/PaymentRequestCardVerificationResultsThreeDeeSecure.php b/lib/PaymentRequest/PaymentRequestCardVerificationResultsThreeDeeSecure.php index 3698216..551f45b 100644 --- a/lib/PaymentRequest/PaymentRequestCardVerificationResultsThreeDeeSecure.php +++ b/lib/PaymentRequest/PaymentRequestCardVerificationResultsThreeDeeSecure.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/PaymentRequestChannelProperties.php b/lib/PaymentRequest/PaymentRequestChannelProperties.php index 1085a60..e975ce5 100644 --- a/lib/PaymentRequest/PaymentRequestChannelProperties.php +++ b/lib/PaymentRequest/PaymentRequestChannelProperties.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/PaymentRequestCountry.php b/lib/PaymentRequest/PaymentRequestCountry.php index cc0042c..dcd3b41 100644 --- a/lib/PaymentRequest/PaymentRequestCountry.php +++ b/lib/PaymentRequest/PaymentRequestCountry.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/PaymentRequestCurrency.php b/lib/PaymentRequest/PaymentRequestCurrency.php index 86c05b6..ba65e6c 100644 --- a/lib/PaymentRequest/PaymentRequestCurrency.php +++ b/lib/PaymentRequest/PaymentRequestCurrency.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/PaymentRequestInitiator.php b/lib/PaymentRequest/PaymentRequestInitiator.php index 49c31ce..d62b63b 100644 --- a/lib/PaymentRequest/PaymentRequestInitiator.php +++ b/lib/PaymentRequest/PaymentRequestInitiator.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/PaymentRequestListResponse.php b/lib/PaymentRequest/PaymentRequestListResponse.php index 253bd3c..8168494 100644 --- a/lib/PaymentRequest/PaymentRequestListResponse.php +++ b/lib/PaymentRequest/PaymentRequestListResponse.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/PaymentRequestParameters.php b/lib/PaymentRequest/PaymentRequestParameters.php index 730429b..b4e00b8 100644 --- a/lib/PaymentRequest/PaymentRequestParameters.php +++ b/lib/PaymentRequest/PaymentRequestParameters.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/PaymentRequestParametersChannelProperties.php b/lib/PaymentRequest/PaymentRequestParametersChannelProperties.php index 7f586ff..dd9d475 100644 --- a/lib/PaymentRequest/PaymentRequestParametersChannelProperties.php +++ b/lib/PaymentRequest/PaymentRequestParametersChannelProperties.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/PaymentRequestParametersChannelPropertiesAllOf.php b/lib/PaymentRequest/PaymentRequestParametersChannelPropertiesAllOf.php index bb80667..a351f6d 100644 --- a/lib/PaymentRequest/PaymentRequestParametersChannelPropertiesAllOf.php +++ b/lib/PaymentRequest/PaymentRequestParametersChannelPropertiesAllOf.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/PaymentRequestShippingInformation.php b/lib/PaymentRequest/PaymentRequestShippingInformation.php index 2421edc..8a15844 100644 --- a/lib/PaymentRequest/PaymentRequestShippingInformation.php +++ b/lib/PaymentRequest/PaymentRequestShippingInformation.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/PaymentRequestStatus.php b/lib/PaymentRequest/PaymentRequestStatus.php index 5b70224..620b5b5 100644 --- a/lib/PaymentRequest/PaymentRequestStatus.php +++ b/lib/PaymentRequest/PaymentRequestStatus.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/QRCode.php b/lib/PaymentRequest/QRCode.php index 1c2cddd..0d071a9 100644 --- a/lib/PaymentRequest/QRCode.php +++ b/lib/PaymentRequest/QRCode.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/QRCodeChannelCode.php b/lib/PaymentRequest/QRCodeChannelCode.php index 0aa45e5..3517704 100644 --- a/lib/PaymentRequest/QRCodeChannelCode.php +++ b/lib/PaymentRequest/QRCodeChannelCode.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/QRCodeChannelProperties.php b/lib/PaymentRequest/QRCodeChannelProperties.php index 46d8169..b964ce7 100644 --- a/lib/PaymentRequest/QRCodeChannelProperties.php +++ b/lib/PaymentRequest/QRCodeChannelProperties.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/QRCodeParameters.php b/lib/PaymentRequest/QRCodeParameters.php index 94c8cc3..ac9db27 100644 --- a/lib/PaymentRequest/QRCodeParameters.php +++ b/lib/PaymentRequest/QRCodeParameters.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/VirtualAccount.php b/lib/PaymentRequest/VirtualAccount.php index 9cfd087..459b496 100644 --- a/lib/PaymentRequest/VirtualAccount.php +++ b/lib/PaymentRequest/VirtualAccount.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/VirtualAccountAllOf.php b/lib/PaymentRequest/VirtualAccountAllOf.php index eb8f354..8acb478 100644 --- a/lib/PaymentRequest/VirtualAccountAllOf.php +++ b/lib/PaymentRequest/VirtualAccountAllOf.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/VirtualAccountAlternativeDisplay.php b/lib/PaymentRequest/VirtualAccountAlternativeDisplay.php index 4c3abec..84d6a16 100644 --- a/lib/PaymentRequest/VirtualAccountAlternativeDisplay.php +++ b/lib/PaymentRequest/VirtualAccountAlternativeDisplay.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/VirtualAccountChannelCode.php b/lib/PaymentRequest/VirtualAccountChannelCode.php index d3e5ec2..68dc4ff 100644 --- a/lib/PaymentRequest/VirtualAccountChannelCode.php +++ b/lib/PaymentRequest/VirtualAccountChannelCode.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/VirtualAccountChannelProperties.php b/lib/PaymentRequest/VirtualAccountChannelProperties.php index 55885d9..b60c360 100644 --- a/lib/PaymentRequest/VirtualAccountChannelProperties.php +++ b/lib/PaymentRequest/VirtualAccountChannelProperties.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/PaymentRequest/VirtualAccountParameters.php b/lib/PaymentRequest/VirtualAccountParameters.php index 2c67236..e3fa291 100644 --- a/lib/PaymentRequest/VirtualAccountParameters.php +++ b/lib/PaymentRequest/VirtualAccountParameters.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/lib/Payout/PayoutApi.php b/lib/Payout/PayoutApi.php index 3a6185d..d7bec5b 100644 --- a/lib/Payout/PayoutApi.php +++ b/lib/Payout/PayoutApi.php @@ -468,7 +468,7 @@ public function cancelPayoutRequest($id, string $contentType = self::contentType // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '3.0.0'; + $defaultHeaders['xendit-lib-ver'] = '3.1.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -891,7 +891,7 @@ public function createPayoutRequest($idempotency_key, $for_user_id = null, $crea // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '3.0.0'; + $defaultHeaders['xendit-lib-ver'] = '3.1.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -1272,7 +1272,7 @@ public function getPayoutByIdRequest($id, string $contentType = self::contentTyp // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '3.0.0'; + $defaultHeaders['xendit-lib-ver'] = '3.1.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -1609,7 +1609,7 @@ public function getPayoutChannelsRequest($currency = null, $channel_category = n // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '3.0.0'; + $defaultHeaders['xendit-lib-ver'] = '3.1.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -1990,7 +1990,7 @@ public function getPayoutsRequest($reference_id, $limit = null, $after_id = null // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '3.0.0'; + $defaultHeaders['xendit-lib-ver'] = '3.1.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); diff --git a/lib/Refund/RefundApi.php b/lib/Refund/RefundApi.php index b6fdcd8..1cd0d04 100644 --- a/lib/Refund/RefundApi.php +++ b/lib/Refund/RefundApi.php @@ -490,7 +490,7 @@ public function cancelRefundRequest($refund_id, $idempotency_key = null, string // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '3.0.0'; + $defaultHeaders['xendit-lib-ver'] = '3.1.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -912,7 +912,7 @@ public function createRefundRequest($idempotency_key = null, $create_refund = nu // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '3.0.0'; + $defaultHeaders['xendit-lib-ver'] = '3.1.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -1196,7 +1196,7 @@ public function getAllRefundsRequest(string $contentType = self::contentTypes['g // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '3.0.0'; + $defaultHeaders['xendit-lib-ver'] = '3.1.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -1510,7 +1510,7 @@ public function getRefundRequest($refund_id, $idempotency_key = null, string $co // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '3.0.0'; + $defaultHeaders['xendit-lib-ver'] = '3.1.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); diff --git a/test/Api/PaymentRequestApiTest.php b/test/Api/PaymentRequestApiTest.php index a38fcad..586b564 100644 --- a/test/Api/PaymentRequestApiTest.php +++ b/test/Api/PaymentRequestApiTest.php @@ -10,7 +10,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ diff --git a/test/Model/CaptureListResponseTest.php b/test/Model/CaptureListResponseTest.php index bc85223..8d91af5 100644 --- a/test/Model/CaptureListResponseTest.php +++ b/test/Model/CaptureListResponseTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/CaptureParametersTest.php b/test/Model/CaptureParametersTest.php index 36e6f2e..eff3468 100644 --- a/test/Model/CaptureParametersTest.php +++ b/test/Model/CaptureParametersTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/CaptureTest.php b/test/Model/CaptureTest.php index 0decd55..ed8ea2d 100644 --- a/test/Model/CaptureTest.php +++ b/test/Model/CaptureTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/CardInformationTest.php b/test/Model/CardInformationTest.php index 67ebb26..18e61aa 100644 --- a/test/Model/CardInformationTest.php +++ b/test/Model/CardInformationTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/DirectDebitAllOfTest.php b/test/Model/DirectDebitAllOfTest.php index 8f93a2b..a725c82 100644 --- a/test/Model/DirectDebitAllOfTest.php +++ b/test/Model/DirectDebitAllOfTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/DirectDebitBankAccountTest.php b/test/Model/DirectDebitBankAccountTest.php index 3e63c79..72d71de 100644 --- a/test/Model/DirectDebitBankAccountTest.php +++ b/test/Model/DirectDebitBankAccountTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/DirectDebitChannelCodeTest.php b/test/Model/DirectDebitChannelCodeTest.php index ecc593f..fbdfba9 100644 --- a/test/Model/DirectDebitChannelCodeTest.php +++ b/test/Model/DirectDebitChannelCodeTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/DirectDebitChannelPropertiesBankAccountTest.php b/test/Model/DirectDebitChannelPropertiesBankAccountTest.php index 2f7035b..e9e29e8 100644 --- a/test/Model/DirectDebitChannelPropertiesBankAccountTest.php +++ b/test/Model/DirectDebitChannelPropertiesBankAccountTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/DirectDebitChannelPropertiesBankRedirectTest.php b/test/Model/DirectDebitChannelPropertiesBankRedirectTest.php index 8fb79ec..177fb35 100644 --- a/test/Model/DirectDebitChannelPropertiesBankRedirectTest.php +++ b/test/Model/DirectDebitChannelPropertiesBankRedirectTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/DirectDebitChannelPropertiesDebitCardTest.php b/test/Model/DirectDebitChannelPropertiesDebitCardTest.php index 02e4c65..3190b18 100644 --- a/test/Model/DirectDebitChannelPropertiesDebitCardTest.php +++ b/test/Model/DirectDebitChannelPropertiesDebitCardTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/DirectDebitChannelPropertiesTest.php b/test/Model/DirectDebitChannelPropertiesTest.php index 52de677..d285a34 100644 --- a/test/Model/DirectDebitChannelPropertiesTest.php +++ b/test/Model/DirectDebitChannelPropertiesTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/EWalletAllOfTest.php b/test/Model/EWalletAllOfTest.php index 21c1b7f..06efbd2 100644 --- a/test/Model/EWalletAllOfTest.php +++ b/test/Model/EWalletAllOfTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/EWalletTest.php b/test/Model/EWalletTest.php index b6b59ba..8f29a7d 100644 --- a/test/Model/EWalletTest.php +++ b/test/Model/EWalletTest.php @@ -9,9 +9,9 @@ */ /** - * Payment Method Service v2 + * Payment Requests * - * The version of the OpenAPI document: 2.87.2 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/ErrorTest.php b/test/Model/ErrorTest.php index bd822af..e846943 100644 --- a/test/Model/ErrorTest.php +++ b/test/Model/ErrorTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/OverTheCounterChannelCodeTest.php b/test/Model/OverTheCounterChannelCodeTest.php index 2a6b76c..f0fee9f 100644 --- a/test/Model/OverTheCounterChannelCodeTest.php +++ b/test/Model/OverTheCounterChannelCodeTest.php @@ -9,9 +9,9 @@ */ /** - * Payment Method Service v2 + * Payment Requests * - * The version of the OpenAPI document: 2.87.2 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/OverTheCounterChannelPropertiesTest.php b/test/Model/OverTheCounterChannelPropertiesTest.php index f4a2be4..96f76c9 100644 --- a/test/Model/OverTheCounterChannelPropertiesTest.php +++ b/test/Model/OverTheCounterChannelPropertiesTest.php @@ -9,9 +9,9 @@ */ /** - * Payment Method Service v2 + * Payment Requests * - * The version of the OpenAPI document: 2.87.2 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/OverTheCounterParametersTest.php b/test/Model/OverTheCounterParametersTest.php index f67e008..7e3aaf0 100644 --- a/test/Model/OverTheCounterParametersTest.php +++ b/test/Model/OverTheCounterParametersTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/OverTheCounterTest.php b/test/Model/OverTheCounterTest.php index a3ad85a..66223b0 100644 --- a/test/Model/OverTheCounterTest.php +++ b/test/Model/OverTheCounterTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/PaymentMethodParametersTest.php b/test/Model/PaymentMethodParametersTest.php index 57e99f4..cf45fbe 100644 --- a/test/Model/PaymentMethodParametersTest.php +++ b/test/Model/PaymentMethodParametersTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/PaymentMethodReusabilityTest.php b/test/Model/PaymentMethodReusabilityTest.php index c01a4d0..0f4b247 100644 --- a/test/Model/PaymentMethodReusabilityTest.php +++ b/test/Model/PaymentMethodReusabilityTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/PaymentMethodStatusTest.php b/test/Model/PaymentMethodStatusTest.php index 0f31c4d..232f78c 100644 --- a/test/Model/PaymentMethodStatusTest.php +++ b/test/Model/PaymentMethodStatusTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/PaymentMethodTest.php b/test/Model/PaymentMethodTest.php index f3c0da7..9c43ceb 100644 --- a/test/Model/PaymentMethodTest.php +++ b/test/Model/PaymentMethodTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/PaymentMethodTypeTest.php b/test/Model/PaymentMethodTypeTest.php index 9b46ee4..36afd54 100644 --- a/test/Model/PaymentMethodTypeTest.php +++ b/test/Model/PaymentMethodTypeTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/PaymentRequestActionTest.php b/test/Model/PaymentRequestActionTest.php index 593232a..3612d8c 100644 --- a/test/Model/PaymentRequestActionTest.php +++ b/test/Model/PaymentRequestActionTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/PaymentRequestAuthParametersTest.php b/test/Model/PaymentRequestAuthParametersTest.php index 992a9c4..27a6c47 100644 --- a/test/Model/PaymentRequestAuthParametersTest.php +++ b/test/Model/PaymentRequestAuthParametersTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/PaymentRequestBasketItemTest.php b/test/Model/PaymentRequestBasketItemTest.php index be67f5e..ecaee82 100644 --- a/test/Model/PaymentRequestBasketItemTest.php +++ b/test/Model/PaymentRequestBasketItemTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/PaymentRequestCaptureMethodTest.php b/test/Model/PaymentRequestCaptureMethodTest.php index 0aac628..18d9285 100644 --- a/test/Model/PaymentRequestCaptureMethodTest.php +++ b/test/Model/PaymentRequestCaptureMethodTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/PaymentRequestCardVerificationResultsTest.php b/test/Model/PaymentRequestCardVerificationResultsTest.php index 8644196..c26427f 100644 --- a/test/Model/PaymentRequestCardVerificationResultsTest.php +++ b/test/Model/PaymentRequestCardVerificationResultsTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/PaymentRequestCardVerificationResultsThreeDeeSecureTest.php b/test/Model/PaymentRequestCardVerificationResultsThreeDeeSecureTest.php index 9e3d0a0..1f1cf1b 100644 --- a/test/Model/PaymentRequestCardVerificationResultsThreeDeeSecureTest.php +++ b/test/Model/PaymentRequestCardVerificationResultsThreeDeeSecureTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/PaymentRequestChannelPropertiesTest.php b/test/Model/PaymentRequestChannelPropertiesTest.php index e23a45b..59f3abd 100644 --- a/test/Model/PaymentRequestChannelPropertiesTest.php +++ b/test/Model/PaymentRequestChannelPropertiesTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/PaymentRequestCountryTest.php b/test/Model/PaymentRequestCountryTest.php index b9ee84d..0f4327b 100644 --- a/test/Model/PaymentRequestCountryTest.php +++ b/test/Model/PaymentRequestCountryTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/PaymentRequestCurrencyTest.php b/test/Model/PaymentRequestCurrencyTest.php index 69601ba..7d01187 100644 --- a/test/Model/PaymentRequestCurrencyTest.php +++ b/test/Model/PaymentRequestCurrencyTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/PaymentRequestInitiatorTest.php b/test/Model/PaymentRequestInitiatorTest.php index f4bc7fe..189bc56 100644 --- a/test/Model/PaymentRequestInitiatorTest.php +++ b/test/Model/PaymentRequestInitiatorTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/PaymentRequestListResponseTest.php b/test/Model/PaymentRequestListResponseTest.php index 363551a..ec0d313 100644 --- a/test/Model/PaymentRequestListResponseTest.php +++ b/test/Model/PaymentRequestListResponseTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/PaymentRequestParametersChannelPropertiesAllOfTest.php b/test/Model/PaymentRequestParametersChannelPropertiesAllOfTest.php index 834bffb..6144ce0 100644 --- a/test/Model/PaymentRequestParametersChannelPropertiesAllOfTest.php +++ b/test/Model/PaymentRequestParametersChannelPropertiesAllOfTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/PaymentRequestParametersChannelPropertiesTest.php b/test/Model/PaymentRequestParametersChannelPropertiesTest.php index 930c5ec..f3305da 100644 --- a/test/Model/PaymentRequestParametersChannelPropertiesTest.php +++ b/test/Model/PaymentRequestParametersChannelPropertiesTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/PaymentRequestParametersTest.php b/test/Model/PaymentRequestParametersTest.php index 9409b7f..0ca3a58 100644 --- a/test/Model/PaymentRequestParametersTest.php +++ b/test/Model/PaymentRequestParametersTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/PaymentRequestShippingInformationTest.php b/test/Model/PaymentRequestShippingInformationTest.php index f7d7cfd..b00d21d 100644 --- a/test/Model/PaymentRequestShippingInformationTest.php +++ b/test/Model/PaymentRequestShippingInformationTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/PaymentRequestStatusTest.php b/test/Model/PaymentRequestStatusTest.php index a5ef7e0..4919e13 100644 --- a/test/Model/PaymentRequestStatusTest.php +++ b/test/Model/PaymentRequestStatusTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/PaymentRequestTest.php b/test/Model/PaymentRequestTest.php index ed79184..59e8fc4 100644 --- a/test/Model/PaymentRequestTest.php +++ b/test/Model/PaymentRequestTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/VirtualAccountAllOfTest.php b/test/Model/VirtualAccountAllOfTest.php index a6ba0de..32490c1 100644 --- a/test/Model/VirtualAccountAllOfTest.php +++ b/test/Model/VirtualAccountAllOfTest.php @@ -9,9 +9,9 @@ */ /** - * Payment Method Service v2 + * Payment Requests * - * The version of the OpenAPI document: 2.87.2 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/VirtualAccountAlternativeDisplayTest.php b/test/Model/VirtualAccountAlternativeDisplayTest.php index 92b9a20..46ecf31 100644 --- a/test/Model/VirtualAccountAlternativeDisplayTest.php +++ b/test/Model/VirtualAccountAlternativeDisplayTest.php @@ -9,9 +9,9 @@ */ /** - * Payment Method Service v2 + * Payment Requests * - * The version of the OpenAPI document: 2.87.2 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/VirtualAccountChannelCodeTest.php b/test/Model/VirtualAccountChannelCodeTest.php index d7bdf7c..00e5ca4 100644 --- a/test/Model/VirtualAccountChannelCodeTest.php +++ b/test/Model/VirtualAccountChannelCodeTest.php @@ -9,9 +9,9 @@ */ /** - * Payment Method Service v2 + * Payment Requests * - * The version of the OpenAPI document: 2.87.2 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/VirtualAccountChannelPropertiesTest.php b/test/Model/VirtualAccountChannelPropertiesTest.php index db9a160..14d0e3d 100644 --- a/test/Model/VirtualAccountChannelPropertiesTest.php +++ b/test/Model/VirtualAccountChannelPropertiesTest.php @@ -9,9 +9,9 @@ */ /** - * Payment Method Service v2 + * Payment Requests * - * The version of the OpenAPI document: 2.87.2 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/VirtualAccountParametersTest.php b/test/Model/VirtualAccountParametersTest.php index 3c5fe01..c1eb210 100644 --- a/test/Model/VirtualAccountParametersTest.php +++ b/test/Model/VirtualAccountParametersTest.php @@ -11,7 +11,7 @@ /** * Payment Requests * - * The version of the OpenAPI document: 1.42.3 + * The version of the OpenAPI document: 1.44.0 */ /** diff --git a/test/Model/VirtualAccountTest.php b/test/Model/VirtualAccountTest.php index 6a1e89d..6c40702 100644 --- a/test/Model/VirtualAccountTest.php +++ b/test/Model/VirtualAccountTest.php @@ -9,9 +9,9 @@ */ /** - * Payment Method Service v2 + * Payment Requests * - * The version of the OpenAPI document: 2.87.2 + * The version of the OpenAPI document: 1.44.0 */ /** @@ -73,27 +73,27 @@ public function testVirtualAccount() } /** - * Test attribute "amount" + * Test attribute "min_amount" */ - public function testPropertyAmount() + public function testPropertyMinAmount() { // TODO: implement $this->markTestIncomplete('Not implemented'); } /** - * Test attribute "min_amount" + * Test attribute "max_amount" */ - public function testPropertyMinAmount() + public function testPropertyMaxAmount() { // TODO: implement $this->markTestIncomplete('Not implemented'); } /** - * Test attribute "max_amount" + * Test attribute "amount" */ - public function testPropertyMaxAmount() + public function testPropertyAmount() { // TODO: implement $this->markTestIncomplete('Not implemented');