You are here

public function PaymentAwareTrait::getPayment in Payment 8.2

8 calls to PaymentAwareTrait::getPayment()
PaymentMethodBase::buildConfigurationForm in src/Plugin/Payment/Method/PaymentMethodBase.php
Form constructor.
PaymentMethodBase::capturePayment in src/Plugin/Payment/Method/PaymentMethodBase.php
Captures the payment.
PaymentMethodBase::capturePaymentAccess in src/Plugin/Payment/Method/PaymentMethodBase.php
Checks if the payment can be captured.
PaymentMethodBase::executePayment in src/Plugin/Payment/Method/PaymentMethodBase.php
Executes the payment.
PaymentMethodBase::executePaymentAccess in src/Plugin/Payment/Method/PaymentMethodBase.php
Checks if the payment can be executed.

... See full list

File

src/PaymentAwareTrait.php, line 26

Class

PaymentAwareTrait
Provides a default implementation of \Drupal\payment\PaymentAwareInterface.

Namespace

Drupal\payment

Code

public function getPayment() {
  return $this->payment;
}