public class FSConfigurableBundleController extends BaseController
| Modifier and Type | Field and Description |
|---|---|
protected static int |
maxRecurrencies |
protected static int |
minRecureencies |
DEFAULT_FIELD_SET| Constructor and Description |
|---|
FSConfigurableBundleController() |
| Modifier and Type | Method and Description |
|---|---|
CartModificationWsDTO |
addToCart(java.lang.String productCode,
int quantity,
java.lang.String fields) |
BundleTemplateWsDTO |
getBundleTemplateByCode(java.lang.String bundleTemplateCode,
java.lang.String fields,
int recurrencies) |
protected InsuranceCartFacade |
getCartFacade() |
protected FieldSetBuilder |
getFieldSetBuilder() |
protected FSBundleTemplateFacade |
getFsBundleTemplateFacade() |
CartModificationWsDTO |
startBundle(java.lang.String bundleTemplateId,
java.lang.String productCode,
int quantity,
java.lang.String fields) |
protected void |
validateRecurrencies(int recurrencies,
int min,
int max) |
getDataMapper, handleErrorInternal, handleIllegalArgumentException, handleModelNotFoundException, sanitize, setDataMapper, validateprotected static int minRecureencies
protected static int maxRecurrencies
public BundleTemplateWsDTO getBundleTemplateByCode(java.lang.String bundleTemplateCode, java.lang.String fields, int recurrencies) throws WebserviceValidationException
WebserviceValidationExceptionpublic CartModificationWsDTO startBundle(java.lang.String bundleTemplateId, java.lang.String productCode, int quantity, java.lang.String fields) throws CommerceCartModificationException
CommerceCartModificationExceptionpublic CartModificationWsDTO addToCart(java.lang.String productCode, int quantity, java.lang.String fields) throws CommerceCartModificationException
CommerceCartModificationExceptionprotected void validateRecurrencies(int recurrencies,
int min,
int max)
protected FSBundleTemplateFacade getFsBundleTemplateFacade()
protected FieldSetBuilder getFieldSetBuilder()
protected InsuranceCartFacade getCartFacade()
Copyright © 2018 SAP SE. All Rights Reserved.