Documentation

WC_REST_Redsys

Class WC Rest Redsys

Table of Contents

Properties

$namespace  : string
You can extend this class with WP_REST_Controller / WC_REST_Controller / WC_REST_Products_V2_Controller / WC_REST_CRUD_Controller etc.
$rest_base  : mixed

Methods

get_custom()  : array<string|int, mixed>
Get custom data.
register_routes()  : mixed
Register the routes API for Redsys.

Properties

$namespace

You can extend this class with WP_REST_Controller / WC_REST_Controller / WC_REST_Products_V2_Controller / WC_REST_CRUD_Controller etc.

protected string $namespace = 'wc/v3'

Found in packages/woocommerce-rest-api/src/Controllers/

Methods

get_custom()

Get custom data.

public get_custom(WP_REST_Request $data) : array<string|int, mixed>
Parameters
$data : WP_REST_Request

Request.

Return values
array<string|int, mixed>

        
On this page

Search results