Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
getListByCustomerId ($customerId) | |
getByPaymentId ($paymentId) | |
getByGatewayToken ($token, $paymentMethodCode, $customerId) | |
getByPublicHash ($hash, $customerId) | |
saveTokenWithPaymentLink (PaymentTokenInterface $token, OrderPaymentInterface $payment) | |
addLinkToOrderPayment ($paymentTokenId, $orderPaymentId) | |
Gateway vault payment token repository interface.
@api
Definition at line 17 of file PaymentTokenManagementInterface.php.
addLinkToOrderPayment | ( | $paymentTokenId, | |
$orderPaymentId | |||
) |
Add link between payment token and order payment.
int | $paymentTokenId | Payment token ID. |
int | $orderPaymentId | Order payment ID. |
Implemented in PaymentTokenManagement.
getByGatewayToken | ( | $token, | |
$paymentMethodCode, | |||
$customerId | |||
) |
Get payment token by gateway token.
string | $token | The gateway token. |
string | $paymentMethodCode | |
int | $customerId | Customer ID. |
Implemented in PaymentTokenManagement.
getByPaymentId | ( | $paymentId | ) |
Get payment token by token Id.
int | $paymentId | The gateway payment token ID. |
Implemented in PaymentTokenManagement.
getByPublicHash | ( | $hash, | |
$customerId | |||
) |
Get payment token by public hash.
string | $hash | Public hash. |
int | $customerId | Customer ID. |
Implemented in PaymentTokenManagement.
getListByCustomerId | ( | $customerId | ) |
Lists payment tokens that match specified search criteria.
int | $customerId | Customer ID. |
Implemented in PaymentTokenManagement.
saveTokenWithPaymentLink | ( | PaymentTokenInterface | $token, |
OrderPaymentInterface | $payment | ||
) |
PaymentTokenInterface | $token | |
OrderPaymentInterface | $payment |
Implemented in PaymentTokenManagement.