Class ShippingFilter

Removes offers based on shipping amount.

Class Summary

Using the shipping filter:

var amazon = FILLZ.SOURCE.AMAZONUS.v1;
var filter = FILLZ.FILTERS.v1;
// only offers with free shipping
var offers = amazon.offers(filter.shipping.equal_to(0));

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.