-
since
-
1.11.0
Table of Contents
-
VENDOR
= 'motopress/appointment'
-
VERSION
= 1
-
getCoupons()
: WP_REST_Response|WP_Error
-
getNamespace()
: string
-
register_routes()
: mixed
-
mapEntity()
: array<string|int, mixed>
VENDOR
public
mixed
VENDOR
= 'motopress/appointment'
-
since
-
1.0
VERSION
public
mixed
VERSION
= 1
-
since
-
1.0
getCoupons()
public
getCoupons(WP_REST_Request $request) : WP_REST_Response|WP_Error
Parameters
-
$request
: WP_REST_Request
-
Return values
WP_REST_Response|WP_Error
—
getNamespace()
public
getNamespace() : string
-
since
-
1.0
Return values
string
—
register_routes()
public
register_routes() : mixed
Return values
mixed
—
mapEntity()
protected
mapEntity(Coupon $coupon) : array<string|int, mixed>
Parameters
-
$coupon
: Coupon
-
Return values
array<string|int, mixed>
—