コード例 #1
0
 /**
  * Setup the resource
  *
  * @since 2.0
  * @param WC_API_Client $client class instance
  */
 public function __construct($client)
 {
     parent::__construct('reports', '', $client);
 }
 /**
  * Setup the resource
  *
  * @since 2.0
  * @param WC_API_Client $client class instance
  */
 public function __construct($client)
 {
     parent::__construct('products', 'product', $client);
 }
コード例 #3
0
 /**
  * Setup the resource
  *
  * @since 2.0
  * @param WC_API_Client $client class instance
  */
 public function __construct($client)
 {
     parent::__construct('orders', 'order', $client);
 }
 /**
  * Setup the resource
  *
  * @since 2.0
  * @param WC_API_Client $client class instance
  */
 public function __construct($client)
 {
     parent::__construct('customers', 'customer', $client);
 }
 /**
  * Setup the resource
  *
  * @since 2.0
  * @param WC_API_Client $client class instance
  */
 public function __construct($client)
 {
     parent::__construct('webhooks', 'webhook', $client);
 }
コード例 #6
0
 /**
  * Setup the resource
  *
  * @since 2.0
  * @param WC_API_Client $client class instance
  */
 public function __construct($client)
 {
     parent::__construct('coupons', 'coupon', $client);
 }