interface PaymentTypeInterface in Commerce Core 8.2
Defines the interface for payment types.
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface
- interface \Drupal\entity\BundlePlugin\BundlePluginInterface
- interface \Drupal\commerce_payment\Plugin\Commerce\PaymentType\PaymentTypeInterface
- interface \Drupal\entity\BundlePlugin\BundlePluginInterface
Expanded class hierarchy of PaymentTypeInterface
All classes that implement PaymentTypeInterface
File
- modules/
payment/ src/ Plugin/ Commerce/ PaymentType/ PaymentTypeInterface.php, line 10
Namespace
Drupal\commerce_payment\Plugin\Commerce\PaymentTypeView source
interface PaymentTypeInterface extends BundlePluginInterface {
/**
* Gets the payment type label.
*
* @return string
* The payment type label.
*/
public function getLabel();
/**
* Gets the payment workflow ID.
*
* @return string
* The payment workflow ID.
*/
public function getWorkflowId();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BundlePluginInterface:: |
public | function | Builds the field definitions for entities of this bundle. | 2 |
PaymentTypeInterface:: |
public | function | Gets the payment type label. | 1 |
PaymentTypeInterface:: |
public | function | Gets the payment workflow ID. | 1 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |