WC_Payment_Token_Data_Store_Interface::get_tokens()publicWC 1.0

Returns an array of objects (stdObject) matching specific token criteria. Accepts token_id, user_id, gateway_id, and type. Each object should contain the fields token_id, gateway_id, token, user_id, type, is_default.

Method of the class: WC_Payment_Token_Data_Store_Interface{}

No Hooks.

Return

Array.

Usage

$WC_Payment_Token_Data_Store_Interface = new WC_Payment_Token_Data_Store_Interface();
$WC_Payment_Token_Data_Store_Interface->get_tokens( $args );
$args(array) (required)
Arguments.

WC_Payment_Token_Data_Store_Interface::get_tokens() code WC 8.6.1

public function get_tokens( $args );