WC_Legacy_Payment_Token::set_type()
Sets the type of this payment token (CC, eCheck, or something else).
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)
- -
WC_Legacy_Payment_Token::set_type() WC Legacy Payment Token::set type code WC 7.7.0
public function set_type( $type ) { wc_deprecated_function( 'WC_Payment_Token::set_type', '3.0.0', 'Type cannot be overwritten.' ); }