WordPress at a glance
function is not described

WC_Legacy_Payment_Token::set_type() public WC 1.0

Sets the type of this payment token (CC, eCheck, or something else).

{} It's a method of the class: WC_Legacy_Payment_Token{}

No Hooks.

Return

Null. Nothing.

Usage

$WC_Legacy_Payment_Token = new WC_Legacy_Payment_Token();
$WC_Legacy_Payment_Token->set_type( $type );
$type (required)
-

Code of WC_Legacy_Payment_Token::set_type() WC 5.0.0

<?php
public function set_type( $type ) {
	wc_deprecated_function( 'WC_Payment_Token::set_type', '3.0.0', 'Type cannot be overwritten.' );
}