public class DefaultInboundQuoteHelper extends java.lang.Object implements InboundQuoteHelper
| Constructor and Description |
|---|
DefaultInboundQuoteHelper() |
| Modifier and Type | Method and Description |
|---|---|
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
|
java.lang.String |
convertEntryNumber(java.lang.String code)
Method converts entry number format from C4C to Hybris
|
java.lang.String |
createQuoteEntryProduct(java.lang.String code,
java.lang.String productId)
Get catalog from quote and productId
|
QuoteModel |
createQuoteSnapshot(java.lang.String code,
java.lang.String state)
Get quote for code
|
CommerceQuoteService |
getCommerceQuoteService() |
EventService |
getEventService() |
java.lang.String |
getGuid(java.lang.String code)
Get GUID from quote's current version
|
protected java.lang.String |
getLocalizedTypeName() |
ModelService |
getModelService() |
java.lang.String |
getNameForQuote(java.lang.String code)
Set the name of new quote
|
java.lang.String |
getPreviousEstimatedTotal(java.lang.String code)
Set the previous estimated total of quote
|
ProductService |
getProductService() |
QuoteService |
getQuoteService() |
QuoteUserTypeIdentificationStrategy |
getQuoteUserTypeIdentificationStrategy() |
UserService |
getUserService() |
void |
setCommerceQuoteService(CommerceQuoteService commerceQuoteService) |
void |
setEventService(EventService eventService) |
void |
setModelService(ModelService modelService) |
void |
setProductService(ProductService productService) |
void |
setQuoteService(QuoteService quoteService) |
void |
setQuoteUserTypeIdentificationStrategy(QuoteUserTypeIdentificationStrategy quoteUserTypeIdentificationStrategy) |
void |
setUserService(UserService userService) |
public QuoteModel createQuoteSnapshot(java.lang.String code, java.lang.String state)
InboundQuoteHelpercreateQuoteSnapshot in interface InboundQuoteHelperpublic java.lang.String getNameForQuote(java.lang.String code)
InboundQuoteHelpergetNameForQuote in interface InboundQuoteHelperprotected java.lang.String getLocalizedTypeName()
public java.lang.String getPreviousEstimatedTotal(java.lang.String code)
InboundQuoteHelpergetPreviousEstimatedTotal in interface InboundQuoteHelperpublic java.lang.String getGuid(java.lang.String code)
InboundQuoteHelpergetGuid in interface InboundQuoteHelperpublic java.lang.Double applyQuoteDiscountAndTax(java.lang.String quoteId,
java.lang.Double discountedPrice,
java.lang.Double taxValue,
java.lang.String userUid)
InboundQuoteHelperapplyQuoteDiscountAndTax in interface InboundQuoteHelperpublic java.lang.String createQuoteEntryProduct(java.lang.String code,
java.lang.String productId)
InboundQuoteHelpercreateQuoteEntryProduct in interface InboundQuoteHelperpublic java.lang.String convertEntryNumber(java.lang.String code)
convertEntryNumber in interface InboundQuoteHelpercode - contains the numeric Stringpublic CommerceQuoteService getCommerceQuoteService()
public void setCommerceQuoteService(CommerceQuoteService commerceQuoteService)
public ProductService getProductService()
public void setProductService(ProductService productService)
productService - the productService to setpublic QuoteService getQuoteService()
public void setQuoteService(QuoteService quoteService)
public ModelService getModelService()
public void setModelService(ModelService modelService)
public QuoteUserTypeIdentificationStrategy getQuoteUserTypeIdentificationStrategy()
public void setQuoteUserTypeIdentificationStrategy(QuoteUserTypeIdentificationStrategy quoteUserTypeIdentificationStrategy)
public EventService getEventService()
public void setEventService(EventService eventService)
public UserService getUserService()
public void setUserService(UserService userService)
Copyright © 2018 SAP SE. All Rights Reserved.