for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace CodeCloud\Bundle\ShopifyBundle\Api\Endpoint;
use CodeCloud\Bundle\ShopifyBundle\Api\Request\GetJson;
class CheckoutEndpoint extends AbstractEndpoint
{
/**
* @param array $query
* @return array|GenericEntity[]
*/
public function findAll(array $query = array())
$request = new GetJson('/admin/checkouts.json', $query);
$response = $this->sendPaged($request, 'checkouts');
return $this->createCollection($response);
}
* @return int
public function countAll(array $query = array())
$request = new GetJson('/admin/checkouts/count.json', $query);
$response = $this->send($request);
return $response->get('count');
return $response->get('count')
string
integer