Class StarsFilter

Selects offers where seller star value meets criteria. This filter only works with FILLZ.SOURCE.ABEBOOKS.v2

Class Summary

Using the Stars filter:

var abe = FILLZ.SOURCE.ABEBOOKS.v2;
var filter = FILLZ.FILTERS.v1;
//will remove offers where the seller has less than 3 stars
var offers = abe.offers(filter.stars.greater_than(2));

Methods

  • less_than(value)

    Returns true if Offer value is less than value

  • less_than_or_equal(value)

    Returns true if Offer value is less than or equal to value

  • greater_than(value)

    Returns true if Offer value is greater than value

  • greater_than_or_equal(value)

    Returns true if Offer value is greater than or equal to value

  • equal_to(value)

    Returns true if Offer value is equal to value

  • within(min,max)

    Returns true if Offer value is greater than or equal to min and less than or equal to max.