Class TotalFilter

Removes offers based on total (price + shipping) amount.

Class Summary

Using the total filter:

var amazon = FILLZ.SOURCE.AMAZONUS.v1;
var filter = FILLZ.FILTERS.v1;
var offers = amazon.offers(filter.total.less_than_or_equal(50));
// offers will only contain total (price + shipping) below $50.01

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.