Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct ($code='') | |
getCode (OrderPaymentInterface $orderPayment) | |
Default implementation of payment verification interface. The default code value can be configured via DI.
Definition at line 15 of file PredefinedVerificationCode.php.
__construct | ( | $code = '' | ) |
string | $code |
Definition at line 25 of file PredefinedVerificationCode.php.
getCode | ( | OrderPaymentInterface | $orderPayment | ) |
Gets payment provider verification code. Throws an exception if provided payment method is different to verification implementation.
OrderPaymentInterface | $orderPayment |
Implements PaymentVerificationInterface.
Definition at line 33 of file PredefinedVerificationCode.php.