Plentymarkets interface documentation
Variation
Filters
DefaultVariationFilterBuilderContainer
Default variation filter builder container. Contains all available filter builders.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters
Methods
public removeFilterBuilder($key):void
Name |
Type |
Description |
|
public addFilterBuilder($filterBuilder):void
Name |
Type |
Description |
|
public getFilterBuilders():array
public removeFilterBuilders($key):void
Name |
Type |
Description |
|
public removeAllFilterBuilders():void
FilterBuilder
Used to represent the base of all filters in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters
Methods
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public getKey():string
public setFilterData($filterData):void
This method will be filled by the specified values in a catalog. It should be used to provide the necessary manipulation so the filter that is returned by getFilter can be consumed by the export.
Name |
Type |
Description |
|
public getFilter($settings = []):void
Returns the filter that will be given to the export
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
Returns the UI representation of the filter
FilterBuilderFactory
This factory provides methods to retrieve all available catalog filter builders.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters
Methods
public variationHasAtLeastOneAvailability():Plenty\Modules\Pim\Catalog\Variation\Filters\Availability\VariationHasAtLeastOneAvailability
Return type: VariationHasAtLeastOneAvailability
public variationHasAtLeastOneBundleType():Plenty\Modules\Pim\Catalog\Variation\Filters\BundleType\VariationHasAtLeastOneBundleType
Return type: VariationHasAtLeastOneBundleType
public variationIsInAtLeastOneCategory():Plenty\Modules\Pim\Catalog\Variation\Filters\Category\VariationIsInAtLeastOneCategory
Return type: VariationIsInAtLeastOneCategory
public variationIsInCategories():Plenty\Modules\Pim\Catalog\Variation\Filters\Category\VariationIsInCategories
Return type: VariationIsInCategories
public variationHasAtLeastOneClient():Plenty\Modules\Pim\Catalog\Variation\Filters\Client\VariationHasAtLeastOneClient
Return type: VariationHasAtLeastOneClient
public variationHasClients():Plenty\Modules\Pim\Catalog\Variation\Filters\Client\VariationHasClients
Return type: VariationHasClients
public variationHasImage():Plenty\Modules\Pim\Catalog\Variation\Filters\Image\VariationHasImage
Return type: VariationHasImage
public variationHasLinkedImages():Plenty\Modules\Pim\Catalog\Variation\Filters\Variation\VariationHasLinkedImages
Return type: VariationHasLinkedImages
public itemHasImage():Plenty\Modules\Pim\Catalog\Variation\Filters\Item\ItemHasImage
Return type: ItemHasImage
public priceValue():Plenty\Modules\Pim\Catalog\Variation\Filters\Price\PriceValue
Return type: PriceValue
public variationCurrencies():Plenty\Modules\Pim\Catalog\Variation\Filters\Variation\VariationCurrencies
Return type: VariationCurrencies
public salesPrice():Plenty\Modules\Pim\Catalog\Variation\Filters\SalesPrice\VariationHasSalesPrice
Return type: VariationHasSalesPrice
public itemBelongsToAtLeastOneAmazonFlatFile():Plenty\Modules\Pim\Catalog\Variation\Filters\Item\ItemBelongsToAtLeastOneAmazonFlatFile
Return type: ItemBelongsToAtLeastOneAmazonFlatFile
public itemCreatedAt():Plenty\Modules\Pim\Catalog\Variation\Filters\Item\ItemCreatedAt
Return type: ItemCreatedAt
public itemHasAtLeastOneFlagOne():Plenty\Modules\Pim\Catalog\Variation\Filters\Item\ItemHasAtLeastOneFlagOne
Return type: ItemHasAtLeastOneFlagOne
public itemHasAtLeastOneFlagTwo():Plenty\Modules\Pim\Catalog\Variation\Filters\Item\ItemHasAtLeastOneFlagTwo
Return type: ItemHasAtLeastOneFlagTwo
public itemHasAtLeastOneId():Plenty\Modules\Pim\Catalog\Variation\Filters\Item\ItemHasAtLeastOneId
Return type: ItemHasAtLeastOneId
public itemIsType():Plenty\Modules\Pim\Catalog\Variation\Filters\Item\ItemIsType
Return type: ItemIsType
public itemUpdatedAt():Plenty\Modules\Pim\Catalog\Variation\Filters\Item\ItemUpdatedAt
Return type: ItemUpdatedAt
public itemHasAtLeastOneManufacturer():Plenty\Modules\Pim\Catalog\Variation\Filters\Manufacturer\ItemHasAtLeastOneManufacturer
Return type: ItemHasAtLeastOneManufacturer
public itemWithoutManufacturer():Plenty\Modules\Pim\Catalog\Variation\Filters\Manufacturer\ItemWithoutManufacturer
Return type: ItemWithoutManufacturer
public variationIsVisibleForAtLeastOneMarket():Plenty\Modules\Pim\Catalog\Variation\Filters\Markets\VariationIsVisibleForAtLeastOneMarket
Return type: VariationIsVisibleForAtLeastOneMarket
public variationIsVisibleForMarkets():Plenty\Modules\Pim\Catalog\Variation\Filters\Markets\VariationIsVisibleForMarkets
Return type: VariationIsVisibleForMarkets
public variationHasAtLeastOnePropertySelection():Plenty\Modules\Pim\Catalog\Variation\Filters\Property\VariationHasAtLeastOnePropertySelection
Return type: VariationHasAtLeastOnePropertySelection
public variationHasPropertySelections():Plenty\Modules\Pim\Catalog\Variation\Filters\Property\VariationHasPropertySelections
Return type: VariationHasPropertySelections
public variationHasSku():Plenty\Modules\Pim\Catalog\Variation\Filters\Sku\VariationHasSku
Return type: VariationHasSku
public variationHasAtLeastOneTag():Plenty\Modules\Pim\Catalog\Variation\Filters\Tag\VariationHasAtLeastOneTag
Return type: VariationHasAtLeastOneTag
Return type: VariationHasTags
Return type: VariationWithoutTags
public variationCreatedAt():Plenty\Modules\Pim\Catalog\Variation\Filters\Variation\VariationCreatedAt
Return type: VariationCreatedAt
public variationHasChildren():void
public variationIds():void
public variationIsActive():Plenty\Modules\Pim\Catalog\Variation\Filters\Variation\VariationIsActive
Return type: VariationIsActive
public variationIsMain():Plenty\Modules\Pim\Catalog\Variation\Filters\Variation\VariationIsMain
Return type: VariationIsMain
public variationUpdatedAt():Plenty\Modules\Pim\Catalog\Variation\Filters\Variation\VariationUpdatedAt
Return type: VariationUpdatedAt
Return type: VariationRelatedUpdatedAt
public salesPriceUpdatedAt():Plenty\Modules\Pim\Catalog\Variation\Filters\Price\SalesPriceUpdatedAt
Return type: SalesPriceUpdatedAt
public stockUpdatedAt():Plenty\Modules\Pim\Catalog\Variation\Filters\Stock\StockUpdatedAt
Return type: StockUpdatedAt
public stockNet():Plenty\Modules\Pim\Catalog\Variation\Filters\Stock\StockNet
Return type: StockNet
public stockPhysical():Plenty\Modules\Pim\Catalog\Variation\Filters\Stock\StockPhysical
Return type: StockPhysical
public hasStockInWarehouse():Plenty\Modules\Pim\Catalog\Variation\Filters\Stock\StockNet
Return type: StockNet
public hasNoStockInWarehouse():Plenty\Modules\Pim\Catalog\Variation\Filters\Stock\StockNet
Return type: StockNet
public hasAtLeastOneBarcode():Plenty\Modules\Pim\Catalog\Variation\Filters\Barcode\HasAtLeastOneBarcode
Return type: HasAtLeastOneBarcode
public hasBarcode():Plenty\Modules\Pim\Catalog\Variation\Filters\Barcode\HasBarcode
Return type: HasBarcode
Filters
Availability
VariationHasAtLeastOneAvailability
Used to represent the VariationHasAtLeastOneAvailability filter in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Availability
Methods
public getKey():string
public setFilterData($filterData):void
This method will be called in the export process if the filter was registered as a custom filter. In the template definition this should not be called. Use the specific setter methods instead.
Name |
Type |
Description |
|
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Will return a VariationBaseFilter if at least one availability is provided. Otherwise null is returned.
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setAvailabilities($availabilities):Plenty\Modules\Pim\Catalog\Variation\Filters\Availability\VariationHasAtLeastOneAvailability
Return type: VariationHasAtLeastOneAvailability
Name |
Type |
Description |
|
public addAvailability($availabilitiy):Plenty\Modules\Pim\Catalog\Variation\Filters\Availability\VariationHasAtLeastOneAvailability
Return type: VariationHasAtLeastOneAvailability
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Barcode
HasAtLeastOneBarcode
Used to represent the HasAtLeastOneBarcode filter in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Barcode
Methods
public getKey():string
public setFilterData($filterData):void
This method will be called in the export process if the filter was registered as a custom filter. In the template definition this should not be called. Use the specific setter methods instead.
Name |
Type |
Description |
|
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\BarcodeFilter
Return type: BarcodeFilter
Will return a BarcodeFilter if at least one barcode id is provided. Otherwise null is returned.
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setBarcodeIds($barcodeIds):Plenty\Modules\Pim\Catalog\Variation\Filters\Barcode\HasAtLeastOneBarcode
Return type: HasAtLeastOneBarcode
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
HasBarcode
Used to represent the hasBarcode filter in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Barcode
Methods
public getKey():string
public setFilterData($filterData):void
This method will be called in the export process if the filter was registered as a custom filter. In the template definition this should not be called. Use the specific setter methods instead.
Name |
Type |
Description |
|
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\BarcodeFilter
Return type: BarcodeFilter
Will return a Hasbarcode if a item type is provided. Otherwise null is returned.
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setHasBarcode($hasBarcode):Plenty\Modules\Pim\Catalog\Variation\Filters\Barcode\HasBarcode
Return type: HasBarcode
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
BundleType
VariationHasAtLeastOneBundleType
Used to represent the hasBundleType filter in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\BundleType
Methods
public getKey():string
public setFilterData($filterData):void
Name |
Type |
Description |
|
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\VariationBundleFilter
Return type: VariationBundleFilter
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setBundleTypes($bundleTypes):Plenty\Modules\Pim\Catalog\Variation\Filters\BundleType\VariationHasAtLeastOneBundleType
Return type: VariationHasAtLeastOneBundleType
Name |
Type |
Description |
|
public addBundleType($bundleType):Plenty\Modules\Pim\Catalog\Variation\Filters\BundleType\VariationHasAtLeastOneBundleType
Return type: VariationHasAtLeastOneBundleType
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Category
VariationIsInACategory
Used to represent the IsInACategory filter in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Category
Methods
public getKey():string
public setFilterData($filterData):void
Name |
Type |
Description |
|
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\CategoryFilter
Return type: CategoryFilter
Will return a CategoryFilter if a category id is provided. Otherwise null is returned.
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setShouldBeInACategory($shouldBeInACategory):Plenty\Modules\Pim\Catalog\Variation\Filters\Category\VariationIsInACategory
Return type: VariationIsInACategory
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
VariationIsInAtLeastOneCategory
Used to represent the isInAtLeastOneCategory filter in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Category
Methods
public getKey():string
public setFilterData($filterData):void
Name |
Type |
Description |
|
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\CategoryFilter
Return type: CategoryFilter
Will return a CategoryFilter if a category id is provided. Otherwise null is returned.
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setCategoryIds($categoryIds):Plenty\Modules\Pim\Catalog\Variation\Filters\Category\VariationIsInAtLeastOneCategory
Return type: VariationIsInAtLeastOneCategory
Name |
Type |
Description |
|
public addCategoryId($categoryId):Plenty\Modules\Pim\Catalog\Variation\Filters\Category\VariationIsInAtLeastOneCategory
Return type: VariationIsInAtLeastOneCategory
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
VariationIsInCategories
Used to represent the isInEachCategory filter in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Category
Methods
public getKey():string
public setFilterData($filterData):void
Name |
Type |
Description |
|
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\CategoryFilter
Return type: CategoryFilter
Will return a CategoryFilter if a category id is provided. Otherwise null is returned.
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setCategoryIds($categoryIds):Plenty\Modules\Pim\Catalog\Variation\Filters\Category\VariationIsInCategories
Return type: VariationIsInCategories
Name |
Type |
Description |
|
public addCategoryId($categoryId):Plenty\Modules\Pim\Catalog\Variation\Filters\Category\VariationIsInCategories
Return type: VariationIsInCategories
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Client
VariationHasAtLeastOneClient
Used to represent the isVisibleForAtLeastOneClient filter in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Client
Methods
public getKey():string
public setFilterData($filterData):void
This method will be called in the export process if the filter was registered as a custom filter. In the template definition this should not be called. Use the specific setter methods instead.
Name |
Type |
Description |
|
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\ClientFilter
Return type: ClientFilter
Will return a ClientFilter if at least one client id is provided. Otherwise null is returned.
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setClientIds($clientIds):Plenty\Modules\Pim\Catalog\Variation\Filters\Client\VariationHasAtLeastOneClient
Return type: VariationHasAtLeastOneClient
Name |
Type |
Description |
|
public addClientId($clientId):Plenty\Modules\Pim\Catalog\Variation\Filters\Client\VariationHasAtLeastOneClient
Return type: VariationHasAtLeastOneClient
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
VariationHasClients
Used to represent the isVisibleForAllClients filter in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Client
Methods
public getKey():string
public setFilterData($filterData):void
This method will be called in the export process if the filter was registered as a custom filter. In the template definition this should not be called. Use the specific setter methods instead.
Name |
Type |
Description |
|
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\ClientFilter
Return type: ClientFilter
Will return a ClientFilter if at least one client id is provided. Otherwise null is returned.
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setClientIds($clientIds):Plenty\Modules\Pim\Catalog\Variation\Filters\Client\VariationHasClients
Return type: VariationHasClients
Name |
Type |
Description |
|
public addClientId($clientId):Plenty\Modules\Pim\Catalog\Variation\Filters\Client\VariationHasClients
Return type: VariationHasClients
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Image
VariationHasImage
Used to represent the HasAnImage filter in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Image
Methods
public getKey():string
public setFilterData($filterData):void
Name |
Type |
Description |
|
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Will return a VariationBaseFilter if shouldHaveImage is set. Otherwise null is returned.
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setShouldHaveImage($shouldHaveImage):Plenty\Modules\Pim\Catalog\Variation\Filters\Image\VariationHasImage
Return type: VariationHasImage
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Item
ItemBelongsToAtLeastOneAmazonFlatFile
Used to represent the ItemBelongsToAmazonFlatFile filter in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Item
Methods
public getKey():string
public setFilterData($filterData):void
This method will be called in the export process if the filter was registered as a custom filter. In the template definition this should not be called. Use the specific setter methods instead.
Name |
Type |
Description |
|
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\AmazonFilter
Return type: AmazonFilter
Will return a TypeInterface filter if at least one flat file is provided. Otherwise null is returned.
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setAmazonFlatFiles($flatFiles):Plenty\Modules\Pim\Catalog\Variation\Filters\Item\ItemBelongsToAtLeastOneAmazonFlatFile
Return type: ItemBelongsToAtLeastOneAmazonFlatFile
Name |
Type |
Description |
|
public addAmazonFlatFile($flatFile):Plenty\Modules\Pim\Catalog\Variation\Filters\Item\ItemBelongsToAtLeastOneAmazonFlatFile
Return type: ItemBelongsToAtLeastOneAmazonFlatFile
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
ItemCreatedAt
Used to represent the ItemCreatedAtFilter in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Item
Methods
public getKey():string
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\ItemCreatedAtFilter
Return type: ItemCreatedAtFilter
Will return a TypeInterface filter if at least one flat file is provided. Otherwise null is returned.
Name |
Type |
Description |
|
public setFilterData($filterData):void
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setTimeWindow($fromDate, $toDate = null):void
Name |
Type |
Description |
|
||
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
ItemHasAtLeastOneFlagOne
Used to represent the ItemHasFlagOne filter in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Item
Methods
public getKey():string
public setFilterData($filterData):void
This method will be called in the export process if the filter was registered as a custom filter. In the template definition this should not be called. Use the specific setter methods instead.
Name |
Type |
Description |
|
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\ItemFilter
Return type: ItemFilter
Will return a ItemFilter if a flag is provided. Otherwise null is returned.
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setFlags($flags):Plenty\Modules\Pim\Catalog\Variation\Filters\Item\ItemHasAtLeastOneFlagOne
Return type: ItemHasAtLeastOneFlagOne
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
ItemHasAtLeastOneFlagTwo
Used to represent the ItemHasFlagTwo filter in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Item
Methods
public getKey():string
public setFilterData($filterData):void
This method will be called in the export process if the filter was registered as a custom filter. In the template definition this should not be called. Use the specific setter methods instead.
Name |
Type |
Description |
|
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\ItemFilter
Return type: ItemFilter
Will return a ItemFilter if a flag is provided. Otherwise null is returned.
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setFlags($flags):Plenty\Modules\Pim\Catalog\Variation\Filters\Item\ItemHasAtLeastOneFlagTwo
Return type: ItemHasAtLeastOneFlagTwo
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
ItemHasAtLeastOneId
Used to represent the ItemHasIds filter in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Item
Methods
public getKey():string
public setFilterData($filterData):void
This method will be called in the export process if the filter was registered as a custom filter. In the template definition this should not be called. Use the specific setter methods instead.
Name |
Type |
Description |
|
public getFilter($settings = []):void
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setItemIds($itemIds):Plenty\Modules\Pim\Catalog\Variation\Filters\Item\ItemHasAtLeastOneId
Return type: ItemHasAtLeastOneId
Name |
Type |
Description |
|
public addItemId($itemId):Plenty\Modules\Pim\Catalog\Variation\Filters\Item\ItemHasAtLeastOneId
Return type: ItemHasAtLeastOneId
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
ItemHasImage
Used to represent the itemHasImage filter in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Item
Methods
public getKey():string
public setFilterData($filterData):void
This method will be called in the export process if the filter was registered as a custom filter. In the template definition this should not be called. Use the specific setter methods instead.
Name |
Type |
Description |
|
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\ItemFilter
Return type: ItemFilter
Will return a ItemFilter if a item type is provided. Otherwise null is returned.
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setHasImage($shouldBeMain):Plenty\Modules\Pim\Catalog\Variation\Filters\Item\ItemHasImage
Return type: ItemHasImage
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
ItemIsType
Used to represent the isItemType filter in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Item
Methods
public getKey():string
public setFilterData($filterData):void
This method will be called in the export process if the filter was registered as a custom filter. In the template definition this should not be called. Use the specific setter methods instead.
Name |
Type |
Description |
|
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\ItemFilter
Return type: ItemFilter
Will return a ItemFilter if a item type is provided. Otherwise null is returned.
Name |
Type |
Description |
|
public setItemType($itemType):Plenty\Modules\Pim\Catalog\Variation\Filters\Item\ItemIsType
Return type: ItemIsType
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
ItemUpdatedAt
Used to represent the ItemUpdatedAtFilter in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Item
Methods
public getKey():string
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\ItemUpdatedAtFilter
Return type: ItemUpdatedAtFilter
Will return a TypeInterface filter if at least one flat file is provided. Otherwise null is returned.
Name |
Type |
Description |
|
public setFilterData($filterData):void
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setTimeWindow($fromDate, $toDate = null):void
Name |
Type |
Description |
|
||
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Manufacturer
ItemHasAtLeastOneManufacturer
Used to represent the HasManufacturer filter in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Manufacturer
Methods
public getKey():string
public setFilterData($filterData):void
This method will be called in the export process if the filter was registered as a custom filter. In the template definition this should not be called. Use the specific setter methods instead.
Name |
Type |
Description |
|
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\ItemFilter
Return type: ItemFilter
Will return a VariationBaseFilter if at least one manufacturer id is provided. Otherwise null is returned.
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setManufacturerIds($manufacturerIds):Plenty\Modules\Pim\Catalog\Variation\Filters\Manufacturer\ItemHasAtLeastOneManufacturer
Return type: ItemHasAtLeastOneManufacturer
Name |
Type |
Description |
|
public addManufacturerId($manufacturerId):Plenty\Modules\Pim\Catalog\Variation\Filters\Manufacturer\ItemHasAtLeastOneManufacturer
Return type: ItemHasAtLeastOneManufacturer
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
ItemWithoutManufacturer
Used to represent the HasManufacturer filter in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Manufacturer
Methods
public getKey():string
public setFilterData($filterData):void
This method will be called in the export process if the filter was registered as a custom filter. In the template definition this should not be called. Use the specific setter methods instead.
Name |
Type |
Description |
|
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\ItemFilter
Return type: ItemFilter
Will return a VariationBaseFilter if at least one manufacturer id is provided. Otherwise null is returned.
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setShouldBeActive($shouldBeActive):Plenty\Modules\Pim\Catalog\Variation\Filters\Manufacturer\ItemWithoutManufacturer
Return type: ItemWithoutManufacturer
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Markets
VariationIsVisibleForAtLeastOneMarket
Used to represent the VariationIsVisibleForAtLeastOneMarket filter in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Markets
Methods
public getKey():string
public setFilterData($filterData):void
This method will be called in the export process if the filter was registered as a custom filter. In the template definition this should not be called. Use the specific setter methods instead.
Name |
Type |
Description |
|
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\MarketFilter
Return type: MarketFilter
Will return a MarketFilter if at least one market id is provided. Otherwise null is returned.
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setMarketIds($marketIds):Plenty\Modules\Pim\Catalog\Variation\Filters\Markets\VariationIsVisibleForAtLeastOneMarket
Return type: VariationIsVisibleForAtLeastOneMarket
Name |
Type |
Description |
|
public addMarketId($marketId):Plenty\Modules\Pim\Catalog\Variation\Filters\Markets\VariationIsVisibleForAtLeastOneMarket
Return type: VariationIsVisibleForAtLeastOneMarket
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
VariationIsVisibleForMarkets
Used to represent the VariationIsVisibleForAllMarkets filter in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Markets
Methods
public getKey():string
public setFilterData($filterData):void
This method will be called in the export process if the filter was registered as a custom filter. In the template definition this should not be called. Use the specific setter methods instead.
Name |
Type |
Description |
|
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\MarketFilter
Return type: MarketFilter
Will return a MarketFilter if at least one market id is provided. Otherwise null is returned.
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setMarketIds($marketIds):Plenty\Modules\Pim\Catalog\Variation\Filters\Markets\VariationIsVisibleForMarkets
Return type: VariationIsVisibleForMarkets
Name |
Type |
Description |
|
public addMarketId($marketId):Plenty\Modules\Pim\Catalog\Variation\Filters\Markets\VariationIsVisibleForMarkets
Return type: VariationIsVisibleForMarkets
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Price
PriceValue
Used to filter by sales price
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Price
Methods
public getKey():string
public getFilter($settings = []):void
Returns the filter that will be given to the export
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setFilterData($filterData):void
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
SalesPriceUpdatedAt
Used to filter by variation salesPrice last update timestamp
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Price
Methods
public getKey():string
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\VariationSalesPriceUpdatedAtFilter
Return type: VariationSalesPriceUpdatedAtFilter
Will return a TypeInterface filter if at least one flat file is provided. Otherwise null is returned.
Name |
Type |
Description |
|
public setFilterData($filterData):void
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setTimeWindow($fromDate, $toDate = null):void
Name |
Type |
Description |
|
||
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Property
VariationHasAtLeastOnePropertySelection
Used to represent the VariationHasAtLeastOnePropertySelection filter in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Property
Methods
public getKey():string
public setFilterData($filterData):void
This method will be called in the export process if the filter was registered as a custom filter. In the template definition this should not be called. Use the specific setter methods instead.
Name |
Type |
Description |
|
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\PropertyFilter
Return type: PropertyFilter
Will return a VariationPropertyFilter if at least property selection id is provided. Otherwise null is returned.
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setPropertySelectionIds($propertySelectionIds):Plenty\Modules\Pim\Catalog\Variation\Filters\Property\VariationHasAtLeastOnePropertySelection
Return type: VariationHasAtLeastOnePropertySelection
Name |
Type |
Description |
|
public addPropertySelectionId($propertySelectionId):Plenty\Modules\Pim\Catalog\Variation\Filters\Property\VariationHasAtLeastOnePropertySelection
Return type: VariationHasAtLeastOnePropertySelection
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
VariationHasPropertySelections
Used to represent the VariationHasEachPropertySelection filter in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Property
Methods
public getKey():string
public setFilterData($filterData):void
This method will be called in the export process if the filter was registered as a custom filter. In the template definition this should not be called. Use the specific setter methods instead.
Name |
Type |
Description |
|
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\PropertyFilter
Return type: PropertyFilter
Will return a VariationPropertyFilter if at least property selection id is provided. Otherwise null is returned.
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setPropertySelectionIds($propertySelectionIds):Plenty\Modules\Pim\Catalog\Variation\Filters\Property\VariationHasPropertySelections
Return type: VariationHasPropertySelections
Name |
Type |
Description |
|
public addPropertySelectionId($propertySelectionId):Plenty\Modules\Pim\Catalog\Variation\Filters\Property\VariationHasPropertySelections
Return type: VariationHasPropertySelections
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
SalesPrice
VariationHasSalesPrice
Used to represent the VariationHasSalesPrice filter in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\SalesPrice
Methods
public getKey():string
public setFilterData($filterData):void
This method will be called in the export process if the filter was registered as a custom filter. In the template definition this should not be called. Use the specific setter methods instead.
Name |
Type |
Description |
|
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\SalesPriceFilter
Return type: SalesPriceFilter
Will return a TagFilter if at least one tag id is provided. Otherwise null is returned.
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setSalesPricesIds($salesPricesIds):Plenty\Modules\Pim\Catalog\Variation\Filters\SalesPrice\VariationHasSalesPrice
Return type: VariationHasSalesPrice
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Sku
VariationHasSku
Used to represent the VariationHasSku filter in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Sku
Methods
public getKey():string
public setFilterData($filterData):void
This method will be called in the export process if the filter was registered as a custom filter. In the template definition this should not be called. Use the specific setter methods instead.
Name |
Type |
Description |
|
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\SkuFilter
Return type: SkuFilter
Will return a SkuFilter if at least accountId, marketId or status are provided. Otherwise null is returned.
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setReferrer($referrer):Plenty\Modules\Pim\Catalog\Variation\Filters\Sku\VariationHasSku
Return type: VariationHasSku
Name |
Type |
Description |
|
public setAccountId($accountId):Plenty\Modules\Pim\Catalog\Variation\Filters\Sku\VariationHasSku
Return type: VariationHasSku
Name |
Type |
Description |
|
public setStatus($status):Plenty\Modules\Pim\Catalog\Variation\Filters\Sku\VariationHasSku
Return type: VariationHasSku
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Stock
HasNoStockInWarehouse
Used to filter by stock in warehouse
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Stock
Methods
public getKey():string
public getFilter($settings = []):void
Returns the filter that will be given to the export
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setFilterData($filterData):void
Name |
Type |
Description |
|
public setWarehouseIds($warehouseIds):void
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
HasStockInWarehouse
Used to filter by stock in warehouse
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Stock
Methods
public getKey():string
public getFilter($settings = []):void
Returns the filter that will be given to the export
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setFilterData($filterData):void
Name |
Type |
Description |
|
public setWarehouseIds($warehouseIds):void
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
StockNet
Used to filter by variation stock net
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Stock
Methods
public getKey():string
public getFilter($settings = []):void
Returns the filter that will be given to the export
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setFilterData($filterData):void
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
StockPhysical
Used to filter by variation stock physical
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Stock
Methods
public getKey():string
public getFilter($settings = []):void
Returns the filter that will be given to the export
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setFilterData($filterData):void
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
StockUpdatedAt
Used to filter by variation stock last update timestamp
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Stock
Methods
public getKey():string
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\VariationStockUpdatedAtFilter
Return type: VariationStockUpdatedAtFilter
Will return a TypeInterface filter if at least one flat file is provided. Otherwise null is returned.
Name |
Type |
Description |
|
public setFilterData($filterData):void
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setTimeWindow($fromDate, $toDate = null):void
Name |
Type |
Description |
|
||
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Tag
VariationHasAtLeastOneTag
Used to represent the ItemHasAtLeastOneTag filter in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Tag
Methods
public getKey():string
public setFilterData($filterData):void
This method will be called in the export process if the filter was registered as a custom filter. In the template definition this should not be called. Use the specific setter methods instead.
Name |
Type |
Description |
|
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\TagFilter
Return type: TagFilter
Will return a TagFilter if at least one tag id is provided. Otherwise null is returned.
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setTagIds($tagIds):Plenty\Modules\Pim\Catalog\Variation\Filters\Tag\VariationHasAtLeastOneTag
Return type: VariationHasAtLeastOneTag
Name |
Type |
Description |
|
public addTagId($tagId):Plenty\Modules\Pim\Catalog\Variation\Filters\Tag\VariationHasAtLeastOneTag
Return type: VariationHasAtLeastOneTag
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
VariationHasTags
Used to represent the ItemHasTags filter in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Tag
Methods
public getKey():string
public setFilterData($filterData):void
This method will be called in the export process if the filter was registered as a custom filter. In the template definition this should not be called. Use the specific setter methods instead.
Name |
Type |
Description |
|
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\TagFilter
Return type: TagFilter
Will return a TagFilter if at least one tag id is provided. Otherwise null is returned.
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setTagIds($tagIds):Plenty\Modules\Pim\Catalog\Variation\Filters\Tag\VariationHasTags
Return type: VariationHasTags
Name |
Type |
Description |
|
public addTagId($tagId):Plenty\Modules\Pim\Catalog\Variation\Filters\Tag\VariationHasTags
Return type: VariationHasTags
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
VariationWithoutTags
Used to represent the ItemWithoutTags filter in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Tag
Methods
public getKey():string
public setFilterData($filterData):void
This method will be called in the export process if the filter was registered as a custom filter. In the template definition this should not be called. Use the specific setter methods instead.
Name |
Type |
Description |
|
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\TagFilter
Return type: TagFilter
Will return a TagFilter if at least one tag id is provided. Otherwise null is returned.
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setTagIds($tagIds):Plenty\Modules\Pim\Catalog\Variation\Filters\Tag\VariationWithoutTags
Return type: VariationWithoutTags
Name |
Type |
Description |
|
public addTagId($tagId):Plenty\Modules\Pim\Catalog\Variation\Filters\Tag\VariationWithoutTags
Return type: VariationWithoutTags
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Variation
VariationCreatedAt
Used to represent the VariationCreatedAtFilter in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Variation
Methods
public getKey():string
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\VariationCreatedAtFilter
Return type: VariationCreatedAtFilter
Will return a TypeInterface filter if at least one flat file is provided. Otherwise null is returned.
Name |
Type |
Description |
|
public setFilterData($filterData):void
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setTimeWindow($fromDate, $toDate = null):void
Name |
Type |
Description |
|
||
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
VariationCurrencies
Used to represent the VariationCurrencies filter in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Variation
Methods
public getKey():string
public setFilterData($filterData):void
This method will be called in the export process if the filter was registered as a custom filter. In the template definition this should not be called. Use the specific setter methods instead.
Name |
Type |
Description |
|
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\SalesPriceFilter
Return type: SalesPriceFilter
Will return a VariationBaseFilter if shouldBeActive is defined. Otherwise null will be returned
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setCurrenciesIds($currenciesIds):Plenty\Modules\Pim\Catalog\Variation\Filters\Variation\VariationCurrencies
Return type: VariationCurrencies
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
VariationHasChildren
Used to represent the hasChildren filters in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Variation
Methods
public getKey():string
public setFilterData($filterData):void
This method will be called in the export process if the filter was registered as a custom filter. In the template definition this should not be called. Use the specific setter methods instead.
Name |
Type |
Description |
|
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Will return a VariationBaseFilter if shouldBeMain is defined. Otherwise null will be returned
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setShouldHaveChildren($shouldHaveChildren):Plenty\Modules\Pim\Catalog\Variation\Filters\Variation\VariationHasChildren
Return type: VariationHasChildren
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
VariationHasLinkedImages
Used variations wtih linked images.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Variation
Methods
public getKey():string
public setFilterData($filterData):void
This method will be called in the export process if the filter was registered as a custom filter. In the template definition this should not be called. Use the specific setter methods instead.
Name |
Type |
Description |
|
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Will return a VariationBaseFilter if shouldBeActive is defined. Otherwise null will be returned
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setShouldBeActive($shouldBeActive):Plenty\Modules\Pim\Catalog\Variation\Filters\Variation\VariationHasLinkedImages
Return type: VariationHasLinkedImages
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
VariationIds
Used to represent the VariationIsActive filter in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Variation
Methods
public getKey():string
public setFilterData($filterData):void
This method will be called in the export process if the filter was registered as a custom filter. In the template definition this should not be called. Use the specific setter methods instead.
Name |
Type |
Description |
|
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Will return a VariationBaseFilter if shouldBeActive is defined. Otherwise null will be returned
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setVariationIds($variationIds):Plenty\Modules\Pim\Catalog\Variation\Filters\Variation\VariationIds
Return type: VariationIds
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
VariationIsActive
Used to represent the VariationIsActive filter in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Variation
Methods
public getKey():string
public setFilterData($filterData):void
This method will be called in the export process if the filter was registered as a custom filter. In the template definition this should not be called. Use the specific setter methods instead.
Name |
Type |
Description |
|
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Will return a VariationBaseFilter if shouldBeActive is defined. Otherwise null will be returned
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setShouldBeActive($shouldBeActive):Plenty\Modules\Pim\Catalog\Variation\Filters\Variation\VariationIsActive
Return type: VariationIsActive
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
VariationIsMain
Used to represent the isMain and isChild filters in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Variation
Methods
public getKey():string
public setFilterData($filterData):void
This method will be called in the export process if the filter was registered as a custom filter. In the template definition this should not be called. Use the specific setter methods instead.
Name |
Type |
Description |
|
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Will return a VariationBaseFilter if shouldBeMain is defined. Otherwise null will be returned
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setShouldBeMain($shouldBeMain):Plenty\Modules\Pim\Catalog\Variation\Filters\Variation\VariationIsMain
Return type: VariationIsMain
Name |
Type |
Description |
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
VariationRelatedUpdatedAt
Used to represent the VariationRelatedUpdatedAtFilter in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Variation
Methods
public getKey():string
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\VariationRelatedLastUpdatedAtFilter
Return type: VariationRelatedLastUpdatedAtFilter
Will return a TypeInterface filter if at least one flat file is provided. Otherwise null is returned.
Name |
Type |
Description |
|
public setFilterData($filterData):void
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setTimeWindow($fromDate, $toDate = null):void
Name |
Type |
Description |
|
||
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
VariationUpdatedAt
Used to represent the VariationUpdatedAtFilter in both the catalog export and UI.
Namespace
Plenty\Modules\Pim\Catalog\Variation\Filters\Variation
Methods
public getKey():string
public getFilter($settings = []):Plenty\Modules\Pim\SearchService\Filter\VariationLastUpdatedAtFilter
Return type: VariationLastUpdatedAtFilter
Will return a TypeInterface filter if at least one flat file is provided. Otherwise null is returned.
Name |
Type |
Description |
|
public setFilterData($filterData):void
Name |
Type |
Description |
|
public getUiFilter():Plenty\Modules\Catalog\Models\Filters\CatalogUiFilter
Return type: CatalogUiFilter
public setTimeWindow($fromDate, $toDate = null):void
Name |
Type |
Description |
|
||
|
public setRequired($required):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Return type: FilterBuilder
Fluent setter
Name |
Type |
Description |
|
public setIsVisible($isVisible):Plenty\Modules\Pim\Catalog\Variation\Filters\FilterBuilder
Contracts
Attribute
AttributeNameRepositoryContract
The contract for the pim attribute name repository
Namespace
Plenty\Modules\Pim\Contracts\Attribute
Methods
public search($with = [], $page = 1, $perPage = 50):Illuminate\Support\Collection
Return type: Collection
Search for attribute names
Name |
Type |
Description |
|
||
|
||
|
public update($data):Illuminate\Support\Collection
Return type: Collection
Updates a list of attribute names
Name |
Type |
Description |
|
public create($data):Illuminate\Support\Collection
Return type: Collection
Creates a list of attribute names
Name |
Type |
Description |
|
public delete($data):Illuminate\Support\Collection
Return type: Collection
Deletes a list of attribute names
Name |
Type |
Description |
|
public getCount():int
Gets the total count of attribute names
public clearCriteria():void
Resets all Criteria filters by creating a new instance of the builder object.
public applyCriteriaFromFilters():void
Applies criteria classes to the current repository.
public setFilters($filters = []):void
Sets the filter array.
Name |
Type |
Description |
|
public getFilters():void
Returns the filter array.
public getConditions():void
Returns a collection of parsed filters as Condition object
public clearFilters():void
Clears the filter array.
AttributeRepositoryContract
The contract for the pim attribute repository
Namespace
Plenty\Modules\Pim\Contracts\Attribute
Methods
public search($with = [], $page = 1, $perPage = 50):Illuminate\Support\Collection
Return type: Collection
Searches for attributes
Name |
Type |
Description |
|
||
|
||
|
public update($data):Illuminate\Support\Collection
Return type: Collection
Updates a list of attributes
Name |
Type |
Description |
|
public create($data):Illuminate\Support\Collection
Return type: Collection
Creates a list of attributes
Name |
Type |
Description |
|
public delete($data):Illuminate\Support\Collection
Return type: Collection
Deletes a list of attributes
Name |
Type |
Description |
|
public getById($id, $with = []):Plenty\Modules\Item\Attribute\Models\Attribute
Return type: Attribute
Get one attribute by ID
Name |
Type |
Description |
|
||
|
public getCount():int
Gets the total count of attributes
public clearCriteria():void
Resets all Criteria filters by creating a new instance of the builder object.
public applyCriteriaFromFilters():void
Applies criteria classes to the current repository.
public setFilters($filters = []):void
Sets the filter array.
Name |
Type |
Description |
|
public getFilters():void
Returns the filter array.
public getConditions():void
Returns a collection of parsed filters as Condition object
public clearFilters():void
Clears the filter array.
AttributeValueNameRepositoryContract
The contract for the attribute value name repository
Namespace
Plenty\Modules\Pim\Contracts\Attribute
Methods
public search($with = [], $page = 1, $perPage = 50):Illuminate\Support\Collection
Return type: Collection
Search attribute value names
Name |
Type |
Description |
|
||
|
||
|
public update($data):Illuminate\Support\Collection
Return type: Collection
Updates a list of attribute value names
Name |
Type |
Description |
|
public create($data):Illuminate\Support\Collection
Return type: Collection
Creates a list of attribute value names
Name |
Type |
Description |
|
public delete($data):Illuminate\Support\Collection
Return type: Collection
Deletes a list of attribute value names
Name |
Type |
Description |
|
public getCount():int
Gets the total count of attribute value names
public clearCriteria():void
Resets all Criteria filters by creating a new instance of the builder object.
public applyCriteriaFromFilters():void
Applies criteria classes to the current repository.
public setFilters($filters = []):void
Sets the filter array.
Name |
Type |
Description |
|
public getFilters():void
Returns the filter array.
public getConditions():void
Returns a collection of parsed filters as Condition object
public clearFilters():void
Clears the filter array.
AttributeValueRepositoryContract
The contract for the pim attribute value repository
Namespace
Plenty\Modules\Pim\Contracts\Attribute
Methods
public search($with = [], $page = 1, $perPage = 50):Illuminate\Support\Collection
Return type: Collection
Searches for attribute values
Name |
Type |
Description |
|
||
|
||
|
public update($data):Illuminate\Support\Collection
Return type: Collection
Updates a list of attribute values
Name |
Type |
Description |
|
public create($data):Illuminate\Support\Collection
Return type: Collection
Creates a list of attribute values
Name |
Type |
Description |
|
public delete($data):Illuminate\Support\Collection
Return type: Collection
Deletes a list of attribute values
Name |
Type |
Description |
|
public getById($id, $with = []):Plenty\Modules\Item\Attribute\Models\AttributeValue
Return type: AttributeValue
Get one attribute value by ID
Name |
Type |
Description |
|
||
|
public getCount():int
Gets the total count of attribute values
public clearCriteria():void
Resets all Criteria filters by creating a new instance of the builder object.
public applyCriteriaFromFilters():void
Applies criteria classes to the current repository.
public setFilters($filters = []):void
Sets the filter array.
Name |
Type |
Description |
|
public getFilters():void
Returns the filter array.
public getConditions():void
Returns a collection of parsed filters as Condition object
public clearFilters():void
Clears the filter array.
Barcode
BarcodeRepositoryContract
The contract for the pim barcode repository
Namespace
Plenty\Modules\Pim\Contracts\Barcode
Methods
public search($with = [], $page = 1, $perPage = 50):Illuminate\Support\Collection
Return type: Collection
Searches for barcodes
Name |
Type |
Description |
|
||
|
||
|
public getById($id, $with = []):Plenty\Modules\Item\Barcode\Models\Barcode
Return type: Barcode
Get one attribute by ID
Name |
Type |
Description |
|
||
|
public update($data):Illuminate\Support\Collection
Return type: Collection
Updates a list of barcodes
Name |
Type |
Description |
|
public create($data):Illuminate\Support\Collection
Return type: Collection
Creates a list of barcodes
Name |
Type |
Description |
|
public delete($data):Illuminate\Support\Collection
Return type: Collection
Deletes a list of barcodes
Name |
Type |
Description |
|
public getCount():int
Gets the total count of barcodes
public clearCriteria():void
Resets all Criteria filters by creating a new instance of the builder object.
public applyCriteriaFromFilters():void
Applies criteria classes to the current repository.
public setFilters($filters = []):void
Sets the filter array.
Name |
Type |
Description |
|
public getFilters():void
Returns the filter array.
public getConditions():void
Returns a collection of parsed filters as Condition object
public clearFilters():void
Clears the filter array.
Category
CategoryDetailRepositoryContract
To be written…
Namespace
Plenty\Modules\Pim\Contracts\Category
Methods
public search($with = [], $page = 1, $perPage = 50):Illuminate\Support\Collection
Return type: Collection
Search category details
Name |
Type |
Description |
|
||
|
||
|
public getCount():int
public clearCriteria():void
Resets all Criteria filters by creating a new instance of the builder object.
public applyCriteriaFromFilters():void
Applies criteria classes to the current repository.
public setFilters($filters = []):void
Sets the filter array.
Name |
Type |
Description |
|
public getFilters():void
Returns the filter array.
public getConditions():void
Returns a collection of parsed filters as Condition object
public clearFilters():void
Clears the filter array.
CategoryRepositoryContract
The contract for the pim category repository
Namespace
Plenty\Modules\Pim\Contracts\Category
Methods
public search($with = [], $page = 1, $perPage = 50, $sorting = []):Illuminate\Support\Collection
Return type: Collection
Search for categories
Name |
Type |
Description |
|
||
|
||
|
||
|
public getById($id, $with = []):Plenty\Modules\Category\Models\Category
Return type: Category
Get one category by ID
Name |
Type |
Description |
|
||
|
public getCount():int
public clearCriteria():void
Resets all Criteria filters by creating a new instance of the builder object.
public applyCriteriaFromFilters():void
Applies criteria classes to the current repository.
public setFilters($filters = []):void
Sets the filter array.
Name |
Type |
Description |
|
public getFilters():void
Returns the filter array.
public getConditions():void
Returns a collection of parsed filters as Condition object
public clearFilters():void
Clears the filter array.
GTIN
GTINRepositoryContract
The contract for the gtin repository
Namespace
Plenty\Modules\Pim\Contracts\GTIN
Methods
public get($next = false):Plenty\Modules\Pim\Models\GTIN\GtinConfig
Return type: GtinConfig
Gets GTIN 13 barcodes from plenty_text
Name |
Type |
Description |
|
Default false. If true generates a new GTIN |
Manufacturer
ManufacturerRepositoryContract
The contract for the pim manufacturer repository
Namespace
Plenty\Modules\Pim\Contracts\Manufacturer
Methods
public search($with = [], $page = 1, $perPage = 50):Illuminate\Support\Collection
Return type: Collection
Search for manufacturer
Name |
Type |
Description |
|
||
|
||
|
public create($data):Illuminate\Support\Collection
Return type: Collection
Create a list of manufacturer
Name |
Type |
Description |
|
public update($data):Illuminate\Support\Collection
Return type: Collection
Update a list of manufacturer
Name |
Type |
Description |
|
public delete($data):Illuminate\Support\Collection
Return type: Collection
Delete a list of manufacturer
Name |
Type |
Description |
|
public getById($id):Plenty\Modules\Item\Manufacturer\Models\Manufacturer
Return type: Manufacturer
Get one manufacturer
Name |
Type |
Description |
|
public getCount():int
public clearCriteria():void
Resets all Criteria filters by creating a new instance of the builder object.
public applyCriteriaFromFilters():void
Applies criteria classes to the current repository.
public setFilters($filters = []):void
Sets the filter array.
Name |
Type |
Description |
|
public getFilters():void
Returns the filter array.
public getConditions():void
Returns a collection of parsed filters as Condition object
public clearFilters():void
Clears the filter array.
SalesPrice
SalesPriceRepositoryContract
The contract for the pim sales price repository
Namespace
Plenty\Modules\Pim\Contracts\SalesPrice
Methods
public search($with = [], $page = 1, $perPage = 50, $sorting = []):Illuminate\Support\Collection
Return type: Collection
Searches for sales prices
Name |
Type |
Description |
|
||
|
||
|
||
|
public create($data):Illuminate\Support\Collection
Return type: Collection
Creates a list of sales prices
Name |
Type |
Description |
|
public update($data):Illuminate\Support\Collection
Return type: Collection
Updates a list of sales prices
Name |
Type |
Description |
|
public delete($data):Illuminate\Support\Collection
Return type: Collection
Deletes a list of sales prices
Name |
Type |
Description |
|
public getById($id, $with = []):Plenty\Modules\Item\SalesPrice\Models\SalesPrice
Return type: SalesPrice
Gets one sales price by ID
Name |
Type |
Description |
|
||
|
public getCount():int
Gets the total count of sales prices
public clearCriteria():void
Resets all Criteria filters by creating a new instance of the builder object.
public applyCriteriaFromFilters():void
Applies criteria classes to the current repository.
public setFilters($filters = []):void
Sets the filter array.
Name |
Type |
Description |
|
public getFilters():void
Returns the filter array.
public getConditions():void
Returns a collection of parsed filters as Condition object
public clearFilters():void
Clears the filter array.
Models
Variation
PropertySelectionValue
The Property selection values of the variation
Namespace
Plenty\Modules\Pim\DocumentService\Models\Variation
Name | Type | Description |
---|---|---|
id |
The id of the relation selection value |
|
selectionId |
The selection id of the relation selection value |
Methods
public toArray()
Returns this model as an array.
PropertyValue
The Property values of the variation
Namespace
Plenty\Modules\Pim\DocumentService\Models\Variation
Name | Type | Description |
---|---|---|
id |
The id of the relation value |
|
lang |
The lang of the relation value |
|
value |
The value of the relation value |
|
description |
The description of the relation value |
Methods
public toArray()
Returns this model as an array.
Item
AmazonProductType
The amazon product type model.
Namespace
Plenty\Modules\Pim\Models\Item
Name | Type | Description |
---|---|---|
id |
The unique ID of the amazon product type |
|
genre |
The genre of the amazon product type |
|
type |
The type of the amazon product type |
|
genreDescription |
The description of the amazon product genre |
|
typeDescription |
The description of the amazon product type |
Methods
public toArray()
Returns this model as an array.
DocumentService
Models
WriteResponse
The write response model of the vdi.
Namespace
Plenty\Modules\Pim\DocumentService\Models
Methods
public toArray()
Returns this model as an array.
WriteableAttribute
The writeable attribute interface for the vdi models
Namespace
Plenty\Modules\Pim\DocumentService\Models
Methods
public getVariationId():void
public setVariationId($variationId):Plenty\Modules\Pim\DocumentService\Models\WriteableAttribute
Return type: WriteableAttribute
Set the variation ID of the part
Name |
Type |
Description |
|
public getUniqueKeyValue():string
public getKey():string
public getValidator($operation):string
Name |
Type |
Description |
|
public hasChanged($model):bool
Name |
Type |
Description |
|
SearchService
Aggregations
AttributeValueAggregation
Aggregate data by attributeValue ids
Namespace
Plenty\Modules\Pim\SearchService\Aggregations
Methods
public getName():string
Get the name of the aggregation
public getField():string
Get the field of the aggregation
public getAggregation():array
public setInclude($string):void
Name |
Type |
Description |
|
public toArray():array
public process($data):array
Name |
Type |
Description |
|
public addAggregation($aggregation):void
Name |
Type |
Description |
|
public addSource($source):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\Aggregation\AggregationInterface
Return type: AggregationInterface
Name |
Type |
Description |
|
public setPage($page, $rowsPerPage):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\Aggregation\AggregationInterface
Return type: AggregationInterface
Name |
Type |
Description |
|
||
|
public getSources():void
CategoryAllTermsAggregation
Aggregate data by all category ids
Namespace
Plenty\Modules\Pim\SearchService\Aggregations
Methods
public getName():string
Get the name of the aggregation
public getField():string
Get the field of the aggregation
public getAggregation():array
public setInclude($string):void
Name |
Type |
Description |
|
public toArray():array
public process($data):array
Name |
Type |
Description |
|
public addAggregation($aggregation):void
Name |
Type |
Description |
|
public addSource($source):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\Aggregation\AggregationInterface
Return type: AggregationInterface
Name |
Type |
Description |
|
public setPage($page, $rowsPerPage):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\Aggregation\AggregationInterface
Return type: AggregationInterface
Name |
Type |
Description |
|
||
|
public getSources():void
CategoryPathTermsAggregation
Aggregate data by all category paths
Namespace
Plenty\Modules\Pim\SearchService\Aggregations
Methods
public getName():string
Get the name of the aggregation
public getField():string
Get the field of the aggregation
public getAggregation():array
public setInclude($string):void
Name |
Type |
Description |
|
public toArray():array
public process($data):array
Name |
Type |
Description |
|
public addAggregation($aggregation):void
Name |
Type |
Description |
|
public addSource($source):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\Aggregation\AggregationInterface
Return type: AggregationInterface
Name |
Type |
Description |
|
public setPage($page, $rowsPerPage):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\Aggregation\AggregationInterface
Return type: AggregationInterface
Name |
Type |
Description |
|
||
|
public getSources():void
ItemCardinalityAggregation
Get the count of found items
Namespace
Plenty\Modules\Pim\SearchService\Aggregations
Methods
public getName():string
Get the name of the aggregation
public getField():string
Get the field of the aggregation
public getAggregation():array
public toArray():array
public process($data):array
Name |
Type |
Description |
|
public addAggregation($aggregation):void
Name |
Type |
Description |
|
public addSource($source):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\Aggregation\AggregationInterface
Return type: AggregationInterface
Name |
Type |
Description |
|
public setPage($page, $rowsPerPage):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\Aggregation\AggregationInterface
Return type: AggregationInterface
Name |
Type |
Description |
|
||
|
public getSources():void
ItemIdTermsAggregation
Aggregate data by item ids
Namespace
Plenty\Modules\Pim\SearchService\Aggregations
Methods
public getName():string
Get the name of the aggregation
public getField():string
Get the field of the aggregation
public getAggregation():array
public setInclude($string):void
Name |
Type |
Description |
|
public toArray():array
public process($data):array
Name |
Type |
Description |
|
public addAggregation($aggregation):void
Name |
Type |
Description |
|
public addSource($source):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\Aggregation\AggregationInterface
Return type: AggregationInterface
Name |
Type |
Description |
|
public setPage($page, $rowsPerPage):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\Aggregation\AggregationInterface
Return type: AggregationInterface
Name |
Type |
Description |
|
||
|
public getSources():void
SalableFilterAggregation
Filter Aggregated Data if variation is salable
Namespace
Plenty\Modules\Pim\SearchService\Aggregations
Methods
public getName():string
Get the name of the aggregation
public getAggregation():array
public addFilter($filter):void
Name |
Type |
Description |
|
public setIndex($index):void
Name |
Type |
Description |
|
public toArray():array
public process($data):array
Name |
Type |
Description |
|
public addAggregation($aggregation):void
Name |
Type |
Description |
|
public addSource($source):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\Aggregation\AggregationInterface
Return type: AggregationInterface
Name |
Type |
Description |
|
public setPage($page, $rowsPerPage):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\Aggregation\AggregationInterface
Return type: AggregationInterface
Name |
Type |
Description |
|
||
|
public getSources():void
UnitCombinationAggregation
Aggregate data by unit combination ids
Namespace
Plenty\Modules\Pim\SearchService\Aggregations
Methods
public getName():string
Get the name of the aggregation
public getField():string
Get the field of the aggregation
public getAggregation():array
public setInclude($string):void
Name |
Type |
Description |
|
public toArray():array
public process($data):array
Name |
Type |
Description |
|
public addAggregation($aggregation):void
Name |
Type |
Description |
|
public addSource($source):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\Aggregation\AggregationInterface
Return type: AggregationInterface
Name |
Type |
Description |
|
public setPage($page, $rowsPerPage):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\Aggregation\AggregationInterface
Return type: AggregationInterface
Name |
Type |
Description |
|
||
|
public getSources():void
Filter
AmazonFilter
Includes filters for amazon
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public hasAnyFlatFile($flatFiles):Plenty\Modules\Pim\SearchService\Filter\AmazonFilter
Return type: AmazonFilter
Restricts the result to have any of the specified flatFiles.
Name |
Type |
Description |
|
public hasAnyProductType($productTypes):Plenty\Modules\Pim\SearchService\Filter\AmazonFilter
Return type: AmazonFilter
Restricts the result to have any of the specified productTypes.
Name |
Type |
Description |
|
public hasAnyProductTypeId($productTypeIds):Plenty\Modules\Pim\SearchService\Filter\AmazonFilter
Return type: AmazonFilter
Restricts the result to have any of the specified typeIds.
Name |
Type |
Description |
|
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
AttributeFilter
Includes filters for attributes
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public hasAttribute($attributeId):Plenty\Modules\Pim\SearchService\Filter\AttributeFilter
Return type: AttributeFilter
Restricts the result to have the specified attributeId.
Name |
Type |
Description |
|
public hasAnyAttribute($attributeIds):Plenty\Modules\Pim\SearchService\Filter\AttributeFilter
Return type: AttributeFilter
Restricts the result to have any of the specified attributeId.
Name |
Type |
Description |
|
public hasAllAttributes($attributeIds):Plenty\Modules\Pim\SearchService\Filter\AttributeFilter
Return type: AttributeFilter
Restricts the result to has all of the specified attributeId.
Name |
Type |
Description |
|
public hasAttributeValue($attributeValueId):Plenty\Modules\Pim\SearchService\Filter\AttributeFilter
Return type: AttributeFilter
Restricts the result to have the specified attributeValueId.
Name |
Type |
Description |
|
public hasAnyAttributeValue($attributeValueIds):Plenty\Modules\Pim\SearchService\Filter\AttributeFilter
Return type: AttributeFilter
Restricts the result to have any of the specified attributeValueId.
Name |
Type |
Description |
|
public hasAllAttributeValues($attributeValueIds):Plenty\Modules\Pim\SearchService\Filter\AttributeFilter
Return type: AttributeFilter
Restricts the result to have all of the specified attributeValueId.
Name |
Type |
Description |
|
public hasNoAttributeValue():void
Restricts the result to have no attribute value.
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
BarcodeFilter
Includes filters for barcodes
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public hasCode($code, $precision):Plenty\Modules\Pim\SearchService\Filter\BarcodeFilter
Return type: BarcodeFilter
Restricts the result to have a specified code.
Name |
Type |
Description |
|
||
|
public hasType($type):void
Restricts the result to have a specified type. Not implemented.
Name |
Type |
Description |
|
public hasId($id):Plenty\Modules\Pim\SearchService\Filter\BarcodeFilter
Return type: BarcodeFilter
Restricts the result to have a specified id.
Name |
Type |
Description |
|
public hasNoBarcode():Plenty\Modules\Pim\SearchService\Filter\BarcodeFilter
Return type: BarcodeFilter
Restricts the result to have no barcodes
public hasBarcode():Plenty\Modules\Pim\SearchService\Filter\BarcodeFilter
Return type: BarcodeFilter
Restricts the result to have at least one barcode
public hasAnyBarcode($barcodeIds):Plenty\Modules\Pim\SearchService\Filter\BarcodeFilter
Return type: BarcodeFilter
Restricts the result to have any of the barcode ids.
Name |
Type |
Description |
|
public withoutBarcode($barcodeId):Plenty\Modules\Pim\SearchService\Filter\BarcodeFilter
Return type: BarcodeFilter
Name |
Type |
Description |
|
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
CategoryFilter
Includes filters for categories
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public isInAtLeastOneCategory($categoryIds, $depth = self::DEPTH_ANY):Plenty\Modules\Pim\SearchService\Filter\CategoryFilter
Return type: CategoryFilter
Restricts the result to have any of the categoryIds.
Name |
Type |
Description |
|
||
|
public static getPathByDepth($depth):string
Get the path by depth.
Name |
Type |
Description |
|
public isInEachCategory($categoryIds, $depth = self::DEPTH_ANY):Plenty\Modules\Pim\SearchService\Filter\CategoryFilter
Return type: CategoryFilter
Restricts the result to have all of the categoryIds.
Name |
Type |
Description |
|
||
|
public isInCategory($categoryId, $depth = self::DEPTH_ANY):Plenty\Modules\Pim\SearchService\Filter\CategoryFilter
Return type: CategoryFilter
Restricts the result to have the categoryId.
Name |
Type |
Description |
|
||
|
public isInACategory($bool = true):Plenty\Modules\Pim\SearchService\Filter\CategoryFilter
Return type: CategoryFilter
Restricts the result to have a category.
Name |
Type |
Description |
|
public hasNotCategoryIds($categoryIds, $depth = self::DEPTH_ANY):Plenty\Modules\Pim\SearchService\Filter\CategoryFilter
Return type: CategoryFilter
Restricts the result to not match the specified IDs.
Name |
Type |
Description |
|
||
|
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
CharacteristicFilter
Includes filters for characteristics
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public hasAtLeastOneProperty($ids):Plenty\Modules\Pim\SearchService\Filter\CharacteristicFilter
Return type: CharacteristicFilter
Restricts the result to have any of the characteristicIds.
Name |
Type |
Description |
|
public hasEachProperty($ids):Plenty\Modules\Pim\SearchService\Filter\CharacteristicFilter
Return type: CharacteristicFilter
Restricts the result to have all of the characteristicIds.
Name |
Type |
Description |
|
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
ClientFilter
Includes filters for clients
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public isVisibleForClient($clientId):Plenty\Modules\Pim\SearchService\Filter\ClientFilter
Return type: ClientFilter
Restricts the result to have the clientId.
Name |
Type |
Description |
|
public isVisibleForAtLeastOneClient($clientIds):Plenty\Modules\Pim\SearchService\Filter\ClientFilter
Return type: ClientFilter
Restricts the result to have any of the clientIds.
Name |
Type |
Description |
|
public isVisibleForAllClients($clientIds):Plenty\Modules\Pim\SearchService\Filter\ClientFilter
Return type: ClientFilter
Restricts the result to have all of the clientIds.
Name |
Type |
Description |
|
public hasAutomaticClientVisibility($values):Plenty\Modules\Pim\SearchService\Filter\ClientFilter
Return type: ClientFilter
Restricts the result to have any of the automaticClientVisibilities. (-1, 0, 1, 2)
Name |
Type |
Description |
|
public hasNotClientIds($clientIds):Plenty\Modules\Pim\SearchService\Filter\ClientFilter
Return type: ClientFilter
Restricts the result to not match the specified IDs.
Name |
Type |
Description |
|
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
CrossSellingFilter
Includes filters for cross selling
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public getPath():string
get the nested path of the filter
public hasItemId($itemId):void
Restricts the result to have the itemId linked
Name |
Type |
Description |
|
public hasRelation($relation):Plenty\Modules\Pim\SearchService\Filter\CrossSellingFilter
Return type: CrossSellingFilter
Restricts the result to have the relation
Name |
Type |
Description |
|
public hasAnyRelation($relations):Plenty\Modules\Pim\SearchService\Filter\CrossSellingFilter
Return type: CrossSellingFilter
Restricts the result to have any relation
Name |
Type |
Description |
|
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
DocumentUpdatedAtFilter
Used to filter by elastic search document last update timestamp
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public getTimestamp():string
Get the timestamp of the filter
public getType():string
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
FacetFilter
Includes filters for facets
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public hasAtLeastOneFacet($facetIds):Plenty\Modules\Pim\SearchService\Filter\FacetFilter
Return type: FacetFilter
Restricts the result to have any of the facetIds.
Name |
Type |
Description |
|
public hasEachFacet($facetIds):Plenty\Modules\Pim\SearchService\Filter\FacetFilter
Return type: FacetFilter
Restricts the result to have all facetIds.
Name |
Type |
Description |
|
public hasFacet($facetIds):Plenty\Modules\Pim\SearchService\Filter\FacetFilter
Return type: FacetFilter
Restricts the result to have the facetIds.
Name |
Type |
Description |
|
public hasFacetValue($facetValueId):Plenty\Modules\Pim\SearchService\Filter\FacetFilter
Return type: FacetFilter
Restricts the result to have the facetValueId.
Name |
Type |
Description |
|
public hasAFacet():Plenty\Modules\Pim\SearchService\Filter\FacetFilter
Return type: FacetFilter
Restricts the result to have any of the facetValueIds.
public hasAtLeastOneFacetValue($valueIds):Plenty\Modules\Pim\SearchService\Filter\FacetFilter
Return type: FacetFilter
Restricts the result to have any of the facetValueIds.
Name |
Type |
Description |
|
public hasEachFacetValue($valueIds):Plenty\Modules\Pim\SearchService\Filter\FacetFilter
Return type: FacetFilter
Restricts the result to have all the facetValueIds.
Name |
Type |
Description |
|
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
FeedbackRangeFilter
Includes filters for feedback
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public hasFeedbackGreaterThan($value):Plenty\Modules\Pim\SearchService\Filter\FeedbackRangeFilter
Return type: FeedbackRangeFilter
Restricts the result to have feedback greater than or equal the value.
Name |
Type |
Description |
|
public getType():string
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
ItemCreatedAtFilter
Used to filter by item created at timestamp
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public getTimestamp():string
Get the timestamp of the filter
public getType():string
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
ItemFilter
Includes filters for the item
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public hasId($id):Plenty\Modules\Pim\SearchService\Filter\ItemFilter
Return type: ItemFilter
Restricts the result to have the item id.
Name |
Type |
Description |
|
public hasIds($ids):Plenty\Modules\Pim\SearchService\Filter\ItemFilter
Return type: ItemFilter
Restricts the result to have all the item ids.
Name |
Type |
Description |
|
public hasAnImage():Plenty\Modules\Pim\SearchService\Filter\ItemFilter
Return type: ItemFilter
Restricts the result to have an image that is not linked to any variation.
public doesntHaveAnImage():Plenty\Modules\Pim\SearchService\Filter\ItemFilter
Return type: ItemFilter
Restricts the result to have an image that is not linked to any variation.
public hasAnyImage():Plenty\Modules\Pim\SearchService\Filter\ItemFilter
Return type: ItemFilter
Restricts the results to have an image on item
public hasFlag1($flagId):Plenty\Modules\Pim\SearchService\Filter\ItemFilter
Return type: ItemFilter
Restricts the result to have the specified flag 1.
Name |
Type |
Description |
|
public hasAnyFlag1($flags):Plenty\Modules\Pim\SearchService\Filter\ItemFilter
Return type: ItemFilter
Restricts the result to have any of the specified flags.
Name |
Type |
Description |
|
public hasFlag2($flagId):Plenty\Modules\Pim\SearchService\Filter\ItemFilter
Return type: ItemFilter
Restricts the result to have the specified flag 2.
Name |
Type |
Description |
|
public hasAnyFlag2($flags):Plenty\Modules\Pim\SearchService\Filter\ItemFilter
Return type: ItemFilter
Restricts the result to have any of the specified flags.
Name |
Type |
Description |
|
public hasManufacturer($manufacturerId):Plenty\Modules\Pim\SearchService\Filter\ItemFilter
Return type: ItemFilter
Restricts the result to have the manufacturer id.
Name |
Type |
Description |
|
public hasManufacturers($manufacturerIds):Plenty\Modules\Pim\SearchService\Filter\ItemFilter
Return type: ItemFilter
Restricts the result to have any of the manufacturer ids.
Name |
Type |
Description |
|
public hasAManufacturer():Plenty\Modules\Pim\SearchService\Filter\ItemFilter
Return type: ItemFilter
Restricts the result to have an manufacturer.
public withoutManufacturer():void
public isItemType($itemType):Plenty\Modules\Pim\SearchService\Filter\ItemFilter
Return type: ItemFilter
Restricts the result to have the specified item type.
Name |
Type |
Description |
|
public isNotItemType($itemType):Plenty\Modules\Pim\SearchService\Filter\ItemFilter
Return type: ItemFilter
Restricts the result to not have the specified item type.
Name |
Type |
Description |
|
public hasAnyRevenueAccount($revenueAccounts):Plenty\Modules\Pim\SearchService\Filter\ItemFilter
Return type: ItemFilter
Name |
Type |
Description |
|
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
ItemLastUpdatedAtFilter
Used to filter by item last update timestamp
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public getTimestamp():string
Get the timestamp of the filter
public getType():string
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
ItemRangeFilter
used to filter the range between item ids
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public getType():string
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
ItemUpdatedAtFilter
Used to filter by item created at timestamp
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public getTimestamp():string
public getType():string
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
MarketFilter
Includes filters for markets
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public isVisibleForMarket($marketId):Plenty\Modules\Pim\SearchService\Filter\MarketFilter
Return type: MarketFilter
Restricts the result to have the market id.
Name |
Type |
Description |
|
public isVisibleForAtLeastOneMarket($marketIds):Plenty\Modules\Pim\SearchService\Filter\MarketFilter
Return type: MarketFilter
Restricts the result to have any of the market ids.
Name |
Type |
Description |
|
public isNotAvailableForAtLeastOneMarket($marketIds):Plenty\Modules\Pim\SearchService\Filter\MarketFilter
Return type: MarketFilter
Restricts the result to not have any of the market ids.
Name |
Type |
Description |
|
public isVisibleForAllMarkets($marketIds):Plenty\Modules\Pim\SearchService\Filter\MarketFilter
Return type: MarketFilter
Restricts the result to have all the market ids.
Name |
Type |
Description |
|
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
PriceFilter
Includes filters for prices
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public getPath():string
Get the path of the filter
public between($min = null, $max = null):void
Restricts the result to have a price between the specified min and max value.
Name |
Type |
Description |
|
||
|
public betweenByPriceId($priceIds = [], $min = null, $max = null):Plenty\Modules\Pim\SearchService\Filter\PriceFilter
Return type: PriceFilter
Restricts the result to a price between the specified min and max value. The price must be related to one of the specified price ids.
Name |
Type |
Description |
|
||
|
||
|
public priceValue($priceValue, $priceType, $operator = "eq"):Plenty\Modules\Pim\SearchService\Filter\PriceFilter
Return type: PriceFilter
Name |
Type |
Description |
|
||
|
||
|
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
PropertyFilter
Includes filters for Properties
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public hasPropertySelection($id):Plenty\Modules\Pim\SearchService\Filter\PropertyFilter
Return type: PropertyFilter
Restricts the result to have the property selection id.
Name |
Type |
Description |
|
public hasAtLeastOnePropertySelection($ids):Plenty\Modules\Pim\SearchService\Filter\PropertyFilter
Return type: PropertyFilter
Restricts the result to have any of the property selection ids.
Name |
Type |
Description |
|
public hasEachPropertySelection($ids):Plenty\Modules\Pim\SearchService\Filter\PropertyFilter
Return type: PropertyFilter
Restricts the result to have all of the property selection ids.
Name |
Type |
Description |
|
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
SalesPriceFilter
Includes filters for salesPrices
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public hasAtLeastOnePrice($priceIds):Plenty\Modules\Pim\SearchService\Filter\SalesPriceFilter
Return type: SalesPriceFilter
Restricts the result to have any of the price ids.
Name |
Type |
Description |
|
public hasPriceIds($priceIds):Plenty\Modules\Pim\SearchService\Filter\SalesPriceFilter
Return type: SalesPriceFilter
Name |
Type |
Description |
|
public hasNotPriceIds($priceIds):Plenty\Modules\Pim\SearchService\Filter\SalesPriceFilter
Return type: SalesPriceFilter
Restricts the result to not match the specified IDs.
Name |
Type |
Description |
|
public hasLowestPrice($bool = true):void
Name |
Type |
Description |
|
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
SkuFilter
Includes filters for skus
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public getPath():string
Get the path of the filter.
public hasMarketId($marketId):Plenty\Modules\Pim\SearchService\Filter\SkuFilter
Return type: SkuFilter
Restricts the result to have a sku with the market referrer id.
Name |
Type |
Description |
|
public hasAccountId($accountId):Plenty\Modules\Pim\SearchService\Filter\SkuFilter
Return type: SkuFilter
Restricts the result to have a sku with the account id.
Name |
Type |
Description |
|
public hasStatus($status):Plenty\Modules\Pim\SearchService\Filter\SkuFilter
Return type: SkuFilter
Restricts the result to have a sku with the status.
Name |
Type |
Description |
|
public hasSku($sku):Plenty\Modules\Pim\SearchService\Filter\SkuFilter
Return type: SkuFilter
Restricts the result to have a specified sku.
Name |
Type |
Description |
|
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
StockFilter
Includes filters for stock
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public netStock($netStock, $operator = "eq"):Plenty\Modules\Pim\SearchService\Filter\StockFilter
Return type: StockFilter
Restricts the result to meet the specified net stock value depending on the operator
Name |
Type |
Description |
|
||
|
public physicalStock($physicalStock, $operator = "eq"):Plenty\Modules\Pim\SearchService\Filter\StockFilter
Return type: StockFilter
Restricts the result to meet the specified physical stock value depending on the operator
Name |
Type |
Description |
|
||
|
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
SupplierFilter
Includes filters for supplier
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public matchSupplierItemNumber($term, $precision = \Plenty\Modules\Cloud\ElasticSearch\Lib\ElasticSearch::SEARCH_TYPE_EXACT):Plenty\Modules\Pim\SearchService\Filter\SupplierFilter
Return type: SupplierFilter
Name |
Type |
Description |
|
||
|
public hasSupplier($supplierId):Plenty\Modules\Pim\SearchService\Filter\SupplierFilter
Return type: SupplierFilter
Restricts the result to have the supplier id.
Name |
Type |
Description |
|
public hasAnySupplier($supplierIds):Plenty\Modules\Pim\SearchService\Filter\SupplierFilter
Return type: SupplierFilter
Restricts the result to have any of the tag ids.
Name |
Type |
Description |
|
public hasAllSuppliers($supplierIds):Plenty\Modules\Pim\SearchService\Filter\SupplierFilter
Return type: SupplierFilter
Restricts the result to have all of the tag ids.
Name |
Type |
Description |
|
public hasNotSupplierIds($supplierIds):Plenty\Modules\Pim\SearchService\Filter\SupplierFilter
Return type: SupplierFilter
Restricts the result to not match the specified IDs.
Name |
Type |
Description |
|
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
TagFilter
Includes filters for tags
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public hasTag($tagId):Plenty\Modules\Pim\SearchService\Filter\TagFilter
Return type: TagFilter
Restricts the result to have the tag id.
Name |
Type |
Description |
|
public hasAnyTag($tagIds):Plenty\Modules\Pim\SearchService\Filter\TagFilter
Return type: TagFilter
Restricts the result to have any of the tag ids.
Name |
Type |
Description |
|
Return type: TagFilter
Restricts the result to have all of the tag ids.
Name |
Type |
Description |
|
public hasNotTagIds($tagIds):Plenty\Modules\Pim\SearchService\Filter\TagFilter
Return type: TagFilter
Restricts the result to not match the specified IDs.
Name |
Type |
Description |
|
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
TextFilter
Includes filters for texts
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public hasAnyName():Plenty\Modules\Pim\SearchService\Filter\TextFilter
Return type: TextFilter
Restricts the result to have any name.
public hasNameInLanguage($lang = "de", $filter = self::FILTER_ANY_NAME):Plenty\Modules\Pim\SearchService\Filter\TextFilter
Return type: TextFilter
Restricts the result to have specific or any name in language: Possible filter are hasAnyNameInLanguage, hasName1InLanguage, hasName2InLanguage, hasName3InLanguage.
Name |
Type |
Description |
|
||
|
public matchAnyName($lang, $term, $precision = \Plenty\Modules\Cloud\ElasticSearch\Lib\ElasticSearch::SEARCH_TYPE_EXACT):Plenty\Modules\Pim\SearchService\Filter\TextFilter
Return type: TextFilter
Name |
Type |
Description |
|
||
|
||
|
public matchName1($lang, $term, $precision = \Plenty\Modules\Cloud\ElasticSearch\Lib\ElasticSearch::SEARCH_TYPE_EXACT):Plenty\Modules\Pim\SearchService\Filter\TextFilter
Return type: TextFilter
Name |
Type |
Description |
|
||
|
||
|
public matchName2($lang, $term, $precision = \Plenty\Modules\Cloud\ElasticSearch\Lib\ElasticSearch::SEARCH_TYPE_EXACT):Plenty\Modules\Pim\SearchService\Filter\TextFilter
Return type: TextFilter
Name |
Type |
Description |
|
||
|
||
|
public matchName3($lang, $term, $precision = \Plenty\Modules\Cloud\ElasticSearch\Lib\ElasticSearch::SEARCH_TYPE_EXACT):Plenty\Modules\Pim\SearchService\Filter\TextFilter
Return type: TextFilter
Name |
Type |
Description |
|
||
|
||
|
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
public static isLanguageSupported($lang):bool
Name |
Type |
Description |
|
public static isLanguageActivated($lang):bool
Name |
Type |
Description |
|
public static getM10lByLanguage($lang, $fallback = "en"):string
Name |
Type |
Description |
|
||
|
public static getLanguageByM10l($lang, $fallback = "english"):string
Name |
Type |
Description |
|
||
|
VariationAvailabilityUpdatedAtFilter
Used to filter by variation availability last update timestamp
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public getTimestamp():string
Get the timestamp of the filter
public getType():string
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
VariationBarcodeUpdatedAtFilter
Used to filter by variation barcode last update timestamp
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public getTimestamp():string
Get the timestamp of the filter
public getType():string
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
VariationBaseFilter
Includes filters for the base variation
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public hasNumber($number, $precision):Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Restricts the result to have the number. Possible precisions are: exact, fuzzy and autocomplete
Name |
Type |
Description |
|
||
|
public hasModel($model, $precision):Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Restricts the result to have the model. Possible precisions are: exact, fuzzy and autocomplete
Name |
Type |
Description |
|
||
|
public hasAnyNumber($numbers):void
Restricts the result to have any of the numbers.
Name |
Type |
Description |
|
public hasMainVariationId($mainVariationId):Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Restricts the result to have the main variation id.
Name |
Type |
Description |
|
public hasMainVariationIds($mainVariationIds):Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Restricts the result to have any of the main variation ids.
Name |
Type |
Description |
|
public isActive():Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Restricts the result to have active variations only.
public isInactive():Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Restricts the result to have inactive variations only.
public hasId($id):Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Restricts the result to have the variation id.
Name |
Type |
Description |
|
public hasIds($ids):Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Restricts the result to have any of the variation ids.
Name |
Type |
Description |
|
public hasItemId($itemId):Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Restricts the result to have the item id.
Name |
Type |
Description |
|
public hasAnyPriceCalculationId():Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Restricts the result to have the any price calculation id
public hasPriceCalculationIds($ids):Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Restricts the result to have the any of the price calculation ids
Name |
Type |
Description |
|
public hasPriceCalculationUuid($uuid):Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Restricts the result to have the price calculation uuid
Name |
Type |
Description |
|
public hasAnyPriceCalculationUuid($uuids):Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Restricts the result to have the any of the price calculation uuid
Name |
Type |
Description |
|
public hasItemIds($itemIds):Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Restricts the result to have the any of the item ids
Name |
Type |
Description |
|
public isMain():Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Restricts the result to have no child's
public isChild():Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Restricts the result to have child's only
public isSalable($bool = true):Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Restricts the result whether is salable or not.
Name |
Type |
Description |
|
Return type: VariationBaseFilter
Restricts the result whether is hidden in category list or not.
Name |
Type |
Description |
|
public hasADescriptionInLanguage($language):Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
This filter is not implemented. Deprecated.
Name |
Type |
Description |
|
public hasAnImageOrItemHasAnImage($bool = true):Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Restricts the result to have an image.
Name |
Type |
Description |
|
public hasLinkedImages():void
public hasAnImage($bool = true):Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Restricts the result to have an item image.
Name |
Type |
Description |
|
public hasVariationImage($bool = true):Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Restricts the result to have an item image.
Name |
Type |
Description |
|
public hasManufacturer($manufacturerId):Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Restricts the result to have the manufacturer.
Name |
Type |
Description |
|
public hasSupplier($supplierId):Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Restricts the result to have the supplier.
Name |
Type |
Description |
|
public hasAtLeastOneAvailability($availabilities):Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Restricts the result to have any of the availabilities.
Name |
Type |
Description |
|
public hasActiveChildren($bool = true):Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Restricts the result to have active child variations or not.
Name |
Type |
Description |
|
public hasChildren($bool = true):Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Restricts the result to have child variations or not.
Name |
Type |
Description |
|
public hasCustomsTariffNumber($customsTariffNumber):Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Restricts the result to have the customs tariff number.
Name |
Type |
Description |
|
public customsTariffNumberNotExists():Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Restricts the result to have no customs tariff number.
public customsTariffNumberExists():Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Restricts the result to have a customs tariff number.
public hasNotReferrerIds($ids):Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Restricts the result to not match the specified referrer IDs.
Name |
Type |
Description |
|
public hasNotIds($ids):Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Restricts the result to not match the specified IDs.
Name |
Type |
Description |
|
public hasNotItemIds($itemIds):Plenty\Modules\Pim\SearchService\Filter\VariationBaseFilter
Return type: VariationBaseFilter
Restricts the result to not match the specified item IDs.
Name |
Type |
Description |
|
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
VariationBundleFilter
Includes filters for bundles
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public hasBundleType($bundleType):Plenty\Modules\Pim\SearchService\Filter\VariationBundleFilter
Return type: VariationBundleFilter
Restricts the result to have the bundle type.
Name |
Type |
Description |
|
public hasBundleTypes($bundleTypes):Plenty\Modules\Pim\SearchService\Filter\VariationBundleFilter
Return type: VariationBundleFilter
Restricts the result to have the any of the bundle types.
Name |
Type |
Description |
|
public hasNoBundleType():Plenty\Modules\Pim\SearchService\Filter\VariationBundleFilter
Return type: VariationBundleFilter
Restricts the result to have the no bundle type.
public isNotBundle():Plenty\Modules\Pim\SearchService\Filter\VariationBundleFilter
Return type: VariationBundleFilter
Restricts the result to have the no bundle type.
public hasBundleComponentVariationId($componentVariationId):Plenty\Modules\Pim\SearchService\Filter\VariationBundleFilter
Return type: VariationBundleFilter
Restricts the result to have the bundle component variation id.
Name |
Type |
Description |
|
public hasNotBundleType($bundleType):Plenty\Modules\Pim\SearchService\Filter\VariationBundleFilter
Return type: VariationBundleFilter
Restricts the result to not match the specified bundle type.
Name |
Type |
Description |
|
public toArray():array
public setMinimumShouldMatch($minimumShouldMatch):void
Name |
Type |
Description |
|
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
VariationCategoryUpdatedAtFilter
Used to filter by variation category last update timestamp
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public getTimestamp():string
Get the timestamp of the filter
public getType():string
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
VariationClientUpdatedAtFilter
Used to filter by variation client last update timestamp
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public getTimestamp():string
Get the timestamp of the filter
public getType():string
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
VariationCreatedAtFilter
Used to filter by variation created at timestamp
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public getTimestamp():string
Get the timestamp of the filter
public getType():string
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
VariationLastUpdatedAtFilter
Used to filter by variation last update timestamp
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public getTimestamp():string
Get the timestamp of the filter
public getType():string
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
VariationMarketUpdatedAtFilter
Used to filter by variation market last update timestamp
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public getTimestamp():string
Get the timestamp of the filter
public getType():string
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
VariationPropertyUpdatedAtFilter
Used to filter by variation property last update timestamp
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public getTimestamp():string
Get the timestamp of the filter
public getType():string
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
VariationRelatedLastUpdatedAtFilter
Used to filter by variation related last updated at timestamp
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public getTimestamp():string
Get the timestamp of the filter
public getType():string
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
VariationSalesPriceUpdatedAtFilter
Used to filter by variation saleyPrice last update timestamp
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public getTimestamp():string
Get the timestamp of the filter
public getType():string
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
VariationSkuUpdatedAtFilter
Used to filter by variation saleyPrice last update timestamp
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public getTimestamp():string
Get the timestamp of the filter
public getType():string
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
VariationStockNetFilter
Used to filter by variation stock net
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public getTimestamp():string
Get the timestamp of the filter
public getType():string
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
VariationStockPhysicalFilter
Used to filter by variation stock physical
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public getTimestamp():string
Get the timestamp of the filter
public getType():string
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
VariationStockUpdatedAtFilter
Used to filter by variation stock last update timestamp
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public getTimestamp():string
Get the timestamp of the filter
public getType():string
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
VariationSupplierUpdatedAtFilter
Used to filter by variation supplier last update timestamp
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public getTimestamp():string
Get the timestamp of the filter
public getType():string
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
VariationTagUpdatedAtFilter
Used to filter by variation tag last update timestamp
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public getTimestamp():string
Get the timestamp of the filter
public getType():string
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
VariationWarehouseUpdatedAtFilter
Used to filter by variation warehouse last update timestamp
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public getTimestamp():string
Get the timestamp of the filter
public getType():string
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
WarehouseFilter
Includes filters for warehouse
Namespace
Plenty\Modules\Pim\SearchService\Filter
Methods
public isInWarehouse($warehouseId):Plenty\Modules\Pim\SearchService\Filter\WarehouseFilter
Return type: WarehouseFilter
Restricts the result to have the warehouse ID.
Name |
Type |
Description |
|
public hasNotWarehouseIds($warehouseIds):Plenty\Modules\Pim\SearchService\Filter\WarehouseFilter
Return type: WarehouseFilter
Restricts the result to not match the specified IDs.
Name |
Type |
Description |
|
public hasWarehouseIds($warehouseIds):Plenty\Modules\Pim\SearchService\Filter\WarehouseFilter
Return type: WarehouseFilter
Restricts the result to have the any of the warehouse IDs.
Name |
Type |
Description |
|
public hasPhysicalStockInWarehouseIds($warehouseIds, $operator = "gt"):Plenty\Modules\Pim\SearchService\Filter\WarehouseFilter
Return type: WarehouseFilter
Name |
Type |
Description |
|
||
|
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
Query
ManagedSearchQuery
Used to search for variations by a specified term.
Namespace
Plenty\Modules\Pim\SearchService\Query
Methods
public setLang($lang):void
Sets the language to search in.
Name |
Type |
Description |
|
public toArray():array
Returns the search query as array.
public setOperator($operator):void
Set the operator for the terms in the search query. Possible values: or, and
Name |
Type |
Description |
|
public setFuzzy($fuzzy):void
Set whether this is a fuzzy search or not.
Name |
Type |
Description |
|
public addFilterField($field, $boost):void
Add a filter field to search in.
Name |
Type |
Description |
|
||
|
public addMultilingualField($field, $language, $boost):void
Add a multilingual field to search in.
Name |
Type |
Description |
|
||
|
||
|
public addOtherAnalyzedField($field, $boost):void
Add a other analyzed field to search in.
Name |
Type |
Description |
|
||
|
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
public static isLanguageSupported($lang):bool
Name |
Type |
Description |
|
public static isLanguageActivated($lang):bool
Name |
Type |
Description |
|
public static getM10lByLanguage($lang, $fallback = "en"):string
Name |
Type |
Description |
|
||
|
public static getLanguageByM10l($lang, $fallback = "english"):string
Name |
Type |
Description |
|
||
|
SearchQuery
Used to search for variations by a specified term.
Namespace
Plenty\Modules\Pim\SearchService\Query
Methods
public setOperator($operator):void
Set the operator for the terms in the search query. Possible values: or, and
Name |
Type |
Description |
|
public setFuzzy($fuzzy):void
Set whether this is a fuzzy search or not.
Name |
Type |
Description |
|
public addFilterField($field, $boost):void
Add a filter field to search in.
Name |
Type |
Description |
|
||
|
public addMultilingualField($field, $language, $boost):void
Add a multilingual field to search in.
Name |
Type |
Description |
|
||
|
||
|
public addOtherAnalyzedField($field, $boost):void
Add a other analyzed field to search in.
Name |
Type |
Description |
|
||
|
public toArray():array
public addStatement($statement):void
Name |
Type |
Description |
|
public addQuery($statement):void
Name |
Type |
Description |
|
public static isLanguageSupported($lang):bool
Name |
Type |
Description |
|
public static isLanguageActivated($lang):bool
Name |
Type |
Description |
|
public static getM10lByLanguage($lang, $fallback = "en"):string
Name |
Type |
Description |
|
||
|
public static getLanguageByM10l($lang, $fallback = "english"):string
Name |
Type |
Description |
|
||
|
Aggregations
Facet
NestedFacetValuesAggregation
Provides a list of all facet value ids of a specific facet
Namespace
Plenty\Modules\Pim\SearchService\Aggregations\Facet
Methods
public getName():string
Get the name of the aggregation
public getAggregation():array
Get the aggregation as array
public toArray():array
Returns the aggregation as array
public process($data):array
Name |
Type |
Description |
|
public addAggregation($aggregation):void
Name |
Type |
Description |
|
public addSource($source):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\Aggregation\AggregationInterface
Return type: AggregationInterface
Name |
Type |
Description |
|
public setPage($page, $rowsPerPage):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\Aggregation\AggregationInterface
Return type: AggregationInterface
Name |
Type |
Description |
|
||
|
public getSources():void
Feedback
FeedbackRangeAggregation
Provides the count feedbacks in specific ranges (1 to 6, 2 to 6, 3 to 6, 4 to 6 and 5 to 6)
Namespace
Plenty\Modules\Pim\SearchService\Aggregations\Feedback
Methods
public getName():string
Get the name of the aggregation
public getField():string
Get the field of the aggregation
public getRanges():array
Get the ranges of the aggregation
public getAggregation():void
public toArray():array
public process($data):array
Name |
Type |
Description |
|
public addAggregation($aggregation):void
Name |
Type |
Description |
|
public addSource($source):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\Aggregation\AggregationInterface
Return type: AggregationInterface
Name |
Type |
Description |
|
public setPage($page, $rowsPerPage):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\Aggregation\AggregationInterface
Return type: AggregationInterface
Name |
Type |
Description |
|
||
|
public getSources():void
Price
ItemMinPriceAggregation
Get min price by price id for found variations
Namespace
Plenty\Modules\Pim\SearchService\Aggregations\Price
Methods
public getName():string
Get the name of the aggregation
public getAggregation():array
Get the aggregation as array
public toArray():array
public process($data):array
Name |
Type |
Description |
|
public addAggregation($aggregation):void
Name |
Type |
Description |
|
public addSource($source):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\Aggregation\AggregationInterface
Return type: AggregationInterface
Name |
Type |
Description |
|
public setPage($page, $rowsPerPage):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\Aggregation\AggregationInterface
Return type: AggregationInterface
Name |
Type |
Description |
|
||
|
public getSources():void
PriceRangeAggregation
Get price range for found variations
Namespace
Plenty\Modules\Pim\SearchService\Aggregations\Price
Methods
public getName():string
Get the name of the aggregation
public setPriceIds($ids):void
Set the price ids which should be aggregated
Name |
Type |
Description |
|
public process($data):array
Process the provided data
Name |
Type |
Description |
|
public getAggregation():array
Get the aggregation as array
public toArray():array
public addAggregation($aggregation):void
Name |
Type |
Description |
|
public addSource($source):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\Aggregation\AggregationInterface
Return type: AggregationInterface
Name |
Type |
Description |
|
public setPage($page, $rowsPerPage):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\Aggregation\AggregationInterface
Return type: AggregationInterface
Name |
Type |
Description |
|
||
|
public getSources():void
Processors
AttributeValueAggregationProcessor
Processor for AttributeValueAggregation
Namespace
Plenty\Modules\Pim\SearchService\Aggregations\Processors
Methods
public process($data):array
Processes the data provided by the aggregation
Name |
Type |
Description |
|
public getName():string
Get the name of the aggregation
public getDependencies():array
public addMutator($mutator):Plenty\Modules\Cloud\ElasticSearch\Lib\Processor\BaseProcessor
Return type: BaseProcessor
Name |
Type |
Description |
|
public addCondition($conditions):Plenty\Modules\Cloud\ElasticSearch\Lib\Processor\BaseProcessor
Return type: BaseProcessor
Name |
Type |
Description |
|
CategoryAllTermsAggregationProcessor
Processor for CategoryAllTermsAggregation
Namespace
Plenty\Modules\Pim\SearchService\Aggregations\Processors
Methods
public process($data):array
Processes the data provided by the aggregation
Name |
Type |
Description |
|
public getName():string
Get the name of the aggregation
public getDependencies():array
public addMutator($mutator):Plenty\Modules\Cloud\ElasticSearch\Lib\Processor\BaseProcessor
Return type: BaseProcessor
Name |
Type |
Description |
|
public addCondition($conditions):Plenty\Modules\Cloud\ElasticSearch\Lib\Processor\BaseProcessor
Return type: BaseProcessor
Name |
Type |
Description |
|
CategoryPathTermsAggregationProcessor
Processor for CategoryAllTermsAggregation
Namespace
Plenty\Modules\Pim\SearchService\Aggregations\Processors
Methods
public process($data):array
Processes the data provided by the aggregation
Name |
Type |
Description |
|
public getName():string
Get the name of the aggregation
public setFullPath($fullPath):Plenty\Modules\Pim\SearchService\Aggregations\Processors\CategoryPathTermsAggregationProcessor
Return type: CategoryPathTermsAggregationProcessor
Set if the full path should be used, or only the last element
Name |
Type |
Description |
|
public getDependencies():array
public addMutator($mutator):Plenty\Modules\Cloud\ElasticSearch\Lib\Processor\BaseProcessor
Return type: BaseProcessor
Name |
Type |
Description |
|
public addCondition($conditions):Plenty\Modules\Cloud\ElasticSearch\Lib\Processor\BaseProcessor
Return type: BaseProcessor
Name |
Type |
Description |
|
FacetAggregationProcessor
Processor for MultiAggregation
Namespace
Plenty\Modules\Pim\SearchService\Aggregations\Processors
Methods
public process($data):array
Processes the data provided by the aggregation
Name |
Type |
Description |
|
public getName():string
Get the name of the aggregation
public getDependencies():array
public addMutator($mutator):Plenty\Modules\Cloud\ElasticSearch\Lib\Processor\BaseProcessor
Return type: BaseProcessor
Name |
Type |
Description |
|
public addCondition($conditions):Plenty\Modules\Cloud\ElasticSearch\Lib\Processor\BaseProcessor
Return type: BaseProcessor
Name |
Type |
Description |
|
FeedbackRangeAggregationProcessor
Processor for FeedbackRangeAggregation
Namespace
Plenty\Modules\Pim\SearchService\Aggregations\Processors
Methods
public process($data):array
Processes the data provided by the aggregation
Name |
Type |
Description |
|
public getName():string
Get the name of the aggregation
public getDependencies():array
public addMutator($mutator):Plenty\Modules\Cloud\ElasticSearch\Lib\Processor\BaseProcessor
Return type: BaseProcessor
Name |
Type |
Description |
|
public addCondition($conditions):Plenty\Modules\Cloud\ElasticSearch\Lib\Processor\BaseProcessor
Return type: BaseProcessor
Name |
Type |
Description |
|
ItemCardinalityAggregationProcessor
Processor for ItemCardinalityAggregation
Namespace
Plenty\Modules\Pim\SearchService\Aggregations\Processors
Methods
public process($data):array
Processes the data provided by the aggregation
Name |
Type |
Description |
|
public getDependencies():array
Get dependencies of the aggregation
public addMutator($mutator):Plenty\Modules\Cloud\ElasticSearch\Lib\Processor\BaseProcessor
Return type: BaseProcessor
Name |
Type |
Description |
|
public addCondition($conditions):Plenty\Modules\Cloud\ElasticSearch\Lib\Processor\BaseProcessor
Return type: BaseProcessor
Name |
Type |
Description |
|
ItemIdTermsAggregationProcessor
Processor for ItemIdTermsAggregation
Namespace
Plenty\Modules\Pim\SearchService\Aggregations\Processors
Methods
public process($data):array
Processes the data provided by the aggregation
Name |
Type |
Description |
|
public getName():string
Get the name of the aggregation
public getDependencies():array
public addMutator($mutator):Plenty\Modules\Cloud\ElasticSearch\Lib\Processor\BaseProcessor
Return type: BaseProcessor
Name |
Type |
Description |
|
public addCondition($conditions):Plenty\Modules\Cloud\ElasticSearch\Lib\Processor\BaseProcessor
Return type: BaseProcessor
Name |
Type |
Description |
|
ItemMinPriceAggregationProcessor
Processor for ItemMinPriceAggregation
Namespace
Plenty\Modules\Pim\SearchService\Aggregations\Processors
Methods
public process($data):array
Processes the data provided by the aggregation
Name |
Type |
Description |
|
public getName():string
Get the name of the aggregation
public getDependencies():array
public addMutator($mutator):Plenty\Modules\Cloud\ElasticSearch\Lib\Processor\BaseProcessor
Return type: BaseProcessor
Name |
Type |
Description |
|
public addCondition($conditions):Plenty\Modules\Cloud\ElasticSearch\Lib\Processor\BaseProcessor
Return type: BaseProcessor
Name |
Type |
Description |
|
SalableFilterAggregationProcessor
Processor for SalableFilterAggregation
Namespace
Plenty\Modules\Pim\SearchService\Aggregations\Processors
Methods
public process($data):array
Processes the data provided by the aggregation
Name |
Type |
Description |
|
public getName():string
Get the name of the aggregation
public addSubProcessor($processor):void
Add a sub processor to this processor
Name |
Type |
Description |
|
public getDependencies():array
public addMutator($mutator):Plenty\Modules\Cloud\ElasticSearch\Lib\Processor\BaseProcessor
Return type: BaseProcessor
Name |
Type |
Description |
|
public addCondition($conditions):Plenty\Modules\Cloud\ElasticSearch\Lib\Processor\BaseProcessor
Return type: BaseProcessor
Name |
Type |
Description |
|
SearchSuggestionsTermsAggregationProcessor
Processor for SearchSuggestionsTermsAggregation
Namespace
Plenty\Modules\Pim\SearchService\Aggregations\Processors
Methods
public process($data):array
Processes the data provided by the aggregation
Name |
Type |
Description |
|
public getName():string
Get the name of the aggregation
public getDependencies():array
public addMutator($mutator):Plenty\Modules\Cloud\ElasticSearch\Lib\Processor\BaseProcessor
Return type: BaseProcessor
Name |
Type |
Description |
|
public addCondition($conditions):Plenty\Modules\Cloud\ElasticSearch\Lib\Processor\BaseProcessor
Return type: BaseProcessor
Name |
Type |
Description |
|
UnitCombinationAggregationProcessor
Processor for UnitCombinationAggregation
Namespace
Plenty\Modules\Pim\SearchService\Aggregations\Processors
Methods
public process($data):array
Processes the data provided by the aggregation
Name |
Type |
Description |
|
public getName():string
Get the name of the aggregation
public getDependencies():array
public addMutator($mutator):Plenty\Modules\Cloud\ElasticSearch\Lib\Processor\BaseProcessor
Return type: BaseProcessor
Name |
Type |
Description |
|
public addCondition($conditions):Plenty\Modules\Cloud\ElasticSearch\Lib\Processor\BaseProcessor
Return type: BaseProcessor
Name |
Type |
Description |
|
SearchSuggestions
SearchSuggestionsTermsAggregation
Get suggestions for found variations, use setInclude to filter them.
Namespace
Plenty\Modules\Pim\SearchService\Aggregations\SearchSuggestions
Methods
public getName():string
Get the name of the aggregation
public getField():string
Get the field of the aggregation
public getAggregation():array
public setInclude($string):void
Name |
Type |
Description |
|
public toArray():array
public process($data):array
Name |
Type |
Description |
|
public addAggregation($aggregation):void
Name |
Type |
Description |
|
public addSource($source):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\Aggregation\AggregationInterface
Return type: AggregationInterface
Name |
Type |
Description |
|
public setPage($page, $rowsPerPage):Plenty\Modules\Cloud\ElasticSearch\Lib\Search\Aggregation\AggregationInterface
Return type: AggregationInterface
Name |
Type |
Description |
|
||
|
public getSources():void
public static isLanguageSupported($lang):bool
Name |
Type |
Description |
|
public static isLanguageActivated($lang):bool
Name |
Type |
Description |
|
public static getM10lByLanguage($lang, $fallback = "en"):string
Name |
Type |
Description |
|
||
|
public static getLanguageByM10l($lang, $fallback = "english"):string
Name |
Type |
Description |
|
||
|
VariationDataInterface
Contracts
AttributeInterface
The interface of all variation attributes
Namespace
Plenty\Modules\Pim\VariationDataInterface\Contracts
Methods
public getName():string
Get the name of the attribute
public static getVariationAttribute():string
Get the related key on the variation model.
public addLazyLoadParts($lazyLoadParts):Plenty\Modules\Pim\VariationDataInterface\Contracts\AttributeInterface
Return type: AttributeInterface
Get all parts which should be lazy loaded.
Name |
Type |
Description |
|
public getLazyLoadParts():array
Get all parts which should be lazy loaded.
VariationDataInterfaceContract
Use this interface to load performant article data
Namespace
Plenty\Modules\Pim\VariationDataInterface\Contracts
Methods
public getResult($context):Plenty\Modules\Pim\VariationDataInterface\Contracts\VariationDataInterfaceResultInterface
Return type: VariationDataInterfaceResultInterface
Get the result, using the context.
Name |
Type |
Description |
|
public getMultipleResults($contextList):array
Get the multiple results, using multiple contexts
Name |
Type |
Description |
|
public createOrUpdate($entities):Plenty\Modules\Pim\VariationDataInterface\Operations\CreateOrUpdateOperation
Return type: CreateOrUpdateOperation
Get an operation to create or update data.
Name |
Type |
Description |
|
public replace($entities):Plenty\Modules\Pim\VariationDataInterface\Operations\ReplaceOperation
Return type: ReplaceOperation
Get an operation to replace data.
Name |
Type |
Description |
|
public delete($entities):Plenty\Modules\Pim\VariationDataInterface\Operations\DeleteOperation
Return type: DeleteOperation
Get a operation to delete data.
Name |
Type |
Description |
|
VariationDataInterfaceResultInterface
The Result of the variation data interface
Namespace
Plenty\Modules\Pim\VariationDataInterface\Contracts
Methods
public getContext():Plenty\Modules\Pim\VariationDataInterface\Model\VariationDataInterfaceContext
Return type: VariationDataInterfaceContext
Get the context which is uses for this result .
public total():int
Get the total found variations.
public get():void
Get all found variations as Traversable.
public getAdditionalData():array
Get additional data provided by the elasticsearch result