Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-vault
Api
PaymentTokenManagementInterface.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Vault\Api
;
7
8
use
Magento\Sales\Api\Data\OrderPaymentInterface
;
9
use
Magento\Vault\Api\Data\PaymentTokenInterface
;
10
17
interface
PaymentTokenManagementInterface
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
64
public
function
saveTokenWithPaymentLink
(
PaymentTokenInterface
$token
,
OrderPaymentInterface
$payment
);
65
74
public
function
addLinkToOrderPayment
($paymentTokenId, $orderPaymentId);
75
}
Magento\Sales\Api\Data\OrderPaymentInterface
Definition:
OrderPaymentInterface.php:17
Magento\Vault\Api\PaymentTokenManagementInterface\getByPaymentId
getByPaymentId($paymentId)
Magento\Vault\Api\PaymentTokenManagementInterface\getListByCustomerId
getListByCustomerId($customerId)
Magento\Vault\Api\PaymentTokenManagementInterface\addLinkToOrderPayment
addLinkToOrderPayment($paymentTokenId, $orderPaymentId)
$payment
$payment
Definition:
order.php:17
$token
$token
Definition:
fake_payment_token.php:14
Magento\Vault\Api\PaymentTokenManagementInterface
Definition:
PaymentTokenManagementInterface.php:17
Magento\Vault\Api\PaymentTokenManagementInterface\saveTokenWithPaymentLink
saveTokenWithPaymentLink(PaymentTokenInterface $token, OrderPaymentInterface $payment)
$customerId
$customerId
Definition:
quote_with_customer.php:16
Magento\Vault\Api\PaymentTokenManagementInterface\getByPublicHash
getByPublicHash($hash, $customerId)
Magento\Vault\Api\Data\PaymentTokenInterface
Definition:
PaymentTokenInterface.php:14
Magento\Vault\Api\PaymentTokenManagementInterface\getByGatewayToken
getByGatewayToken($token, $paymentMethodCode, $customerId)
Magento\Vault\Api