LinkPayment
extends AbstractStripePayment
in package
Table of Contents
Properties
- $payment_method : WC_Payment_Gateway_Stripe
- $assets_api : mixed
- $name : mixed
- $payment_gateway : WC_Payment_Gateway_Stripe
- $assets : Api
- $link : mixed
- $payment_intent_ctrl : PaymentIntent
Methods
- __construct() : mixed
- __get() : mixed
- add_stripe_params() : mixed
- enqueue_payment_method_styles() : mixed
- get_endpoint_data() : mixed
- get_payment_method_data() : mixed
- get_payment_method_script_handles() : mixed
- get_supported_features() : mixed
- initialize() : mixed
- is_active() : mixed
- set_payment_intent_controller() : mixed
- transform_payment_method_type() : mixed
- Blocks only recognize payment tokens of type 'cc' therefore it's necessary to map the 'stripe_cc' list entry to 'cc'.
- get_payment_method_icon() : mixed
- get_script_translations() : mixed
- init() : mixed
- is_cart_checkout_enabled() : mixed
- is_express_checkout_enabled() : bool
- Return true if the express checkout option is enabled for the payment method.
- payment_method() : mixed
Properties
$payment_method
public
WC_Payment_Gateway_Stripe
$payment_method
$assets_api
protected
mixed
$assets_api
$name
protected
mixed
$name
= 'stripe_link_checkout'
$payment_gateway
protected
WC_Payment_Gateway_Stripe
$payment_gateway
$assets
private
Api
$assets
$link
private
mixed
$link
$payment_intent_ctrl
private
PaymentIntent
$payment_intent_ctrl
Methods
__construct()
public
__construct(LinkIntegration $link, Api $assets) : mixed
Parameters
- $link : LinkIntegration
- $assets : Api
__get()
public
__get(mixed $key) : mixed
Parameters
- $key : mixed
add_stripe_params()
public
add_stripe_params(mixed $data) : mixed
Parameters
- $data : mixed
enqueue_payment_method_styles()
public
enqueue_payment_method_styles(Api $style_api) : mixed
Parameters
- $style_api : Api
get_endpoint_data()
public
get_endpoint_data() : mixed
get_payment_method_data()
public
get_payment_method_data() : mixed
get_payment_method_script_handles()
public
get_payment_method_script_handles() : mixed
get_supported_features()
public
get_supported_features() : mixed
initialize()
public
initialize() : mixed
is_active()
public
is_active() : mixed
set_payment_intent_controller()
public
set_payment_intent_controller(PaymentIntent $controller) : mixed
Parameters
- $controller : PaymentIntent
transform_payment_method_type()
Blocks only recognize payment tokens of type 'cc' therefore it's necessary to map the 'stripe_cc' list entry to 'cc'.
public
transform_payment_method_type(mixed $list) : mixed
Parameters
- $list : mixed
get_payment_method_icon()
protected
get_payment_method_icon() : mixed
get_script_translations()
protected
get_script_translations() : mixed
init()
protected
init() : mixed
is_cart_checkout_enabled()
protected
is_cart_checkout_enabled() : mixed
is_express_checkout_enabled()
Return true if the express checkout option is enabled for the payment method.
protected
is_express_checkout_enabled() : bool
Return values
boolpayment_method()
protected
payment_method() : mixed