WC_Payment_Token::get_type( string $deprecated = '' )

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


Description Description

Overwritten by child classes.


Parameters Parameters

$deprecated

(Optional) Deprecated since WooCommerce 3.0.

Default value: ''


Top ↑

Return Return

(string) Payment Token Type (CC, eCheck)


Top ↑

Source Source

File: includes/abstracts/abstract-wc-payment-token.php

	public function get_type( $deprecated = '' ) {
		return $this->type;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
2.6.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.