From aeff09e78307604e3111f272d361f66d6f511f71 Mon Sep 17 00:00:00 2001 From: xendit-devx-bot Date: Mon, 17 Feb 2025 09:10:25 +0000 Subject: [PATCH] Generated Xendit php SDK --- README.md | 4 +-- composer.json | 2 +- ...stallmentConfigurationAllowedTermsInner.md | 2 +- lib/BalanceAndTransaction/BalanceApi.php | 2 +- lib/BalanceAndTransaction/TransactionApi.php | 4 +-- lib/Configuration.php | 4 +-- lib/Customer/CustomerApi.php | 8 ++--- lib/Invoice/AddressObject.php | 2 +- lib/Invoice/AlternativeDisplayItem.php | 2 +- lib/Invoice/BadRequestError.php | 2 +- lib/Invoice/Bank.php | 2 +- lib/Invoice/BankCode.php | 2 +- lib/Invoice/ChannelProperties.php | 2 +- lib/Invoice/ChannelPropertiesCards.php | 2 +- ...ropertiesCardsInstallmentConfiguration.php | 2 +- ...tallmentConfigurationAllowedTermsInner.php | 34 +++++++++---------- lib/Invoice/CreateInvoiceRequest.php | 2 +- lib/Invoice/CustomerObject.php | 2 +- lib/Invoice/DirectDebit.php | 2 +- lib/Invoice/DirectDebitType.php | 2 +- lib/Invoice/Ewallet.php | 2 +- lib/Invoice/EwalletType.php | 2 +- lib/Invoice/ForbiddenError.php | 2 +- lib/Invoice/Invoice.php | 2 +- lib/Invoice/InvoiceApi.php | 10 +++--- lib/Invoice/InvoiceCallback.php | 2 +- lib/Invoice/InvoiceCallbackItem.php | 2 +- lib/Invoice/InvoiceClientType.php | 2 +- lib/Invoice/InvoiceCurrency.php | 2 +- .../InvoiceError404ResponseDefinition.php | 2 +- lib/Invoice/InvoiceFee.php | 2 +- lib/Invoice/InvoiceItem.php | 2 +- lib/Invoice/InvoiceNotFoundError.php | 2 +- lib/Invoice/InvoicePaymentMethod.php | 2 +- lib/Invoice/InvoiceStatus.php | 2 +- lib/Invoice/NotificationChannel.php | 2 +- lib/Invoice/NotificationPreference.php | 2 +- lib/Invoice/Paylater.php | 2 +- lib/Invoice/PaylaterType.php | 2 +- lib/Invoice/PaymentDetails.php | 2 +- lib/Invoice/QrCode.php | 2 +- lib/Invoice/QrCodeType.php | 2 +- lib/Invoice/RetailOutlet.php | 2 +- lib/Invoice/RetailOutletName.php | 2 +- lib/Invoice/ServerError.php | 2 +- lib/Invoice/UnauthorizedError.php | 2 +- lib/PaymentMethod/PaymentMethodApi.php | 16 ++++----- lib/PaymentRequest/PaymentRequestApi.php | 16 ++++----- lib/Payout/PayoutApi.php | 10 +++--- lib/Refund/RefundApi.php | 8 ++--- 50 files changed, 97 insertions(+), 97 deletions(-) diff --git a/README.md b/README.md index e719e69..6eb6560 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: 6.1.0 +* Package version: 6.2.0 # Getting Started @@ -28,7 +28,7 @@ To install the bindings via [Composer](https://getcomposer.org/), add the follow } ], "require": { - "xendit/xendit-php": "6.1.0" + "xendit/xendit-php": "6.2.0" } } ``` diff --git a/composer.json b/composer.json index 7fe3158..e54f48c 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "xendit/xendit-php", - "version": "6.1.0", + "version": "6.2.0", "description": "Xendit PHP SDK", "keywords": [ "openapitools", diff --git a/docs/Invoice/ChannelPropertiesCardsInstallmentConfigurationAllowedTermsInner.md b/docs/Invoice/ChannelPropertiesCardsInstallmentConfigurationAllowedTermsInner.md index f6a980a..29d961a 100644 --- a/docs/Invoice/ChannelPropertiesCardsInstallmentConfigurationAllowedTermsInner.md +++ b/docs/Invoice/ChannelPropertiesCardsInstallmentConfigurationAllowedTermsInner.md @@ -10,7 +10,7 @@ use Xendit\Invoice\ChannelPropertiesCardsInstallmentConfigurationAllowedTermsInn | Name | Type | Required | Description | Examples | |------------|:-------------:|:-------------:|-------------|:-------------:| | **issuer** | **string** | | The bank code of the installment provider / issuer | null | -| **allowed_terms** | **float[]** | | An array containing list of installment tenor available to choose | null | +| **terms** | **float[]** | | An array containing list of installment tenor available to choose | null | [[Back to README]](../../README.md) diff --git a/lib/BalanceAndTransaction/BalanceApi.php b/lib/BalanceAndTransaction/BalanceApi.php index b46b2b7..b8450b6 100644 --- a/lib/BalanceAndTransaction/BalanceApi.php +++ b/lib/BalanceAndTransaction/BalanceApi.php @@ -382,7 +382,7 @@ public function getBalanceRequest($account_type = 'CASH', $currency = null, $at_ // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '6.1.0'; + $defaultHeaders['xendit-lib-ver'] = '6.2.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); diff --git a/lib/BalanceAndTransaction/TransactionApi.php b/lib/BalanceAndTransaction/TransactionApi.php index 7cfe65f..8791a28 100644 --- a/lib/BalanceAndTransaction/TransactionApi.php +++ b/lib/BalanceAndTransaction/TransactionApi.php @@ -363,7 +363,7 @@ public function getTransactionByIDRequest($id, $for_user_id = null, string $cont // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '6.1.0'; + $defaultHeaders['xendit-lib-ver'] = '6.2.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -806,7 +806,7 @@ public function getAllTransactionsRequest($for_user_id = null, $types = null, $s // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '6.1.0'; + $defaultHeaders['xendit-lib-ver'] = '6.2.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); diff --git a/lib/Configuration.php b/lib/Configuration.php index 7789895..5868f5d 100644 --- a/lib/Configuration.php +++ b/lib/Configuration.php @@ -64,7 +64,7 @@ class Configuration * * @var string */ - protected $userAgent = 'OpenAPI-Generator/6.1.0/PHP'; + protected $userAgent = 'OpenAPI-Generator/6.2.0/PHP'; /** * Debug switch (default set to false) @@ -305,7 +305,7 @@ public static function toDebugReport() $report .= ' OS: ' . php_uname() . PHP_EOL; $report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL; $report .= ' The version of the OpenAPI document: 1.70.0' . PHP_EOL; - $report .= ' SDK Package Version: 6.1.0' . PHP_EOL; + $report .= ' SDK Package Version: 6.2.0' . PHP_EOL; $report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL; return $report; diff --git a/lib/Customer/CustomerApi.php b/lib/Customer/CustomerApi.php index 0436844..e3d0efc 100644 --- a/lib/Customer/CustomerApi.php +++ b/lib/Customer/CustomerApi.php @@ -369,7 +369,7 @@ public function createCustomerRequest($idempotency_key = null, $for_user_id = nu // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '6.1.0'; + $defaultHeaders['xendit-lib-ver'] = '6.2.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -628,7 +628,7 @@ public function getCustomerRequest($id, $for_user_id = null, string $contentType // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '6.1.0'; + $defaultHeaders['xendit-lib-ver'] = '6.2.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -891,7 +891,7 @@ public function getCustomerByReferenceIDRequest($reference_id, $for_user_id = nu // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '6.1.0'; + $defaultHeaders['xendit-lib-ver'] = '6.2.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -1163,7 +1163,7 @@ public function updateCustomerRequest($id, $for_user_id = null, $patch_customer // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '6.1.0'; + $defaultHeaders['xendit-lib-ver'] = '6.2.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); diff --git a/lib/Invoice/AddressObject.php b/lib/Invoice/AddressObject.php index 286a0ae..cd0a712 100644 --- a/lib/Invoice/AddressObject.php +++ b/lib/Invoice/AddressObject.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/Invoice/AlternativeDisplayItem.php b/lib/Invoice/AlternativeDisplayItem.php index 4c5f56f..916f107 100644 --- a/lib/Invoice/AlternativeDisplayItem.php +++ b/lib/Invoice/AlternativeDisplayItem.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/Invoice/BadRequestError.php b/lib/Invoice/BadRequestError.php index 355dff7..d6afbc8 100644 --- a/lib/Invoice/BadRequestError.php +++ b/lib/Invoice/BadRequestError.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/Invoice/Bank.php b/lib/Invoice/Bank.php index 8b28557..c65447b 100644 --- a/lib/Invoice/Bank.php +++ b/lib/Invoice/Bank.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/Invoice/BankCode.php b/lib/Invoice/BankCode.php index b2c1a3f..155e98d 100644 --- a/lib/Invoice/BankCode.php +++ b/lib/Invoice/BankCode.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/Invoice/ChannelProperties.php b/lib/Invoice/ChannelProperties.php index dc77585..59eadb3 100644 --- a/lib/Invoice/ChannelProperties.php +++ b/lib/Invoice/ChannelProperties.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/Invoice/ChannelPropertiesCards.php b/lib/Invoice/ChannelPropertiesCards.php index dc229b7..6ff2f41 100644 --- a/lib/Invoice/ChannelPropertiesCards.php +++ b/lib/Invoice/ChannelPropertiesCards.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/Invoice/ChannelPropertiesCardsInstallmentConfiguration.php b/lib/Invoice/ChannelPropertiesCardsInstallmentConfiguration.php index f9f2a94..3bd9155 100644 --- a/lib/Invoice/ChannelPropertiesCardsInstallmentConfiguration.php +++ b/lib/Invoice/ChannelPropertiesCardsInstallmentConfiguration.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/Invoice/ChannelPropertiesCardsInstallmentConfigurationAllowedTermsInner.php b/lib/Invoice/ChannelPropertiesCardsInstallmentConfigurationAllowedTermsInner.php index cec6508..74ce82b 100644 --- a/lib/Invoice/ChannelPropertiesCardsInstallmentConfigurationAllowedTermsInner.php +++ b/lib/Invoice/ChannelPropertiesCardsInstallmentConfigurationAllowedTermsInner.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** @@ -51,7 +51,7 @@ class ChannelPropertiesCardsInstallmentConfigurationAllowedTermsInner implements */ protected static $openAPITypes = [ 'issuer' => 'string', - 'allowed_terms' => 'float[]' + 'terms' => 'float[]' ]; /** @@ -63,7 +63,7 @@ class ChannelPropertiesCardsInstallmentConfigurationAllowedTermsInner implements */ protected static $openAPIFormats = [ 'issuer' => null, - 'allowed_terms' => null + 'terms' => null ]; /** @@ -73,7 +73,7 @@ class ChannelPropertiesCardsInstallmentConfigurationAllowedTermsInner implements */ protected static array $openAPINullables = [ 'issuer' => false, - 'allowed_terms' => false + 'terms' => false ]; /** @@ -163,7 +163,7 @@ public function isNullableSetToNull(string $property): bool */ protected static $attributeMap = [ 'issuer' => 'issuer', - 'allowed_terms' => 'allowed_terms' + 'terms' => 'terms' ]; /** @@ -173,7 +173,7 @@ public function isNullableSetToNull(string $property): bool */ protected static $setters = [ 'issuer' => 'setIssuer', - 'allowed_terms' => 'setAllowedTerms' + 'terms' => 'setTerms' ]; /** @@ -183,7 +183,7 @@ public function isNullableSetToNull(string $property): bool */ protected static $getters = [ 'issuer' => 'getIssuer', - 'allowed_terms' => 'getAllowedTerms' + 'terms' => 'getTerms' ]; /** @@ -244,7 +244,7 @@ public function getModelName() public function __construct(array $data = null) { $this->setIfExists('issuer', $data ?? [], null); - $this->setIfExists('allowed_terms', $data ?? [], null); + $this->setIfExists('terms', $data ?? [], null); } /** @@ -317,28 +317,28 @@ public function setIssuer($issuer) } /** - * Gets allowed_terms + * Gets terms * * @return float[]|null */ - public function getAllowedTerms() + public function getTerms() { - return $this->container['allowed_terms']; + return $this->container['terms']; } /** - * Sets allowed_terms + * Sets terms * - * @param float[]|null $allowed_terms An array containing list of installment tenor available to choose + * @param float[]|null $terms An array containing list of installment tenor available to choose * * @return self */ - public function setAllowedTerms($allowed_terms) + public function setTerms($terms) { - if (is_null($allowed_terms)) { - throw new \InvalidArgumentException('non-nullable allowed_terms cannot be null'); + if (is_null($terms)) { + throw new \InvalidArgumentException('non-nullable terms cannot be null'); } - $this->container['allowed_terms'] = $allowed_terms; + $this->container['terms'] = $terms; return $this; } diff --git a/lib/Invoice/CreateInvoiceRequest.php b/lib/Invoice/CreateInvoiceRequest.php index 6616235..571d6c8 100644 --- a/lib/Invoice/CreateInvoiceRequest.php +++ b/lib/Invoice/CreateInvoiceRequest.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/Invoice/CustomerObject.php b/lib/Invoice/CustomerObject.php index a732066..de61b31 100644 --- a/lib/Invoice/CustomerObject.php +++ b/lib/Invoice/CustomerObject.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/Invoice/DirectDebit.php b/lib/Invoice/DirectDebit.php index 1c93e03..b221371 100644 --- a/lib/Invoice/DirectDebit.php +++ b/lib/Invoice/DirectDebit.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/Invoice/DirectDebitType.php b/lib/Invoice/DirectDebitType.php index e513e7b..c4021c0 100644 --- a/lib/Invoice/DirectDebitType.php +++ b/lib/Invoice/DirectDebitType.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/Invoice/Ewallet.php b/lib/Invoice/Ewallet.php index cf4bc43..aa8542c 100644 --- a/lib/Invoice/Ewallet.php +++ b/lib/Invoice/Ewallet.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/Invoice/EwalletType.php b/lib/Invoice/EwalletType.php index 650f6e1..b71c120 100644 --- a/lib/Invoice/EwalletType.php +++ b/lib/Invoice/EwalletType.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/Invoice/ForbiddenError.php b/lib/Invoice/ForbiddenError.php index 1b3473a..3ba3d8c 100644 --- a/lib/Invoice/ForbiddenError.php +++ b/lib/Invoice/ForbiddenError.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/Invoice/Invoice.php b/lib/Invoice/Invoice.php index 3dee21b..5bde8b2 100644 --- a/lib/Invoice/Invoice.php +++ b/lib/Invoice/Invoice.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/Invoice/InvoiceApi.php b/lib/Invoice/InvoiceApi.php index 1c64734..72e6750 100644 --- a/lib/Invoice/InvoiceApi.php +++ b/lib/Invoice/InvoiceApi.php @@ -10,7 +10,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** @@ -365,7 +365,7 @@ public function createInvoiceRequest($create_invoice_request, $for_user_id = nul // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '6.1.0'; + $defaultHeaders['xendit-lib-ver'] = '6.2.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -624,7 +624,7 @@ public function getInvoiceByIdRequest($invoice_id, $for_user_id = null, string $ // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '6.1.0'; + $defaultHeaders['xendit-lib-ver'] = '6.2.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -1073,7 +1073,7 @@ public function getInvoicesRequest($for_user_id = null, $external_id = null, $st // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '6.1.0'; + $defaultHeaders['xendit-lib-ver'] = '6.2.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -1332,7 +1332,7 @@ public function expireInvoiceRequest($invoice_id, $for_user_id = null, string $c // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '6.1.0'; + $defaultHeaders['xendit-lib-ver'] = '6.2.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); diff --git a/lib/Invoice/InvoiceCallback.php b/lib/Invoice/InvoiceCallback.php index f73a209..2e6f9f5 100644 --- a/lib/Invoice/InvoiceCallback.php +++ b/lib/Invoice/InvoiceCallback.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/Invoice/InvoiceCallbackItem.php b/lib/Invoice/InvoiceCallbackItem.php index 6c9d708..35503dd 100644 --- a/lib/Invoice/InvoiceCallbackItem.php +++ b/lib/Invoice/InvoiceCallbackItem.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/Invoice/InvoiceClientType.php b/lib/Invoice/InvoiceClientType.php index bc87975..966fad7 100644 --- a/lib/Invoice/InvoiceClientType.php +++ b/lib/Invoice/InvoiceClientType.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/Invoice/InvoiceCurrency.php b/lib/Invoice/InvoiceCurrency.php index e43e9ef..848f899 100644 --- a/lib/Invoice/InvoiceCurrency.php +++ b/lib/Invoice/InvoiceCurrency.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/Invoice/InvoiceError404ResponseDefinition.php b/lib/Invoice/InvoiceError404ResponseDefinition.php index 45e87f8..d8d21a1 100644 --- a/lib/Invoice/InvoiceError404ResponseDefinition.php +++ b/lib/Invoice/InvoiceError404ResponseDefinition.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/Invoice/InvoiceFee.php b/lib/Invoice/InvoiceFee.php index f2a2b3e..8ab6004 100644 --- a/lib/Invoice/InvoiceFee.php +++ b/lib/Invoice/InvoiceFee.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/Invoice/InvoiceItem.php b/lib/Invoice/InvoiceItem.php index 3133034..4340262 100644 --- a/lib/Invoice/InvoiceItem.php +++ b/lib/Invoice/InvoiceItem.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/Invoice/InvoiceNotFoundError.php b/lib/Invoice/InvoiceNotFoundError.php index 522c7cb..134d9c1 100644 --- a/lib/Invoice/InvoiceNotFoundError.php +++ b/lib/Invoice/InvoiceNotFoundError.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/Invoice/InvoicePaymentMethod.php b/lib/Invoice/InvoicePaymentMethod.php index a80a5ea..51ea586 100644 --- a/lib/Invoice/InvoicePaymentMethod.php +++ b/lib/Invoice/InvoicePaymentMethod.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/Invoice/InvoiceStatus.php b/lib/Invoice/InvoiceStatus.php index c5d5e23..c3b0b50 100644 --- a/lib/Invoice/InvoiceStatus.php +++ b/lib/Invoice/InvoiceStatus.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/Invoice/NotificationChannel.php b/lib/Invoice/NotificationChannel.php index db468aa..a4d678b 100644 --- a/lib/Invoice/NotificationChannel.php +++ b/lib/Invoice/NotificationChannel.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/Invoice/NotificationPreference.php b/lib/Invoice/NotificationPreference.php index a92c08b..a31a728 100644 --- a/lib/Invoice/NotificationPreference.php +++ b/lib/Invoice/NotificationPreference.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/Invoice/Paylater.php b/lib/Invoice/Paylater.php index fba4933..9a7b6a3 100644 --- a/lib/Invoice/Paylater.php +++ b/lib/Invoice/Paylater.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/Invoice/PaylaterType.php b/lib/Invoice/PaylaterType.php index 3d76a34..88ec773 100644 --- a/lib/Invoice/PaylaterType.php +++ b/lib/Invoice/PaylaterType.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/Invoice/PaymentDetails.php b/lib/Invoice/PaymentDetails.php index fd35ea3..a67ce3a 100644 --- a/lib/Invoice/PaymentDetails.php +++ b/lib/Invoice/PaymentDetails.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/Invoice/QrCode.php b/lib/Invoice/QrCode.php index 9a7fb5b..ba2bf46 100644 --- a/lib/Invoice/QrCode.php +++ b/lib/Invoice/QrCode.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/Invoice/QrCodeType.php b/lib/Invoice/QrCodeType.php index 1783636..9e83065 100644 --- a/lib/Invoice/QrCodeType.php +++ b/lib/Invoice/QrCodeType.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/Invoice/RetailOutlet.php b/lib/Invoice/RetailOutlet.php index 01bc8c6..5be3426 100644 --- a/lib/Invoice/RetailOutlet.php +++ b/lib/Invoice/RetailOutlet.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/Invoice/RetailOutletName.php b/lib/Invoice/RetailOutletName.php index 077c96c..a1933d7 100644 --- a/lib/Invoice/RetailOutletName.php +++ b/lib/Invoice/RetailOutletName.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/Invoice/ServerError.php b/lib/Invoice/ServerError.php index ecc4aff..92a71b4 100644 --- a/lib/Invoice/ServerError.php +++ b/lib/Invoice/ServerError.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/Invoice/UnauthorizedError.php b/lib/Invoice/UnauthorizedError.php index d51c77b..60c322f 100644 --- a/lib/Invoice/UnauthorizedError.php +++ b/lib/Invoice/UnauthorizedError.php @@ -11,7 +11,7 @@ /** * xendit-invoice-service * - * The version of the OpenAPI document: 1.8.7 + * The version of the OpenAPI document: 1.8.8 */ /** diff --git a/lib/PaymentMethod/PaymentMethodApi.php b/lib/PaymentMethod/PaymentMethodApi.php index 99f75e8..b6800b2 100644 --- a/lib/PaymentMethod/PaymentMethodApi.php +++ b/lib/PaymentMethod/PaymentMethodApi.php @@ -371,7 +371,7 @@ public function createPaymentMethodRequest($for_user_id = null, $payment_method_ // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '6.1.0'; + $defaultHeaders['xendit-lib-ver'] = '6.2.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -630,7 +630,7 @@ public function getPaymentMethodByIDRequest($payment_method_id, $for_user_id = n // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '6.1.0'; + $defaultHeaders['xendit-lib-ver'] = '6.2.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -1069,7 +1069,7 @@ public function getPaymentsByPaymentMethodIdRequest($payment_method_id, $for_use // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '6.1.0'; + $defaultHeaders['xendit-lib-ver'] = '6.2.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -1341,7 +1341,7 @@ public function patchPaymentMethodRequest($payment_method_id, $for_user_id = nul // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '6.1.0'; + $defaultHeaders['xendit-lib-ver'] = '6.2.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -1718,7 +1718,7 @@ public function getAllPaymentMethodsRequest($for_user_id = null, $id = null, $ty // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '6.1.0'; + $defaultHeaders['xendit-lib-ver'] = '6.2.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -1990,7 +1990,7 @@ public function expirePaymentMethodRequest($payment_method_id, $for_user_id = nu // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '6.1.0'; + $defaultHeaders['xendit-lib-ver'] = '6.2.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -2262,7 +2262,7 @@ public function authPaymentMethodRequest($payment_method_id, $for_user_id = null // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '6.1.0'; + $defaultHeaders['xendit-lib-ver'] = '6.2.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -2497,7 +2497,7 @@ public function simulatePaymentRequest($payment_method_id, $simulate_payment_req // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '6.1.0'; + $defaultHeaders['xendit-lib-ver'] = '6.2.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); diff --git a/lib/PaymentRequest/PaymentRequestApi.php b/lib/PaymentRequest/PaymentRequestApi.php index 9e8f72d..5224676 100644 --- a/lib/PaymentRequest/PaymentRequestApi.php +++ b/lib/PaymentRequest/PaymentRequestApi.php @@ -391,7 +391,7 @@ public function createPaymentRequestRequest($idempotency_key = null, $for_user_i // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '6.1.0'; + $defaultHeaders['xendit-lib-ver'] = '6.2.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -650,7 +650,7 @@ public function getPaymentRequestByIDRequest($payment_request_id, $for_user_id = // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '6.1.0'; + $defaultHeaders['xendit-lib-ver'] = '6.2.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -924,7 +924,7 @@ public function getPaymentRequestCapturesRequest($payment_request_id, $for_user_ // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '6.1.0'; + $defaultHeaders['xendit-lib-ver'] = '6.2.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -1253,7 +1253,7 @@ public function getAllPaymentRequestsRequest($for_user_id = null, $reference_id // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '6.1.0'; + $defaultHeaders['xendit-lib-ver'] = '6.2.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -1525,7 +1525,7 @@ public function capturePaymentRequestRequest($payment_request_id, $for_user_id = // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '6.1.0'; + $defaultHeaders['xendit-lib-ver'] = '6.2.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -1797,7 +1797,7 @@ public function authorizePaymentRequestRequest($payment_request_id, $for_user_id // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '6.1.0'; + $defaultHeaders['xendit-lib-ver'] = '6.2.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -2056,7 +2056,7 @@ public function resendPaymentRequestAuthRequest($payment_request_id, $for_user_i // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '6.1.0'; + $defaultHeaders['xendit-lib-ver'] = '6.2.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -2305,7 +2305,7 @@ public function simulatePaymentRequestPaymentRequest($payment_request_id, string // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '6.1.0'; + $defaultHeaders['xendit-lib-ver'] = '6.2.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); diff --git a/lib/Payout/PayoutApi.php b/lib/Payout/PayoutApi.php index dfe45ef..c8232a1 100644 --- a/lib/Payout/PayoutApi.php +++ b/lib/Payout/PayoutApi.php @@ -378,7 +378,7 @@ public function createPayoutRequest($idempotency_key, $for_user_id = null, $crea // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '6.1.0'; + $defaultHeaders['xendit-lib-ver'] = '6.2.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -637,7 +637,7 @@ public function getPayoutByIdRequest($id, $for_user_id = null, string $contentTy // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '6.1.0'; + $defaultHeaders['xendit-lib-ver'] = '6.2.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -921,7 +921,7 @@ public function getPayoutChannelsRequest($currency = null, $channel_category = n // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '6.1.0'; + $defaultHeaders['xendit-lib-ver'] = '6.2.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -1226,7 +1226,7 @@ public function getPayoutsRequest($reference_id, $limit = null, $after_id = null // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '6.1.0'; + $defaultHeaders['xendit-lib-ver'] = '6.2.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -1485,7 +1485,7 @@ public function cancelPayoutRequest($id, $for_user_id = null, string $contentTyp // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '6.1.0'; + $defaultHeaders['xendit-lib-ver'] = '6.2.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); diff --git a/lib/Refund/RefundApi.php b/lib/Refund/RefundApi.php index ca0be2e..6fa7219 100644 --- a/lib/Refund/RefundApi.php +++ b/lib/Refund/RefundApi.php @@ -361,7 +361,7 @@ public function createRefundRequest($idempotency_key = null, $for_user_id = null // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '6.1.0'; + $defaultHeaders['xendit-lib-ver'] = '6.2.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -622,7 +622,7 @@ public function getRefundRequest($refund_id, $idempotency_key = null, $for_user_ // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '6.1.0'; + $defaultHeaders['xendit-lib-ver'] = '6.2.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -958,7 +958,7 @@ public function getAllRefundsRequest($for_user_id = null, $payment_request_id = // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '6.1.0'; + $defaultHeaders['xendit-lib-ver'] = '6.2.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); @@ -1219,7 +1219,7 @@ public function cancelRefundRequest($refund_id, $idempotency_key = null, $for_us // Xendit's custom headers $defaultHeaders['xendit-lib'] = 'php'; - $defaultHeaders['xendit-lib-ver'] = '6.1.0'; + $defaultHeaders['xendit-lib-ver'] = '6.2.0'; if ($this->config->getUserAgent()) { $defaultHeaders['User-Agent'] = $this->config->getUserAgent();