woocommerce_restapi
Table of Contents
Constants
-
PER_PAGE
= 100
Properties
-
$client
: Client
Methods
-
__construct()
: mixed
-
create_middag_moodle()
: mixed
-
create_webhook()
: mixed
-
middag_moodle()
: mixed
-
middag_woo_send_email()
: mixed
-
order()
: mixed
-
order_add_note()
: mixed
-
orders()
: array<string|int, mixed>|false
-
product_variations()
: array<string|int, mixed>|false
-
products()
: array<string|int, mixed>|false
-
test()
: bool
-
webhooks()
: array<string|int, mixed>|false
PER_PAGE
public
mixed
PER_PAGE
= 100
$client
protected
Client
$client
__construct()
public
__construct(mixed $url, mixed $consumer_key, mixed $consumer_secret[, mixed $testmode = false ][, mixed $version = 'wc/v3' ]) : mixed
Parameters
-
$url
: mixed
-
-
$consumer_key
: mixed
-
-
$consumer_secret
: mixed
-
-
$testmode
: mixed
= false
-
-
$version
: mixed
= 'wc/v3'
-
create_middag_moodle()
public
create_middag_moodle(mixed $data) : mixed
Parameters
-
$data
: mixed
-
create_webhook()
public
create_webhook(mixed $data) : mixed
Parameters
-
$data
: mixed
-
middag_moodle()
public
middag_moodle() : mixed
middag_woo_send_email()
public
middag_woo_send_email(string $order_id, mixed $params) : mixed
Parameters
-
$order_id
: string
-
-
$params
: mixed
-
order()
public
order(string $order_id) : mixed
Parameters
-
$order_id
: string
-
order_add_note()
public
order_add_note(string $order_id, mixed $message) : mixed
Parameters
-
$order_id
: string
-
-
$message
: mixed
-
orders()
public
orders([mixed $limit = 0 ][, mixed $offset = 0 ][, mixed $after = false ]) : array<string|int, mixed>|false
Parameters
-
$limit
: mixed
= 0
-
-
$offset
: mixed
= 0
-
-
$after
: mixed
= false
-
Return values
array<string|int, mixed>|false
product_variations()
public
product_variations(string $product_id) : array<string|int, mixed>|false
Parameters
-
$product_id
: string
-
Return values
array<string|int, mixed>|false
products()
public
products() : array<string|int, mixed>|false
Return values
array<string|int, mixed>|false
test()
public
test() : bool
webhooks()
public
webhooks() : array<string|int, mixed>|false
Return values
array<string|int, mixed>|false