Home > @poq/sdk-sfcc > RangeFilter
Document representing a range filter.
Signature:
export declare class RangeFilter extends BaseModel<RangeFilter>
Extends: BaseModel<RangeFilter
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(params) | Constructs a new instance of the RangeFilter class |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| field | string | The search field. | |
| from? | object | (Optional) The lower bound of the filter range. If not specified, the range is open-ended with respect to the lower bound. You can’t leave both the lower and upper bounds open-ended. | |
| fromInclusive? | boolean | (Optional) Indicates whether the lower bound of the range is inclusive. If not specified, the default is true. Set to false to make the lower bound exclusive. | |
| to? | object | (Optional) The upper bound of the filter range. If not specified, the range is open-ended with respect to the upper bound. You can’t leave both the upper and lower bounds open-ended. | |
| toInclusive? | boolean | (Optional) Indicates whether the upper bound of the range is inclusive. If not specified, the default is true. Set to false to made the upper bound exclusive. |