public function all($countryId, array $params = array())
    {
        $endpoint = '/admin/countries/'.$countryId.'/provinces.json';
        $response = $this->request($endpoint, 'GET', $params);
        return $this->createCollection(Province::class, $response['provinces']);
    }
public function all($countryId, array $params = array())
    {
        $endpoint = '/admin/countries/'.$countryId.'/provinces.json';
        $response = $this->request($endpoint, 'GET', $params);
        return $this->createCollection(Province::class, $response['provinces']);
    }
public function all ( $ countryId , array $ params = array ( ) ) { $ endpoint = '/admin/countries/' . $ countryId . '/provinces.json' ; $ response = $ this -> request ( $ endpoint , 'GET' , $ params ) ; return $ this -> createCollection ( Province :: class , $ response [ 'provinces' ] ) ; }
Receive a list of all Provinces

@link   https://help.shopify.com/api/reference/province#index
@param  array $params
@return Province[]
Receive a list of all Provinces