You are here

public function Payment::getAvsResponseCodeLabel in Commerce Core 8.2

Gets the payment AVS response code label.

Return value

string|null The payment AVS response code label, or NULL if it does not exist.

Overrides PaymentInterface::getAvsResponseCodeLabel

File

modules/payment/src/Entity/Payment.php, line 183

Class

Payment
Defines the payment entity class.

Namespace

Drupal\commerce_payment\Entity

Code

public function getAvsResponseCodeLabel() {
  return $this
    ->get('avs_response_code_label')->value;
}