Table of Contents
Properties
-
$assets
: mixed
Methods
-
__construct()
: mixed
-
add_payment_gateways()
: mixed
-
enqueue_scripts()
: mixed
-
initialize()
: mixed
-
maybe_force_save_payment_method()
: bool
-
get_payment_method_ids()
: mixed
$assets
private
mixed
$assets
__construct()
public
__construct(AssetsApi $assets) : mixed
Parameters
-
$assets
: AssetsApi
-
add_payment_gateways()
public
add_payment_gateways(mixed $supported_gateways) : mixed
Parameters
-
$supported_gateways
: mixed
-
enqueue_scripts()
public
enqueue_scripts(array<string|int, mixed> $localize) : mixed
Parameters
-
$localize
: array<string|int, mixed>
-
initialize()
public
initialize() : mixed
maybe_force_save_payment_method()
public
maybe_force_save_payment_method(mixed $bool, WC_Order|null $order[, AbstractGateway $payment_method = null ]) : bool
Parameters
-
$bool
: mixed
-
-
$order
: WC_Order|null
-
-
$payment_method
: AbstractGateway
= null
-
get_payment_method_ids()
private
get_payment_method_ids() : mixed