PaymentIntent
in package
Table of Contents
Properties
- $client : WC_Stripe_Gateway
- $element_options : mixed
- $instance : mixed
- $intent_exists : mixed
- $max_retries : mixed
- $payment_method_ids : array<string|int, mixed>
- $request_context : RequestContext
- $retrys : mixed
Methods
- __construct() : mixed
- add_blocks_general_data() : mixed
- add_element_options_to_fragments() : mixed
- add_script_params() : mixed
- get_element_options() : mixed
- get_request_context() : mixed
- instance() : mixed
- set_intent_exists() : mixed
- set_order_pay_constants() : mixed
- set_request_context() : mixed
- update_order_review() : mixed
- is_payment_intent_required_for_frontend() : mixed
- get_payment_method_types() : mixed
- initialize() : mixed
- is_deferred_intent_creation() : mixed
- is_setup_intent_needed() : mixed
- is_subscription_mode() : mixed
Properties
$client
private
WC_Stripe_Gateway
$client
$element_options
private
mixed
$element_options
$instance
private
static mixed
$instance
$intent_exists
private
mixed
$intent_exists
$max_retries
private
mixed
$max_retries
= 1
$payment_method_ids
private
array<string|int, mixed>
$payment_method_ids
The list of payment methods ID's that are compatible
$request_context
private
RequestContext
$request_context
$retrys
private
mixed
$retrys
= 0
Methods
__construct()
public
__construct(mixed $client, array<string|int, mixed> $payment_method_ids) : mixed
Parameters
- $client : mixed
- $payment_method_ids : array<string|int, mixed>
add_blocks_general_data()
public
add_blocks_general_data(mixed $data) : mixed
Parameters
- $data : mixed
Tags
add_element_options_to_fragments()
public
add_element_options_to_fragments(mixed $fragments) : mixed
Parameters
- $fragments : mixed
add_script_params()
public
add_script_params(mixed $data, mixed $name) : mixed
Parameters
- $data : mixed
- $name : mixed
get_element_options()
public
get_element_options() : mixed
get_request_context()
public
get_request_context() : mixed
instance()
public
static instance() : mixed
set_intent_exists()
public
set_intent_exists(mixed $bool) : mixed
Parameters
- $bool : mixed
set_order_pay_constants()
public
set_order_pay_constants() : mixed
set_request_context()
public
set_request_context(mixed $context) : mixed
Parameters
- $context : mixed
update_order_review()
public
update_order_review() : mixed
is_payment_intent_required_for_frontend()
protected
is_payment_intent_required_for_frontend() : mixed
get_payment_method_types()
private
get_payment_method_types() : mixed
initialize()
private
initialize() : mixed
is_deferred_intent_creation()
private
is_deferred_intent_creation() : mixed
is_setup_intent_needed()
private
is_setup_intent_needed() : mixed
is_subscription_mode()
private
is_subscription_mode() : mixed