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
파일 보기 프로젝트 열기: woocommerce/woocommerce

공개 메소드들

메소드 설명
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 ( )