PHP Класс WC_Legacy_Payment_Token

Payment Tokens were introduced in 2.6.0 with create and update as methods. Major CRUD changes occurred in 2.7, so these were deprecated (save and delete still work). This legacy class is for backwards compatibility in case any code called ->read, ->update or ->create directly on the object.
Автор: WooCommerce
Наследование: extends WC_Data
Показать файл Открыть проект

Открытые методы

Метод Описание
create ( ) Create a token.
read ( $token_id ) Read a token by ID.
update ( ) Update a token.

Описание методов

create() публичный Метод

Create a token.
Устаревший: 2.7.0 - Use ::save instead.
public create ( )

read() публичный Метод

Read a token by ID.
Устаревший: 2.7.0 - Init a token class with an ID.
public read ( $token_id )

update() публичный Метод

Update a token.
Устаревший: 2.7.0 - Use ::save instead.
public update ( )