interface CustomCardFieldsBuilderInterface in Commerce PayPal 8
Provides an interface for the hosted fields builder.
Hierarchy
- interface \Drupal\commerce_paypal\CustomCardFieldsBuilderInterface
Expanded class hierarchy of CustomCardFieldsBuilderInterface
All classes that implement CustomCardFieldsBuilderInterface
1 file declares its use of CustomCardFieldsBuilderInterface
- PaymentMethodAddForm.php in src/
PluginForm/ Checkout/ PaymentMethodAddForm.php
File
- src/
CustomCardFieldsBuilderInterface.php, line 11
Namespace
Drupal\commerce_paypalView source
interface CustomCardFieldsBuilderInterface {
/**
* Build the PayPal Checkout card form.
*
* @param \Drupal\commerce_order\Entity\OrderInterface $order
* The order.
* @param \Drupal\commerce_payment\Entity\PaymentGatewayInterface $payment_gateway
* The payment gateway.
*
* @return array
* A renderable array representing the card form.
*/
public function build(OrderInterface $order, PaymentGatewayInterface $payment_gateway);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CustomCardFieldsBuilderInterface:: |
public | function | Build the PayPal Checkout card form. | 1 |