Class PriceFilter

Removes offers based on price (excluding shipping).

Class Summary

Using the price filter:

var amazon = FILLZ.SOURCE.AMAZONUS.v1;
var filter = FILLZ.FILTERS.v1;
var offers = amazon.offers(filter.price.less_than(100));
// offers will only contain prices below $100

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.