Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
PaymentTokenManagementInterface.php
Go to the documentation of this file.
1 <?php
6 namespace Magento\Vault\Api;
7 
10 
18 {
26  public function getListByCustomerId($customerId);
27 
35  public function getByPaymentId($paymentId);
36 
46  public function getByGatewayToken($token, $paymentMethodCode, $customerId);
47 
56  public function getByPublicHash($hash, $customerId);
57 
65 
74  public function addLinkToOrderPayment($paymentTokenId, $orderPaymentId);
75 }
addLinkToOrderPayment($paymentTokenId, $orderPaymentId)
$payment
Definition: order.php:17
saveTokenWithPaymentLink(PaymentTokenInterface $token, OrderPaymentInterface $payment)
getByGatewayToken($token, $paymentMethodCode, $customerId)