WC_Payment_Token_Data_Store_Interface::get_token_type_by_id()publicWC 1.0

Get a token's type by ID.

Method of the class: WC_Payment_Token_Data_Store_Interface{}

No Hooks.

Return

String.

Usage

$WC_Payment_Token_Data_Store_Interface = new WC_Payment_Token_Data_Store_Interface();
$WC_Payment_Token_Data_Store_Interface->get_token_type_by_id( $token_id );
$token_id(int) (required)
Token ID.

WC_Payment_Token_Data_Store_Interface::get_token_type_by_id() code WC 8.9.0

public function get_token_type_by_id( $token_id );