Interface InboundQuoteHelper
-
- All Known Implementing Classes:
DefaultInboundQuoteHelper
public interface InboundQuoteHelper
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.DoubleapplyQuoteDiscountAndTax(java.lang.String quoteId, java.lang.Double discountedPrice, java.lang.Double taxValue, java.lang.String userUid)Apply discount and add tax in quote current versionjava.lang.StringconvertEntryNumber(java.lang.String code)Get entryNumber after converting from C4C format to Hybris formatjava.lang.StringcreateQuoteEntryProduct(java.lang.String code, java.lang.String productId)Get catalog from quote and productIdQuoteModelcreateQuoteSnapshot(java.lang.String code, java.lang.String state)Get quote for codejava.lang.StringgetGuid(java.lang.String code)Get GUID from quote's current versionjava.lang.StringgetNameForQuote(java.lang.String code)Set the name of new quotejava.lang.StringgetPreviousEstimatedTotal(java.lang.String code)Set the previous estimated total of quote
-
-
-
Method Detail
-
createQuoteSnapshot
QuoteModel createQuoteSnapshot(java.lang.String code, java.lang.String state)
Get quote for code- Parameters:
code-- Returns:
- quote
-
getNameForQuote
java.lang.String getNameForQuote(java.lang.String code)
Set the name of new quote- Parameters:
code-- Returns:
- string
-
getPreviousEstimatedTotal
java.lang.String getPreviousEstimatedTotal(java.lang.String code)
Set the previous estimated total of quote- Parameters:
code-- Returns:
- string
-
applyQuoteDiscountAndTax
java.lang.Double applyQuoteDiscountAndTax(java.lang.String quoteId, java.lang.Double discountedPrice, java.lang.Double taxValue, java.lang.String userUid)Apply discount and add tax in quote current version- Parameters:
quoteId-
-
getGuid
java.lang.String getGuid(java.lang.String code)
Get GUID from quote's current version- Parameters:
quoteId-
-
createQuoteEntryProduct
java.lang.String createQuoteEntryProduct(java.lang.String code, java.lang.String productId)Get catalog from quote and productId- Parameters:
code-productId-- Returns:
- string
-
convertEntryNumber
java.lang.String convertEntryNumber(java.lang.String code)
Get entryNumber after converting from C4C format to Hybris format- Parameters:
code-- Returns:
- string
-
-