Class SellerFilter

Selects offers having a seller name that matches a regexp This filter only works with FILLZ.SOURCE.ABEBOOKS.v2

Class Summary

Using the Seller filter:

var abe = FILLZ.SOURCE.ABEBOOKS.v2;
var filter = FILLZ.FILTERS.v1;
//will keep only offers where the seller name has 'books' in it
var offers = abe.offers(filter.seller.matches(/books/i));

Methods

  • matches(regexp)

    Returns true if Offer country matches regexp (which must be a RegExp)