WC_Legacy_Payment_Token::set_type( $type )
Sets the type of this payment token (CC, eCheck, or something else).
Description Description
Parameters Parameters
-
(Required) Payment Token Type (CC, eCheck)
Source Source
File: includes/legacy/abstract-wc-legacy-payment-token.php
25 26 27 | public function set_type( $type ) { wc_deprecated_function( 'WC_Payment_Token::set_type' , '3.0.0' , 'Type cannot be overwritten.' ); } |