You are here

interface PaymentTypeInterface in Commerce Core 8.2

Defines the interface for payment types.

Hierarchy

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\PaymentType
View 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

Namesort descending Modifiers Type Description Overrides
BundlePluginInterface::buildFieldDefinitions public function Builds the field definitions for entities of this bundle. 2
PaymentTypeInterface::getLabel public function Gets the payment type label. 1
PaymentTypeInterface::getWorkflowId public function Gets the payment workflow ID. 1
PluginInspectionInterface::getPluginDefinition public function Gets the definition of the plugin implementation. 4
PluginInspectionInterface::getPluginId public function Gets the plugin_id of the plugin instance. 2