You are here

public function PaymentGatewayInterface::getLabel in Commerce Core 8.2

Gets the payment gateway label.

The label is admin-facing and usually includes the name of the used API. For example: "Braintree (Hosted Fields)".

Return value

mixed The payment gateway label.

1 method overrides PaymentGatewayInterface::getLabel()
PaymentGatewayBase::getLabel in modules/payment/src/Plugin/Commerce/PaymentGateway/PaymentGatewayBase.php
Gets the payment gateway label.

File

modules/payment/src/Plugin/Commerce/PaymentGateway/PaymentGatewayInterface.php, line 27

Class

PaymentGatewayInterface
Defines the base interface for payment gateways.

Namespace

Drupal\commerce_payment\Plugin\Commerce\PaymentGateway

Code

public function getLabel();