Interface InboundQuoteHelper
- All Known Implementing Classes:
DefaultInboundQuoteHelper
public interface InboundQuoteHelper
-
Method Summary
Modifier and TypeMethodDescriptionapplyQuoteDiscountAndTax(String quoteId, Double discountedPrice, Double taxValue, String userUid) Apply discount and add tax in quote current versionconvertEntryNumber(String code) Get entryNumber after converting from C4C format to Hybris formatcreateQuoteEntryProduct(String code, String productId) Get catalog from quote and productIdcreateQuoteSnapshot(String code, String state) Get quote for codeGet GUID from quote's current versiongetNameForQuote(String code) Set the name of new quoteSet the previous estimated total of quote
-
Method Details
-
createQuoteSnapshot
Get quote for code- Parameters:
code-- Returns:
- quote
-
getNameForQuote
Set the name of new quote- Parameters:
code-- Returns:
- string
-
getPreviousEstimatedTotal
Set the previous estimated total of quote- Parameters:
code-- Returns:
- string
-
applyQuoteDiscountAndTax
Double applyQuoteDiscountAndTax(String quoteId, Double discountedPrice, Double taxValue, String userUid) Apply discount and add tax in quote current version- Parameters:
quoteId-
-
getGuid
Get GUID from quote's current version- Parameters:
quoteId-
-
createQuoteEntryProduct
Get catalog from quote and productId- Parameters:
code-productId-- Returns:
- string
-
convertEntryNumber
Get entryNumber after converting from C4C format to Hybris format- Parameters:
code-- Returns:
- string
-