Class ProductQuery
Filters for Find(ProductQuery, int, int, CancellationToken) and FindAll(ProductQuery, CancellationToken). Unset filters are not sent; set filters are combined by PAPI.
Implements
Inherited Members
Namespace: Activout.Blue5
Assembly: Activout.Blue5.dll
Syntax
public sealed record ProductQuery : IEquatable<ProductQuery>
Fields
| Edit this page View SourceAll
Matches everything.
Declaration
public static readonly ProductQuery All
Field Value
| Type | Description |
|---|---|
| ProductQuery |
Properties
| Edit this page View SourceAttributeFilters
Attribute number/value pairs the products must have.
Declaration
public IReadOnlyList<AttributeFilter>? AttributeFilters { get; init; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<AttributeFilter> |
Categories
Category ids the products must be in.
Declaration
public IReadOnlyList<string>? Categories { get; init; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<string> |
Labels
Labels the products must have.
Declaration
public IReadOnlyList<string>? Labels { get; init; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<string> |
Names
Strings the product name must contain.
Declaration
public IReadOnlyList<string>? Names { get; init; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<string> |
Numbers
Product numbers the products must equal.
Declaration
public IReadOnlyList<string>? Numbers { get; init; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<string> |
ProductTypes
Product types to include.
Declaration
public IReadOnlyList<ProductType>? ProductTypes { get; init; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<ProductType> |
Sort
PAPI sort expression: number, name, name:desc, …
Declaration
public string? Sort { get; init; }
Property Value
| Type | Description |
|---|---|
| string |