WC_Payment_Token::get_type()
Returns the type of this payment token (CC, eCheck, or something else). Overwritten by child classes.
Method of the class: WC_Payment_Token{}
No Hooks.
Return
String
. Payment Token Type (CC, eCheck)
Usage
$WC_Payment_Token = new WC_Payment_Token(); $WC_Payment_Token->get_type( $deprecated );
- $deprecated(string)
- Deprecated since WooCommerce 3.0.
Default: ''
Changelog
Since 2.6.0 | Introduced. |
WC_Payment_Token::get_type() WC Payment Token::get type code WC 8.7.0
public function get_type( $deprecated = '' ) { return $this->type; }