public function get($smartCollectionId, array $params = array())
    {
        $endpoint = '/admin/smart_collections/'.$smartCollectionId.'.json';
        $response = $this->request($endpoint, 'GET', $params);
        return $this->createObject(SmartCollection::class, $response['smart_collection']);
    }
public function get($smartCollectionId, array $params = array())
    {
        $endpoint = '/admin/smart_collections/'.$smartCollectionId.'.json';
        $response = $this->request($endpoint, 'GET', $params);
        return $this->createObject(SmartCollection::class, $response['smart_collection']);
    }
public function get ( $ smartCollectionId , array $ params = array ( ) ) { $ endpoint = '/admin/smart_collections/' . $ smartCollectionId . '.json' ; $ response = $ this -> request ( $ endpoint , 'GET' , $ params ) ; return $ this -> createObject ( SmartCollection :: class , $ response [ 'smart_collection' ] ) ; }
Receive a single smart collection

@link   https://help.shopify.com/api/reference/smartcollection#show
@param  integer $smartCollectionId
@param  array   $params
@return SmartCollection
Receive a single smart collection