You are here

public function PaymentGatewayBase::collectsBillingInformation in Commerce Core 8.2

Gets whether the payment gateway collects billing information.

Return value

bool TRUE if the payment gateway collects billing information, FALSE otherwise.

Overrides PaymentGatewayInterface::collectsBillingInformation

File

modules/payment/src/Plugin/Commerce/PaymentGateway/PaymentGatewayBase.php, line 274

Class

PaymentGatewayBase
Provides the base class for payment gateways.

Namespace

Drupal\commerce_payment\Plugin\Commerce\PaymentGateway

Code

public function collectsBillingInformation() {
  return $this->configuration['collect_billing_information'];
}