src/Bigcommerce/Api/Client.php
public static function getOptionSets($filter = array())
    {
        $filter = Filter::create($filter);
        return self::getCollection('/optionsets' . $filter->toQuery(), 'OptionSet');
    }
public static function getOptionSets($filter = array())
    {
        $filter = Filter::create($filter);
        return self::getCollection('/optionsets' . $filter->toQuery(), 'OptionSet');
    }
public static function getOptionSets ( $ filter = array ( ) ) { $ filter = Filter :: create ( $ filter ) ; return self :: getCollection ( '/optionsets' . $ filter -> toQuery ( ) , 'OptionSet' ) ; }
Returns the collection of option sets.

@param array $filter
@return array
Returns the collection of option sets .