WC_REST_Redsys
in package
Class WC_REST_Redsys
Table of Contents
Properties
- $namespace : string
- Namespace for the API.
- $rest_base : string
- Rest base for the API.
Methods
- check_permissions() : bool
- Check permissions for the REST API request.
- get_custom() : array<string|int, mixed>
- Get custom data.
- register_routes() : mixed
- Register the routes API for Redsys.
Properties
$namespace
Namespace for the API.
protected
string
$namespace
= 'wc/v3'
$rest_base
Rest base for the API.
protected
string
$rest_base
= 'redsys'
Methods
check_permissions()
Check permissions for the REST API request.
public
check_permissions() : bool
Return values
boolget_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>register_routes()
Register the routes API for Redsys.
public
register_routes() : mixed