Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions
PaymentTokenRepositoryInterface Interface Reference
Inheritance diagram for PaymentTokenRepositoryInterface:
PaymentTokenRepository

Public Member Functions

 getList (\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria)
 
 getById ($entityId)
 
 delete (Data\PaymentTokenInterface $paymentToken)
 
 save (Data\PaymentTokenInterface $paymentToken)
 

Detailed Description

Gateway vault payment token repository interface.

@api

Since
100.1.0

Definition at line 14 of file PaymentTokenRepositoryInterface.php.

Member Function Documentation

◆ delete()

delete ( Data\PaymentTokenInterface  $paymentToken)

Deletes a specified payment token.

Parameters
\Magento\Vault\Api\Data\PaymentTokenInterface$paymentTokenThe invoice.
Returns
bool
Since
100.1.0

◆ getById()

getById (   $entityId)

Loads a specified payment token.

Parameters
int$entityIdThe payment token entity ID.
Returns
\Magento\Vault\Api\Data\PaymentTokenInterface Payment token interface.
Since
100.1.0

Implemented in PaymentTokenRepository.

◆ getList()

getList ( \Magento\Framework\Api\SearchCriteriaInterface  $searchCriteria)

Lists payment tokens that match specified search criteria.

Parameters
\Magento\Framework\Api\SearchCriteriaInterface$searchCriteriaThe search criteria.
Returns
\Magento\Vault\Api\Data\PaymentTokenSearchResultsInterface Payment token search result interface.
Since
100.1.0

◆ save()

save ( Data\PaymentTokenInterface  $paymentToken)

Performs persist operations for a specified payment token.

Parameters
\Magento\Vault\Api\Data\PaymentTokenInterface$paymentTokenThe payment token.
Returns
\Magento\Vault\Api\Data\PaymentTokenInterface Payment token interface.
Since
100.1.0

The documentation for this interface was generated from the following file: