ProducersFilterValue¶
The ProducersFilterValue object represents a producers filter value in the storefront.
classDiagram
direction LR
ProducersFilterValue --> Url
class ProducersFilterValue{
int producerId
string name
bool isActive
string urlValue
string urlKey
Url urlWithFilterValueRemoved
Url urlWithSingleFilterValue
?Url urlWithFilterValueAdded
?int counter
}
class Url{
}
Properties¶
Attribute name | Type | Description |
---|---|---|
producerId | int |
The id of the producer. |
name | string |
The name of the producer. |
isActive | bool |
Returns true if producers filter value is active. |
urlValue | string |
Represents a value of the producers filter used to build target URL. |
urlKey | string |
Represents URL key for producers filter value. |
counter | null|int |
Represents amount of found products meeting the criteria. |
urlWithFilterValueRemoved | Url |
Returns Url object that represents link with producers filter value removed. |
urlWithSingleFilterValue | Url |
Returns Url object that represents link with single producers filter value. |
urlWithFilterValueAdded | null|Url |
Returns Url object that represents link with producers filter value added. |