
| Current Path : /var/www/html/store/web/modules/contrib/commerce_paypal/src/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/store/web/modules/contrib/commerce_paypal/src/CheckoutSdkFactoryInterface.php |
<?php
namespace Drupal\commerce_paypal;
/**
* PayPal checkout SDK factory interface.
*/
interface CheckoutSdkFactoryInterface {
/**
* Retrieves the PayPal Checkout SDK for the given config.
*
* @param array $configuration
* An associative array, containing at least these three keys:
* - mode: The API mode (e.g "test" or "live").
* - client_id: The client ID.
* - secret: The client secret.
*
* @return \Drupal\commerce_paypal\CheckoutSdk
* The PayPal Checkout SDK.
*/
public function get(array $configuration);
}