Class ManyAtPriceFilter

Removes offers based on has many at price property.

This filter only works on FILLZ.SOURCE.AMAZONCA.v1, FILLZ.SOURCE.AMAZONDE.v1, FILLZ.SOURCE.AMAZONFR.v1, FILLZ.SOURCE.AMAZONUK.v1 and FILLZ.SOURCE.AMAZONUS.v1.

Class Summary

Using the ManyAtPriceFilter:

var amazon = FILLZ.SOURCE.AMAZONUS.v1;
var filter = FILLZ.FILTERS.v1;
// offers will not contain any groups with many offers at the lowest price
var offers = amazon.offers(filter.many_at_price.is_false());

Methods

  • is_true()

    Returns true if Offer property is true.

  • is_false()

    Returns true if Offer property is false.

  • same(value)

    Returns true if Offer property is same as value.