interface HostedFieldsInterface in Commerce Braintree 8
Provides the interface for the HostedFields payment gateway.
Hierarchy
- interface \Drupal\commerce_payment\Plugin\Commerce\PaymentGateway\OnsitePaymentGatewayInterface; interface \Drupal\commerce_payment\Plugin\Commerce\PaymentGateway\SupportsAuthorizationsInterface; interface \Drupal\commerce_payment\Plugin\Commerce\PaymentGateway\SupportsRefundsInterface
- interface \Drupal\commerce_braintree\Plugin\Commerce\PaymentGateway\HostedFieldsInterface
Expanded class hierarchy of HostedFieldsInterface
All classes that implement HostedFieldsInterface
1 file declares its use of HostedFieldsInterface
- Braintree3DSReview.php in src/
Plugin/ Commerce/ CheckoutPane/ Braintree3DSReview.php
File
- src/
Plugin/ Commerce/ PaymentGateway/ HostedFieldsInterface.php, line 12
Namespace
Drupal\commerce_braintree\Plugin\Commerce\PaymentGatewayView source
interface HostedFieldsInterface extends OnsitePaymentGatewayInterface, SupportsAuthorizationsInterface, SupportsRefundsInterface {
/**
* Creates a payment method nonce.
*
* Used by the review checkout pane.
*
* @return /Braintree/PaymentMethodNonce
* The PaymentMethodNonce response object.
*/
public function createPaymentMethodNonce($payment_method_token);
/**
* Finds a payment method nonce.
*
* Used by the review checkout pane.
*
* @return /Braintree/PaymentMethodNonce
* The PaymentMethodNonce response object.
*/
public function findPaymentMethodNonce($payment_method_nonce);
/**
* Generates the client token.
*
* Used by the add-payment-method plugin form and review checkout pane.
*
* @return string
* The client token.
*/
public function generateClientToken();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigurableInterface:: |
public | function | Gets default configuration for this plugin. | 11 |
ConfigurableInterface:: |
public | function | Gets this plugin's configuration. | 12 |
ConfigurableInterface:: |
public | function | Sets the configuration for this plugin instance. | 12 |
DependentPluginInterface:: |
public | function | Calculates dependencies for the configured plugin. | 19 |
DerivativeInspectionInterface:: |
public | function | Gets the base_plugin_id of the plugin instance. | 1 |
DerivativeInspectionInterface:: |
public | function | Gets the derivative_id of the plugin instance. | 1 |
HostedFieldsInterface:: |
public | function | Creates a payment method nonce. | 1 |
HostedFieldsInterface:: |
public | function | Finds a payment method nonce. | 1 |
HostedFieldsInterface:: |
public | function | Generates the client token. | 1 |
PaymentGatewayInterface:: |
public | function | Builds a label for the given AVS response code and card type. | 1 |
PaymentGatewayInterface:: |
public | function | Builds the available operations for the given payment. | 1 |
PaymentGatewayInterface:: |
public | function | Gets whether the payment gateway collects billing information. | 1 |
PaymentGatewayInterface:: |
public | function | Gets the credit card types handled by the gateway. | 1 |
PaymentGatewayInterface:: |
public | function | Gets the default payment method type. | 1 |
PaymentGatewayInterface:: |
public | function | Gets the payment gateway display label. | 1 |
PaymentGatewayInterface:: |
public | function | Gets the JS library ID. | 1 |
PaymentGatewayInterface:: |
public | function | Gets the payment gateway label. | 1 |
PaymentGatewayInterface:: |
public | function | Gets the mode in which the payment gateway is operating. | 1 |
PaymentGatewayInterface:: |
public | function | Gets the payment method types handled by the payment gateway. | 1 |
PaymentGatewayInterface:: |
public | function | Gets the payment type used by the payment gateway. | 1 |
PaymentGatewayInterface:: |
public | function | Gets the supported modes. | 1 |
PaymentGatewayInterface:: |
public | function | Converts the given amount to its minor units. | 1 |
PluginFormInterface:: |
public | function | Form constructor. | 36 |
PluginFormInterface:: |
public | function | Form submission handler. | 32 |
PluginFormInterface:: |
public | function | Form validation handler. | 18 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |
PluginWithFormsInterface:: |
public | function | Gets the form class for the given operation. | |
PluginWithFormsInterface:: |
public | function | Gets whether the plugin has a form class for the given operation. | |
SupportsAuthorizationsInterface:: |
public | function | Checks whether the given payment can be captured. | |
SupportsAuthorizationsInterface:: |
public | function | Captures the given authorized payment. | 1 |
SupportsCreatingPaymentMethodsInterface:: |
public | function | Creates a payment method with the given payment details. | 1 |
SupportsRefundsInterface:: |
public | function | Checks whether the given payment can be refunded. | |
SupportsRefundsInterface:: |
public | function | Refunds the given payment. | 2 |
SupportsStoredPaymentMethodsInterface:: |
public | function | Creates a payment. | 2 |
SupportsStoredPaymentMethodsInterface:: |
public | function | Deletes the given payment method. | 2 |
SupportsVoidsInterface:: |
public | function | Checks whether the given payment can be voided. | |
SupportsVoidsInterface:: |
public | function | Voids the given payment. | 2 |