public interface FetchProductOptionsIf
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCatalogId()
The id of the catalog which contains dynamic product information such as the price and
quantity
|
java.lang.String |
getCustom1()
Can be used for passing data to customize the query.
|
java.lang.String |
getCustom2()
Can be used for passing data to customize the query.
|
java.lang.String |
getCustom3()
Can be used for passing data to customize the query.
|
java.lang.String |
getCustom4()
Can be used for passing data to customize the query.
|
java.lang.String |
getCustom5()
Can be used for passing data to customize the query.
|
int[] |
getInventoryUpdateExcludeProdTypes()
Used to define product types that are excluded from inventory updates.
|
java.util.Calendar |
getPriceDate()
The date for which a price is requested.
|
boolean |
isCalcQuantityForBundles()
When set to true the quantity available for a product is calculated by reading the quantities
of the products within the bundle.
|
boolean |
isCreateListOfUniqueProducts()
This attribute is only used by the API calls
getBundlesThatProductBelongsTo()
and getBundlesThatProductsBelongTo() . |
boolean |
isForceUseSolr()
This attribute also exists in the ProductSearch object.
|
boolean |
isGetImages()
If true we attach a ProductImages object to the product, which contains a list of image names
available for it.
|
boolean |
isGetProductSuggestions()
If set to true the Product Suggestions from the AI service are added to the product
|
boolean |
isGetRelationshipData()
Only used by the API call
getRelatedProductsWithOptions . |
boolean |
isGetStockReservationInfo()
If true, information about reserved stock is returned as well as normal stock when fetching
products from the database.
|
boolean |
isGetStoreDescription()
If true, when in multi-vendor mode the store description attribute of the product is
populated.
|
boolean |
isGetStoreName()
If true, when in multi-vendor mode the store name attribute of the product is populated.
|
boolean |
isGetTags()
If true we attach an array of Tag objects to the product.
|
boolean |
isGetTierPrices()
If true we attach an array of TierPrice objects to the product.
|
boolean |
isGetVariantPrices()
If true we attach an array of VariantPrice objects to the product.
|
boolean |
isInvertRelatedProductDirection()
If true we invert the direction of the related product link.
|
boolean |
isUseExternalPrice()
If true we attempt to fetch the prices from the external table
|
boolean |
isUseExternalQuantity()
If true we attempt to fetch the quantities from the external table
|
void |
setCalcQuantityForBundles(boolean calcQuantityForBundles)
When set to true the quantity available for a product is calculated by reading the quantities
of the products within the bundle.
|
void |
setCatalogId(java.lang.String catalogId)
The id of the catalog which contains dynamic product information such as the price and
quantity
|
void |
setCreateListOfUniqueProducts(boolean createListOfUniqueProducts)
This attribute is only used by the API calls
getBundlesThatProductBelongsTo()
and getBundlesThatProductsBelongTo() . |
void |
setCustom1(java.lang.String custom1)
Can be used for passing data to customize the query.
|
void |
setCustom2(java.lang.String custom2)
Can be used for passing data to customize the query.
|
void |
setCustom3(java.lang.String custom3)
Can be used for passing data to customize the query.
|
void |
setCustom4(java.lang.String custom4) |
void |
setCustom5(java.lang.String custom5)
Can be used for passing data to customize the query.
|
void |
setForceUseSolr(boolean forceUseSolr)
This attribute also exists in the ProductSearch object.
|
void |
setGetImages(boolean getImages)
If true we attach a ProductImages object to the product, which contains a list of image names
available for it.
|
void |
setGetProductSuggestions(boolean getProductSuggestions)
If set to true the Product Suggestions from the AI service are added to the product
|
void |
setGetRelationshipData(boolean getRelationshipData)
Only used by the API call
getRelatedProductsWithOptions . |
void |
setGetStockReservationInfo(boolean getStockReservationInfo)
If true, information about reserved stock is returned as well as normal stock when fetching
products from the database.
|
void |
setGetStoreDescription(boolean getStoreDescription)
If true, when in multi-vendor mode the store description attribute of the product is
populated.
|
void |
setGetStoreName(boolean getStoreName)
If true, when in multi-vendor mode the store name attribute of the product is populated.
|
void |
setGetTags(boolean getTags)
If true we attach an array of Tag objects to the product.
|
void |
setGetTierPrices(boolean getTierPrices)
If true we attach an array of TierPrice objects to the product.
|
void |
setGetVariantPrices(boolean getVariantPrices)
If true we attach an array of VariantPrice objects to the product.
|
void |
setInventoryUpdateExcludeProdTypes(int[] inventoryUpdateExcludeProdTypes)
Used to define product types that are excluded from inventory updates.
|
void |
setInvertRelatedProductDirection(boolean invertRelatedProductDirection)
If true we invert the direction of the related product link.
|
void |
setPriceDate(java.util.Calendar priceDate)
The date for which a price is requested.
|
void |
setUseExternalPrice(boolean useExternalPrice)
If true we attempt to fetch the prices from the external table
|
void |
setUseExternalQuantity(boolean useExternalQuantity)
If true we attempt to fetch the quantities from the external table
|
java.lang.String getCatalogId()
void setCatalogId(java.lang.String catalogId)
catalogId
- the catalogId to setjava.util.Calendar getPriceDate()
void setPriceDate(java.util.Calendar priceDate)
priceDate
- the priceDate to setboolean isUseExternalPrice()
void setUseExternalPrice(boolean useExternalPrice)
useExternalPrice
- the useExternalPrice to setboolean isGetTierPrices()
void setGetTierPrices(boolean getTierPrices)
getTierPrices
- the getTierPrices to setboolean isUseExternalQuantity()
void setUseExternalQuantity(boolean useExternalQuantity)
useExternalQuantity
- the useExternalQuantity to setboolean isInvertRelatedProductDirection()
void setInvertRelatedProductDirection(boolean invertRelatedProductDirection)
invertRelatedProductDirection
- the invertRelatedProductDirection to setboolean isCalcQuantityForBundles()
void setCalcQuantityForBundles(boolean calcQuantityForBundles)
calcQuantityForBundles
- the calcQuantityForBundles to setboolean isGetTags()
void setGetTags(boolean getTags)
getTags
- the getTags to setboolean isCreateListOfUniqueProducts()
getBundlesThatProductBelongsTo()
and getBundlesThatProductsBelongTo()
. These methods return an array of products,
each of which has an array of bundled products. The same products may be repeated many times
within the array of bundled products which can affect performance since the amount of data
returned can be very large. When createListOfUniqueProducts
is set to true, the
bundled products are only populated with the product id, the quantity and the
encodedOptionValues to make them very much lighter. Also within the Products return object
the uniqueProductArray
attribute is created and populated with a unique set of
products that includes just one copy of all of the bundled products.void setCreateListOfUniqueProducts(boolean createListOfUniqueProducts)
getBundlesThatProductBelongsTo()
and getBundlesThatProductsBelongTo()
. These methods return an array of products,
each of which has an array of bundled products. The same products may be repeated many times
within the array of bundled products which can affect performance since the amount of data
returned can be very large. When createListOfUniqueProducts
is set to true, the
bundled products are only populated with the product id, the quantity and the
encodedOptionValues to make them very much lighter. Also within the Products return object
the uniqueProductArray
attribute is created and populated with a unique set of
products that includes just one copy of all of the bundled products.createListOfUniqueProducts
- the createListOfUniqueProducts to setboolean isGetRelationshipData()
getRelatedProductsWithOptions
. If set to true, the
return Products
object contains an array of ProductRelationship
objects which contain data specific to each relationship.void setGetRelationshipData(boolean getRelationshipData)
getRelatedProductsWithOptions
. If set to true, the
return Products
object contains an array of ProductRelationship
objects which contain data specific to each relationship.getRelationshipData
- the getRelationshipData to setjava.lang.String getCustom1()
void setCustom1(java.lang.String custom1)
custom1
- the custom1 to setjava.lang.String getCustom2()
void setCustom2(java.lang.String custom2)
custom2
- the custom2 to setjava.lang.String getCustom3()
void setCustom3(java.lang.String custom3)
custom3
- the custom3 to setjava.lang.String getCustom4()
void setCustom4(java.lang.String custom4)
custom4
- the custom4 to setjava.lang.String getCustom5()
void setCustom5(java.lang.String custom5)
custom5
- the custom5 to setboolean isGetImages()
void setGetImages(boolean getImages)
getImages
- the getImages to setboolean isGetStockReservationInfo()
void setGetStockReservationInfo(boolean getStockReservationInfo)
getStockReservationInfo
- the getStockReservationInfo to setint[] getInventoryUpdateExcludeProdTypes()
void setInventoryUpdateExcludeProdTypes(int[] inventoryUpdateExcludeProdTypes)
inventoryUpdateExcludeProdTypes
- the inventoryUpdateExcludeProdTypes to setboolean isForceUseSolr()
When set to true, Solr is used even though KonaKart may not have used Solr. By default, Solr is only used when doing text searches or when returning custom facets.
void setForceUseSolr(boolean forceUseSolr)
When set to true, Solr is used even though KonaKart may not have used Solr. By default, Solr is only used when doing text searches or when returning custom facets.
forceUseSolr
- the forceUseSolr to setboolean isGetStoreName()
void setGetStoreName(boolean getStoreName)
getStoreName
- the getStoreName to setboolean isGetStoreDescription()
void setGetStoreDescription(boolean getStoreDescription)
getStoreDescription
- the getStoreDescription to setboolean isGetProductSuggestions()
void setGetProductSuggestions(boolean getProductSuggestions)
getProductSuggestions
- Set to true to get Product Suggestionsboolean isGetVariantPrices()
void setGetVariantPrices(boolean getVariantPrices)
getVariantPrices
- the getVariantPrices to setCopyright © 2018 DS Data Systems UK Ltd.