You are here

public function PaymentGatewayInterface::buildAvsResponseCodeLabel in Commerce Core 8.2

Builds a label for the given AVS response code and card type.

Parameters

string $avs_response_code: The AVS response code.

string $card_type: The card type.

Return value

string|null The label, or NULL if not available.

1 method overrides PaymentGatewayInterface::buildAvsResponseCodeLabel()
PaymentGatewayBase::buildAvsResponseCodeLabel in modules/payment/src/Plugin/Commerce/PaymentGateway/PaymentGatewayBase.php
Builds a label for the given AVS response code and card type.

File

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

Class

PaymentGatewayInterface
Defines the base interface for payment gateways.

Namespace

Drupal\commerce_payment\Plugin\Commerce\PaymentGateway

Code

public function buildAvsResponseCodeLabel($avs_response_code, $card_type);