WC_Stripe_Rest_API
in package

Tags
author

PaymentPlugins

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

Methods

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
since
3.2.7
Return values
string

is_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
since
3.2.7
Return values
bool

        
On this page

Search results