WC_Stripe_Rest_API
in package
Tags
Table of Contents
Properties
- $cart : WC_Stripe_Rest_Controller
- $checkout : WC_Stripe_Rest_Controller
- $googlepay : WC_Stripe_Rest_Controller
- $order_actions : WC_Stripe_Rest_Controller
- $payment_intent : WC_Stripe_Rest_Controller
- $product_data : WC_Stripe_Rest_Controller
- $settings : WC_Stripe_Rest_Controller
- $source : WC_Stripe_Rest_Controller
- $webhook : WC_Stripe_Rest_Controller
- $controllers : array<string|int, mixed>
Methods
- __construct() : mixed
- __get() : WC_Stripe_Rest_Controller
- __set() : mixed
- get_admin_endpoint() : mixed
- get_controllers() : mixed
- get_endpoint() : string
- Return an endpoint for ajax requests that integrate with the WP Rest API.
- is_rest_api_request() : bool
- is_wp_rest_request() : bool
- Return true if this is a WP rest request. This function is a wrapper for WC()->is_rest_api_request() if it exists.
- process_frontend_request() : mixed
- register_routes() : mixed
- rest_uri() : string
- rest_url() : string
- include_classes() : mixed
Properties
$cart
public
WC_Stripe_Rest_Controller
$cart
$checkout
public
WC_Stripe_Rest_Controller
$checkout
$googlepay
public
WC_Stripe_Rest_Controller
$googlepay
$order_actions
public
WC_Stripe_Rest_Controller
$order_actions
$payment_intent
public
WC_Stripe_Rest_Controller
$payment_intent
$product_data
public
WC_Stripe_Rest_Controller
$product_data
$settings
public
WC_Stripe_Rest_Controller
$settings
$source
public
WC_Stripe_Rest_Controller
$source
$webhook
public
WC_Stripe_Rest_Controller
$webhook
$controllers
private
array<string|int, mixed>
$controllers
= array()
Methods
__construct()
public
__construct() : mixed
__get()
public
__get(string $key) : WC_Stripe_Rest_Controller
Parameters
- $key : string
Return values
WC_Stripe_Rest_Controller__set()
public
__set(mixed $key, mixed $value) : mixed
Parameters
- $key : mixed
- $value : mixed
get_admin_endpoint()
public
static get_admin_endpoint(mixed $path) : mixed
Parameters
- $path : mixed
get_controllers()
public
get_controllers() : mixed
get_endpoint()
Return an endpoint for ajax requests that integrate with the WP Rest API.
public
static get_endpoint(string $path) : string
Parameters
- $path : string
Tags
Return values
stringis_rest_api_request()
public
static is_rest_api_request() : bool
Return values
boolis_wp_rest_request()
Return true if this is a WP rest request. This function is a wrapper for WC()->is_rest_api_request() if it exists.
public
static is_wp_rest_request() : bool
Tags
Return values
boolprocess_frontend_request()
public
process_frontend_request() : mixed
Tags
register_routes()
public
register_routes() : mixed
rest_uri()
public
rest_uri() : string
Return values
stringrest_url()
public
rest_url() : string
Return values
stringinclude_classes()
private
include_classes() : mixed