Class WC_Braintree_Frontend_Scripts
Methods summary
public
|
|
public
|
|
private
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
enqueue_script( string $handle, string $src = '', array $deps = array(), boolean $version = false, boolean $footer = true )
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
private
|
|
public
array
|
|
private
|
|
private
|
Properties summary
public
|
$braintree_version
|
|
private
array
|
$registered_scripts
|
#
array()
|
private
array
|
$registered_styles
|
#
array()
|
private
array
|
$enqueued_scripts
|
#
array()
|
private
array
|
$enqueued_styles
|
#
array()
|
private
array
|
$localized_scripts
|
#
array()
|
private
|
$update_payment_method_request
|
|
private
boolean
|
$client_manager_enqueued
|
#
false
|
public
array
|
$global_scripts
|
#
array(
'hosted-fields-v3' => 'https://js.braintreegateway.com/web/%1$s/js/hosted-fields.min.js',
'dropin-v3-ext' => 'https://js.braintreegateway.com/web/dropin/1.32.1/js/dropin.min.js',
'client-v3' => 'https://js.braintreegateway.com/web/%1$s/js/client.min.js',
'data-collector-v3' => 'https://js.braintreegateway.com/web/%1$s/js/data-collector.min.js',
'3ds-v3' => 'https://js.braintreegateway.com/web/%1$s/js/three-d-secure.min.js',
'paypal-v3' => 'https://js.braintreegateway.com/web/%1$s/js/paypal.min.js',
'paypal-checkout-v3' => 'https://js.braintreegateway.com/web/%1$s/js/paypal-checkout.js',
'googlepay-v3' => 'https://js.braintreegateway.com/web//%1$s/js/google-payment.min.js',
'googlepay-pay' => 'https://pay.google.com/gp/p/js/pay.js',
'applepay-v3' => 'https://js.braintreegateway.com/web/%1$s/js/apple-pay.min.js',
'venmo-v3' => 'https://js.braintreegateway.com/web/%1$s/js/venmo.min.js',
'local-payment-v3' => 'https://js.braintreegateway.com/web/%1$s/js/local-payment.min.js',
)
|
public
string
|
$prefix
|
#
'wc-braintree-'
|
public
object
|
$client_token
|