|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SkuConfigurationService
Provides services relating to Sku Configuration.
| Method Summary | |
|---|---|
java.util.Set |
getAvailableOptionValues(long productUid,
java.util.List selectedOptionValueCodes)
Returns the set of SkuOptions with option values for which there are skus available given the selected when the primary option value. |
java.lang.String[] |
getPriceTierContents(ProductSku productSku,
java.lang.String currencyCode)
Set a reference to the product sku service. |
SkuConfigurationBean |
getSkuConfigurationBean(long productUid)
Retrieve the multi-sku configuration options for a given product. |
GuidedSkuSelectionBean |
getSkuWithMatchingOptionValues(long productUid,
java.util.List optionValueCodes,
java.lang.String currencyCode,
long shoppingCartUid)
Gets a SKU matches the specifiec option value codes. |
void |
setProductService(ProductService productService)
Set a reference to the product service. |
void |
setSkuConfigurationDao(SkuConfigurationDao skuConfigurationDao)
Set the SKU configuration DAO. |
| Methods inherited from interface com.elasticpath.service.EpService |
|---|
getElasticPath, setElasticPath |
| Method Detail |
|---|
java.util.Set getAvailableOptionValues(long productUid,
java.util.List selectedOptionValueCodes)
productUid - the UID of the product whose options are being selectedselectedOptionValueCodes - the option value codes that have already been selected
java.lang.String[] getPriceTierContents(ProductSku productSku,
java.lang.String currencyCode)
productSku - the product skucurrencyCode - the currency code
SkuConfigurationBean getSkuConfigurationBean(long productUid)
productUid - the uid of the product to retrieve options for
SkuConfigurationBean containing the requested information
GuidedSkuSelectionBean getSkuWithMatchingOptionValues(long productUid,
java.util.List optionValueCodes,
java.lang.String currencyCode,
long shoppingCartUid)
productUid - the SKU's product UIDoptionValueCodes - a list of option value codes the SKU must havecurrencyCode - the code for the currencyshoppingCartUid - the uid of the shopping cart
void setProductService(ProductService productService)
productService - the product servicevoid setSkuConfigurationDao(SkuConfigurationDao skuConfigurationDao)
skuConfigurationDao - the SKU configuration DAO
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||