for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace ShopifyClient\Resource;
use ShopifyClient\Action\Action;
use ShopifyClient\Request;
/**
* https://help.shopify.com/api/reference/fulfillmentevent
*
* @method create(float $parentId, float $childId, array $parameters = [])
* @method get(float $parentId, float $childId, float $childChildId, array $parameters = [])
* @method all(float $parentId, float $childId, array $parameters = [])
* @method delete(float $parentId, float $childId, float $childChildId)
*/
class FulfillmentEvent extends AbstractResource implements Resource
{
* FulfillmentEvent constructor.
* @param Request $request
public function __construct(Request $request)
parent::__construct($request);
$this->actions->add(
'create',
new Action(
Request::METHOD_POST,
'orders/%s/fulfillments/%s/events.json',
'fulfillment_event',
'event'
)
);
'get',
Request::METHOD_GET,
'orders/%s/fulfillments/%s/events/%s.json',
'fulfillment_event'
'all',
'fulfillment_events',
'fulfillment_events'
'delete',
Request::METHOD_DELETE,
'orders/%s/fulfillments/%s/events/%s.json'
}