public function search(array $params = array())
    {
        $endpoint = '/admin/gift_cards/search.json';
        $response = $this->request($endpoint, 'GET', $params);
        return $this->createCollection(GiftCard::class, $response['gift_cards']);
    }
public function search(array $params = array())
    {
        $endpoint = '/admin/gift_cards/search.json';
        $response = $this->request($endpoint, 'GET', $params);
        return $this->createCollection(GiftCard::class, $response['gift_cards']);
    }
public function search ( array $ params = array ( ) ) { $ endpoint = '/admin/gift_cards/search.json' ; $ response = $ this -> request ( $ endpoint , 'GET' , $ params ) ; return $ this -> createCollection ( GiftCard :: class , $ response [ 'gift_cards' ] ) ; }
Search for gift cards matching supplied query

@link   https://help.shopify.com/api/reference/gift_card#search
@param  array $params
@return GiftCard[]
Search for gift cards matching supplied query