interface CheckoutSdkFactoryInterface in Commerce PayPal 8
PayPal checkout SDK factory interface.
Hierarchy
- interface \Drupal\commerce_paypal\CheckoutSdkFactoryInterface
Expanded class hierarchy of CheckoutSdkFactoryInterface
All classes that implement CheckoutSdkFactoryInterface
1 file declares its use of CheckoutSdkFactoryInterface
- CheckoutController.php in src/
Controller/ CheckoutController.php
File
- src/
CheckoutSdkFactoryInterface.php, line 8
Namespace
Drupal\commerce_paypalView source
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);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CheckoutSdkFactoryInterface:: |
public | function | Retrieves the PayPal Checkout SDK for the given config. | 1 |