Skip to content

Money filters

Filters by comparing a field to a range of monetary values.

Property Type Description
operator RangeOperators The operator to apply to the filter value
value range object The value to use for the filter operation
Property Type Description
min Money The minimum monetary value for this range
max Money The maximum monetary value for this range

A JSON example of this model.

{
"operator": "between",
"value": {
"min": {
"amount": "1000",
"currency": "USD"
},
"max": {
"amount": "10000",
"currency": "USD"
}
}
}
VersionChangesSchema
0.1.0
  • Added MoneyRangeFilter model
MoneyRangeFilter.yaml

Filters by comparing a field to a monetary value.

Property Type Description
operator ComparisonOperators The operator to apply to the filter value
value Money The value to use for the filter operation

A JSON example of this model.

{
"operator": "gt",
"value": {
"amount": "1000",
"currency": "USD"
}
}
VersionChangesSchema
0.1.0
  • Added MoneyComparisonFilter model
MoneyComparisonFilter.yaml