Class QuoteHelper
java.lang.Object
de.hybris.platform.b2bocc.v2.helper.AbstractHelper
de.hybris.platform.b2bocc.v2.helper.QuoteHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidacceptAndPrepareCheckout(String quoteCode) voidaddCommentToQuote(String quoteCode, String text) voidaddCommentToQuoteEntry(String quoteCode, long entryNumber, String text) voidapplyDiscount(String quoteCode, String discountType, Double discountRate) voidapproveQuote(String quoteCode) voidcancelQuote(String quoteCode) voidenableQuoteEdit(String quoteCode) getQuotes(PageableData pageableData, String fields) protected QuoteWsDTOgetQuoteWsDTO(QuoteData quoteData, String fields) initiateQuote(String cartId, String fields) voidrejectQuote(String quoteCode) protected voidvoidsetCartFacade(CartFacade cartFacade) voidsetCartLoaderStrategy(CartLoaderStrategy cartLoaderStrategy) voidsetCartService(CartService cartService) voidsetQuoteFacade(QuoteFacade quoteFacade) voidsetQuoteService(QuoteService quoteService) voidsetQuoteUserIdentificationStrategy(QuoteUserIdentificationStrategy quoteUserIdentificationStrategy) voidsetQuoteUserTypeIdentificationStrategy(QuoteUserTypeIdentificationStrategy quoteUserTypeIdentificationStrategy) protected voidsetSessionCartFromQuote(String quoteCode) voidsetVoucherFacade(VoucherFacade voucherFacade) voidsubmitQuote(String quoteCode) voidupdateQuoteMetadata(String quoteCode, CommerceCartMetadata cartMetadata) protected voidMethods inherited from class de.hybris.platform.b2bocc.v2.helper.AbstractHelper
createPageableData, getDataMapper, sanitize, setDataMapper
-
Constructor Details
-
QuoteHelper
public QuoteHelper()
-
-
Method Details
-
initiateQuote
public QuoteWsDTO initiateQuote(String cartId, String fields) throws VoucherOperationException, CommerceCartModificationException -
requote
-
getQuote
-
getQuotes
-
updateQuoteMetadata
-
addCommentToQuote
-
addCommentToQuoteEntry
-
applyDiscount
-
getQuoteWsDTO
-
submitQuote
public void submitQuote(String quoteCode) throws VoucherOperationException, CommerceCartModificationException -
acceptAndPrepareCheckout
-
enableQuoteEdit
-
approveQuote
-
rejectQuote
-
cancelQuote
-
getCurrentQuoteUserType
-
validateCart
-
removeVouchers
- Throws:
VoucherOperationException
-
setSessionCartFromQuote
-
getCartFacade
-
setCartFacade
-
getVoucherFacade
-
setVoucherFacade
-
getQuoteService
-
setQuoteService
-
getCartService
-
setCartService
-
getCartLoaderStrategy
-
setCartLoaderStrategy
-
getQuoteFacade
-
setQuoteFacade
-
getQuoteUserTypeIdentificationStrategy
-
setQuoteUserTypeIdentificationStrategy
public void setQuoteUserTypeIdentificationStrategy(QuoteUserTypeIdentificationStrategy quoteUserTypeIdentificationStrategy) -
getQuoteUserIdentificationStrategy
-
setQuoteUserIdentificationStrategy
public void setQuoteUserIdentificationStrategy(QuoteUserIdentificationStrategy quoteUserIdentificationStrategy)
-