Class WC_Payment_Token_Braintree
- WC_Payment_Token
- WC_Payment_Token_Braintree
Direct known subclasses
WC_Payment_Token_Braintree_CC
,
WC_Payment_Token_Braintree_Local_Payment
,
WC_Payment_Token_Braintree_PayPal
,
WC_Payment_Token_Braintree_Venmo
Indirect known subclasses
WC_Payment_Token_Braintree_ApplePay
,
WC_Payment_Token_Braintree_GooglePay
Abstract
Package: Braintree\Abstracts
Version: 3.0.0
Located at abstract/abstract-class-wc-payment-token-braintree.php
Package: Braintree\Abstracts
Version: 3.0.0
Located at abstract/abstract-class-wc-payment-token-braintree.php
Methods summary
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
get_payment_method_title( $format = '' )
Return a human readable representation of the payment method. |
public
|
#
get_formats( )
Return payment method formats used to display a human readable representation of the token. |
abstract public
|
|
public
|
|
public
|
#
get_braintree_data( object $instance )
Returns an array of merged attributes comprised of the $braintree_data property. |
public
array
|
|
public
|
|
abstract public
|
Properties summary
protected
string
|
$object_type
|
#
'payment_token'
|
protected
array
|
$extra_data
|
#
array(
'payment_instrument_type' => '',
'format' => '',
'method_type' => '',
'environment' => 'production',
)
|
protected
array
|
$payment_formats
|
#
array()
|
protected
array
|
$braintree_data
|
#
array()
|
protected
string
|
$format
The format of the payment method |
#
''
|