Table of Contents
Constants
-
DATA_KEY
= 'wcStripeLinkParams'
Properties
-
$account_settings
: WC_Stripe_Account_Settings
-
$assets
: AssetsApi
-
$card_settings
: mixed
-
$data_api
: AssetDataApi
-
$enabled
: bool
-
$instance
: mixed
-
$settings
: WC_Stripe_Advanced_Settings
-
$supported_countries
: mixed
-
$supported_payment_methods
: mixed
Methods
-
__construct()
: mixed
-
add_billing_email_priority()
: mixed
-
add_confirmation_args()
: void
-
add_payment_method_type()
: mixed
-
add_script_params()
: mixed
-
add_setup_intent_params()
: mixed
-
add_setup_intent_params_v2()
: mixed
-
can_process_link_payment()
: bool|mixed
-
enqueue_scripts()
: mixed
-
get_express_payment_methods()
: mixed
-
get_instance()
: mixed
-
get_settings()
: mixed
-
get_supported_countries()
: mixed
-
instance()
: mixed
-
is_active()
: mixed
-
is_autoload_enabled()
: mixed
-
is_icon_enabled()
: mixed
-
is_popup_enabled()
: mixed
-
update_order_review_fragments()
: mixed
-
initialize()
: mixed
-
add_mandate_data()
: mixed
-
is_valid_account_country()
: mixed
DATA_KEY
public
mixed
DATA_KEY
= 'wcStripeLinkParams'
$account_settings
private
WC_Stripe_Account_Settings
$account_settings
$assets
private
AssetsApi
$assets
$card_settings
private
mixed
$card_settings
= []
$data_api
private
AssetDataApi
$data_api
$enabled
private
bool
$enabled
$instance
private
static mixed
$instance
$settings
private
WC_Stripe_Advanced_Settings
$settings
$supported_countries
private
mixed
$supported_countries
= 'AE, AT, AU, BE, BG, CA, CH, CY, CZ, DE, DK, EE, ES, FI, FR, GB,
GI, GR, HK, HR, HU, IE, IT, JP, LI, LT, LU, LV, MT, MX, MY, NL, NO, NZ, PL, PT, RO, SE, SG, SI, SK, US'
$supported_payment_methods
private
mixed
$supported_payment_methods
= ['stripe_cc', 'stripe_link_checkout']
__construct()
public
__construct(WC_Stripe_Advanced_Settings $settings, WC_Stripe_Account_Settings $account_settings, AssetsApi $assets, AssetDataApi $data_api) : mixed
Parameters
-
$settings
: WC_Stripe_Advanced_Settings
-
-
$account_settings
: WC_Stripe_Account_Settings
-
-
$assets
: AssetsApi
-
-
$data_api
: AssetDataApi
-
add_billing_email_priority()
public
add_billing_email_priority(mixed $fields) : mixed
Parameters
-
$fields
: mixed
-
add_confirmation_args()
public
add_confirmation_args(array<string|int, mixed> $args, PaymentIntent $intent, WC_Order $order) : void
Parameters
-
$args
: array<string|int, mixed>
-
-
$intent
: PaymentIntent
-
-
$order
: WC_Order
-
add_payment_method_type()
public
add_payment_method_type(array<string|int, mixed> $params, WC_Order $order) : mixed
Parameters
-
$params
: array<string|int, mixed>
-
-
$order
: WC_Order
-
add_script_params()
public
add_script_params(mixed $data, mixed $name) : mixed
Parameters
-
$data
: mixed
-
-
$name
: mixed
-
add_setup_intent_params()
public
add_setup_intent_params(mixed $args, mixed $payment_method) : mixed
Parameters
-
$args
: mixed
-
-
$payment_method
: mixed
-
add_setup_intent_params_v2()
public
add_setup_intent_params_v2(mixed $args, mixed $order, mixed $payment_method) : mixed
Parameters
-
$args
: mixed
-
-
$order
: mixed
-
-
$payment_method
: mixed
-
can_process_link_payment()
public
can_process_link_payment([null|WC_Order $order = null ]) : bool|mixed
Parameters
-
$order
: null|WC_Order
= null
-
enqueue_scripts()
public
enqueue_scripts() : mixed
get_express_payment_methods()
public
get_express_payment_methods(mixed $gateways) : mixed
Parameters
-
$gateways
: mixed
-
get_instance()
public
static get_instance() : mixed
get_settings()
public
get_settings() : mixed
get_supported_countries()
public
get_supported_countries() : mixed
instance()
public
static instance() : mixed
is_active()
public
is_active() : mixed
is_autoload_enabled()
public
is_autoload_enabled() : mixed
is_icon_enabled()
public
is_icon_enabled() : mixed
public
is_popup_enabled() : mixed
update_order_review_fragments()
public
update_order_review_fragments(mixed $fragments) : mixed
Parameters
-
$fragments
: mixed
-
initialize()
protected
initialize() : mixed
add_mandate_data()
private
add_mandate_data(mixed &$args, mixed $order) : mixed
Parameters
-
$args
: mixed
-
-
$order
: mixed
-
is_valid_account_country()
private
is_valid_account_country() : mixed