Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v16.0.0-beta #573

Merged
merged 5 commits into from
Oct 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@ POSTerminalManagement: spec=TfmAPIService-v1
Payments: spec=PaymentService-v68
Recurring: spec=RecurringService-v68
Payout: spec=PayoutService-v68
Management: spec=ManagementService-v1
Management: spec=ManagementService-v3
LegalEntityManagement: spec=LegalEntityService-v3
Transfers: spec=TransferService-v3
Transfers: spec=TransferService-v4

# BalanceWebhooks
AcsWebhooks: spec=BalancePlatformAcsNotification-v1
ConfigurationWebhooks: spec=BalancePlatformConfigurationNotification-v1
ReportWebhooks: spec=BalancePlatformReportNotification-v1
TransferWebhooks: spec=BalancePlatformTransferNotification-v3
TransferWebhooks: spec=BalancePlatformTransferNotification-v4
# ManagementWebhooks
ManagementWebhooks: spec=ManagementNotificationService-v1
ManagementWebhooks: spec=ManagementNotificationService-v3

# Classic Platforms
marketpay/account: spec=AccountService-v6
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ The library supports all APIs under the following services:
| [Checkout API](https://docs.adyen.com/api-explorer/Checkout/70/overview) | Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). | [Checkout](src/Adyen/Service/Checkout) | **v70** |
| [Configuration API](https://docs.adyen.com/api-explorer/balanceplatform/2/overview) | The Configuration API enables you to create a platform where you can onboard your users as account holders and create balance accounts, cards, and business accounts. | [BalancePlatform](src/Adyen/Service/BalancePlatform/) | **v2** |
| [DataProtection API](https://docs.adyen.com/development-resources/data-protection-api) | Adyen Data Protection API provides a way for you to process [Subject Erasure Requests](https://gdpr-info.eu/art-17-gdpr/) as mandated in GDPR. Use our API to submit a request to delete shopper's data, including payment details and other related information (for example, delivery address or shopper email) | [DataProtection](src/Adyen/Service/DataProtectionApi.php) | **v1** |
| [Management API](https://docs.adyen.com/api-explorer/Management/1/overview) | Configure and manage your Adyen company and merchant accounts, stores, and payment terminals. | [Management](src/Adyen/Service/Management/) | **v1** |
| [Management API](https://docs.adyen.com/api-explorer/Management/3/overview) | Configure and manage your Adyen company and merchant accounts, stores, and payment terminals. | [Management](src/Adyen/Service/Management/) | **v3** |
| [Payments API](https://docs.adyen.com/api-explorer/Payment/68/overview) | A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. | [Payments](src/Adyen/Service/Payments) | **v68** |
| [Recurring API](https://docs.adyen.com/api-explorer/Recurring/68/overview) | The Recurring APIs allow you to manage and remove your tokens or saved payment details. Tokens should be created with validation during a payment request. | [Recurring](src/Adyen/Service/RecurringApi.php) | **v68** |
| [Payouts API](https://docs.adyen.com/api-explorer/Payout/68/overview) | A set of API endpoints that allow you to store payout details, confirm, or decline a payout. | [Payout](src/Adyen/Service/Payout) | **v68** |
| [BinLookup API](https://docs.adyen.com/api-explorer/BinLookup/54/overview) | Endpoints for retrieving information, such as cost estimates, and 3D Secure supported version based on a given BIN. Current supported version | [BinLookup](src/Adyen/Service/BinLookupApi.php) | **v54** |
| [Stored Value API](https://docs.adyen.com/payment-methods/gift-cards/stored-value-api) | Manage both online and point-of-sale gift cards and other stored-value cards. | [StoredValue](src/Adyen/Service/StoredValueApi.php) | **v46** |
| [Legal Entity Management API](https://docs.adyen.com/api-explorer/legalentity/3/overview) | The Legal Entity Management API enables you to manage legal entities that contain information required for verification | [LegalEntityManagement](src/Adyen/Service/LegalEntityManagement) | **v3** |
| [Transfers API](https://docs.adyen.com/api-explorer/transfers/3/overview) | The Transfers API provides endpoints that you can use to get information about all your transactions, move funds within your balance platform or send funds from your balance platform to a transfer instrument. | [Transfers](src/Adyen/Service/Transfers) | **v3** |
| [Transfers API](https://docs.adyen.com/api-explorer/transfers/4/overview) | The Transfers API provides endpoints that you can use to get information about all your transactions, move funds within your balance platform or send funds from your balance platform to a transfer instrument. | [Transfers](src/Adyen/Service/Transfers) | **v4** |
| [Balance Control API](https://docs.adyen.com/api-explorer/BalanceControl/1/overview) | The Balance Control API lets you transfer funds between merchant accounts that belong to the same legal entity and are under the same company account. | [BalanceControl](src/Adyen/Service/BalanceControlApi.php) | **v1** |
| [Hosted Onboarding API](https://docs.adyen.com/api-explorer/Hop/1/overview) | The Hosted onboarding API provides endpoints that you can use to generate links to Adyen-hosted pages, such as an onboarding page or a PCI compliance questionnaire. You can provide these links to your account holders so that they can complete their onboarding. | [HostedOnboardingPages](src/Adyen/Service/Hop.php) | **v1** |
| [Account API](https://docs.adyen.com/api-explorer/Account/5/overview) | The Account API provides endpoints for managing account-related entities on your platform. These related entities include account holders, accounts, bank accounts, shareholders, and verification-related documents. The management operations include actions such as creation, retrieval, updating, and deletion of them. | [Account](src/Adyen/Service/Account.php) | **v5** |
Expand All @@ -39,9 +39,9 @@ The library supports all webhooks under the following model directories:
|---------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------|-------------------|
| [Authentication Webhooks](https://docs.adyen.com/api-explorer/acs-webhook/1/overview) | Adyen sends this webhook when the process of cardholder authentication is finalized, whether it is completed successfully, fails, or expires. | [AcsWebhooks](src/Adyen/Model/AcsWebhooks) | **v1** |
| [Configuration Webhooks](https://docs.adyen.com/api-explorer/balanceplatform-webhooks/1/overview) | You can use these webhooks to build your implementation. For example, you can use this information to update internal statuses when the status of a capability is changed. | [ConfigurationWebhooks](src/Adyen/Model/ConfigurationWebhooks) | **v1** |
| [Transfer Webhooks](https://docs.adyen.com/api-explorer/transfer-webhooks/3/overview) | You can use these webhooks to build your implementation. For example, you can use this information to update balances in your own dashboards or to keep track of incoming funds. | [TransferWebhooks](src/Adyen/Model/TransferWebhooks) | **v3** |
| [Transfer Webhooks](https://docs.adyen.com/api-explorer/transfer-webhooks/4/overview) | You can use these webhooks to build your implementation. For example, you can use this information to update balances in your own dashboards or to keep track of incoming funds. | [TransferWebhooks](src/Adyen/Model/TransferWebhooks) | **v4** |
| [Report Webhooks](https://docs.adyen.com/api-explorer/report-webhooks/1/overview) | You can download reports programmatically by making an HTTP GET request, or manually from your Balance Platform Customer Area | [ReportWebhooks](src/Adyen/Model/ReportWebhooks) | **v1** |
| [Management Webhooks](https://docs.adyen.com/api-explorer/ManagementNotification/1/overview) | Adyen uses webhooks to inform your system about events that happen with your Adyen company and merchant accounts, stores, payment terminals, and payment methods when using Management API. | [ManagementWebhooks](src/Adyen/Model/ManagementWebhooks) | **v1** |
| [Management Webhooks](https://docs.adyen.com/api-explorer/ManagementNotification/3/overview) | Adyen uses webhooks to inform your system about events that happen with your Adyen company and merchant accounts, stores, payment terminals, and payment methods when using Management API. | [ManagementWebhooks](src/Adyen/Model/ManagementWebhooks) | **v3** |
| [Notification Webhooks](https://docs.adyen.com/api-explorer/Webhooks/1/overview) | We use webhooks to send you updates about payment status updates, newly available reports, and other events that you can subscribe to. For more information, refer to our documentation | [Notification](src/Adyen/Service/Notification.php) | **v1** |

For more information, refer to our [documentation](https://docs.adyen.com/) or the [API Explorer](https://docs.adyen.com/api-explorer/).
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"require-dev": {
"dms/phpunit-arraysubset-asserts": "0.5.0",
"friendsofphp/php-cs-fixer": "*",
"phpunit/phpunit": "9.6.12",
"phpunit/phpunit": "9.6.13",
"php-coveralls/php-coveralls": "2.6.0",
"squizlabs/php_codesniffer": "3.7.2"
},
Expand Down
2 changes: 1 addition & 1 deletion src/Adyen/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

class Client
{
const LIB_VERSION = "15.5.0";
const LIB_VERSION = "16.0.0-beta";
const LIB_NAME = "adyen-php-api-library";
const USER_AGENT_SUFFIX = "adyen-php-api-library/";
const ENDPOINT_TEST = "https://pal-test.adyen.com";
Expand Down
2 changes: 1 addition & 1 deletion src/Adyen/Model/Management/AdditionalCommission.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Management API
*
* The version of the OpenAPI document: 1
* The version of the OpenAPI document: 3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.4.0
*
Expand Down
2 changes: 1 addition & 1 deletion src/Adyen/Model/Management/AdditionalSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Management API
*
* The version of the OpenAPI document: 1
* The version of the OpenAPI document: 3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.4.0
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Management API
*
* The version of the OpenAPI document: 1
* The version of the OpenAPI document: 3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.4.0
*
Expand Down
2 changes: 1 addition & 1 deletion src/Adyen/Model/Management/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Management API
*
* The version of the OpenAPI document: 1
* The version of the OpenAPI document: 3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.4.0
*
Expand Down
2 changes: 1 addition & 1 deletion src/Adyen/Model/Management/AfterpayTouchInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Management API
*
* The version of the OpenAPI document: 1
* The version of the OpenAPI document: 3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.4.0
*
Expand Down
2 changes: 1 addition & 1 deletion src/Adyen/Model/Management/AllowedOrigin.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Management API
*
* The version of the OpenAPI document: 1
* The version of the OpenAPI document: 3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.4.0
*
Expand Down
2 changes: 1 addition & 1 deletion src/Adyen/Model/Management/AllowedOriginsResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Management API
*
* The version of the OpenAPI document: 1
* The version of the OpenAPI document: 3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.4.0
*
Expand Down
2 changes: 1 addition & 1 deletion src/Adyen/Model/Management/Amount.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Management API
*
* The version of the OpenAPI document: 1
* The version of the OpenAPI document: 3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.4.0
*
Expand Down
2 changes: 1 addition & 1 deletion src/Adyen/Model/Management/AndroidApp.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Management API
*
* The version of the OpenAPI document: 1
* The version of the OpenAPI document: 3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.4.0
*
Expand Down
2 changes: 1 addition & 1 deletion src/Adyen/Model/Management/AndroidAppsResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Management API
*
* The version of the OpenAPI document: 1
* The version of the OpenAPI document: 3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.4.0
*
Expand Down
2 changes: 1 addition & 1 deletion src/Adyen/Model/Management/AndroidCertificate.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Management API
*
* The version of the OpenAPI document: 1
* The version of the OpenAPI document: 3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.4.0
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Management API
*
* The version of the OpenAPI document: 1
* The version of the OpenAPI document: 3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.4.0
*
Expand Down
2 changes: 1 addition & 1 deletion src/Adyen/Model/Management/ApiCredential.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Management API
*
* The version of the OpenAPI document: 1
* The version of the OpenAPI document: 3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.4.0
*
Expand Down
2 changes: 1 addition & 1 deletion src/Adyen/Model/Management/ApiCredentialLinks.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Management API
*
* The version of the OpenAPI document: 1
* The version of the OpenAPI document: 3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.4.0
*
Expand Down
9 changes: 6 additions & 3 deletions src/Adyen/Model/Management/ApplePayInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Management API
*
* The version of the OpenAPI document: 1
* The version of the OpenAPI document: 3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.4.0
*
Expand Down Expand Up @@ -261,6 +261,9 @@ public function listInvalidProperties()
{
$invalidProperties = [];

if ($this->container['domains'] === null) {
$invalidProperties[] = "'domains' can't be null";
}
return $invalidProperties;
}

Expand All @@ -279,7 +282,7 @@ public function valid()
/**
* Gets domains
*
* @return string[]|null
* @return string[]
*/
public function getDomains()
{
Expand All @@ -289,7 +292,7 @@ public function getDomains()
/**
* Sets domains
*
* @param string[]|null $domains The list of merchant domains. Maximum: 99 domains per request. For more information, see [Apple Pay documentation](https://docs.adyen.com/payment-methods/apple-pay/web-drop-in?tab=adyen-certificate-live_1#going-live).
* @param string[] $domains The list of merchant domains. Maximum: 99 domains per request. For more information, see [Apple Pay documentation](https://docs.adyen.com/payment-methods/apple-pay/web-drop-in?tab=adyen-certificate-live_1#going-live).
*
* @return self
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Adyen/Model/Management/BcmcInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Management API
*
* The version of the OpenAPI document: 1
* The version of the OpenAPI document: 3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.4.0
*
Expand Down
2 changes: 1 addition & 1 deletion src/Adyen/Model/Management/BillingEntitiesResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Management API
*
* The version of the OpenAPI document: 1
* The version of the OpenAPI document: 3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.4.0
*
Expand Down
2 changes: 1 addition & 1 deletion src/Adyen/Model/Management/BillingEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Management API
*
* The version of the OpenAPI document: 1
* The version of the OpenAPI document: 3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.4.0
*
Expand Down
2 changes: 1 addition & 1 deletion src/Adyen/Model/Management/CardholderReceipt.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Management API
*
* The version of the OpenAPI document: 1
* The version of the OpenAPI document: 3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.4.0
*
Expand Down
2 changes: 1 addition & 1 deletion src/Adyen/Model/Management/CartesBancairesInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Management API
*
* The version of the OpenAPI document: 1
* The version of the OpenAPI document: 3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.4.0
*
Expand Down
2 changes: 1 addition & 1 deletion src/Adyen/Model/Management/ClearpayInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Management API
*
* The version of the OpenAPI document: 1
* The version of the OpenAPI document: 3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.4.0
*
Expand Down
2 changes: 1 addition & 1 deletion src/Adyen/Model/Management/Commission.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Management API
*
* The version of the OpenAPI document: 1
* The version of the OpenAPI document: 3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.4.0
*
Expand Down
2 changes: 1 addition & 1 deletion src/Adyen/Model/Management/Company.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Management API
*
* The version of the OpenAPI document: 1
* The version of the OpenAPI document: 3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.4.0
*
Expand Down
2 changes: 1 addition & 1 deletion src/Adyen/Model/Management/CompanyApiCredential.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Management API
*
* The version of the OpenAPI document: 1
* The version of the OpenAPI document: 3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.4.0
*
Expand Down
2 changes: 1 addition & 1 deletion src/Adyen/Model/Management/CompanyLinks.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Management API
*
* The version of the OpenAPI document: 1
* The version of the OpenAPI document: 3
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.4.0
*
Expand Down
Loading