Class DefaultInboundQuoteHelper

    • Constructor Detail

      • DefaultInboundQuoteHelper

        public DefaultInboundQuoteHelper()
    • Method Detail

      • getLocalizedTypeName

        protected java.lang.String getLocalizedTypeName()
      • getGuid

        public java.lang.String getGuid​(java.lang.String code)
        Description copied from interface: InboundQuoteHelper
        Get GUID from quote's current version
        Specified by:
        getGuid in interface InboundQuoteHelper
      • applyQuoteDiscountAndTax

        public java.lang.Double applyQuoteDiscountAndTax​(java.lang.String quoteId,
                                                         java.lang.Double discountedPrice,
                                                         java.lang.Double taxValue,
                                                         java.lang.String userUid)
        Description copied from interface: InboundQuoteHelper
        Apply discount and add tax in quote current version
        Specified by:
        applyQuoteDiscountAndTax in interface InboundQuoteHelper
      • createQuoteEntryProduct

        public java.lang.String createQuoteEntryProduct​(java.lang.String code,
                                                        java.lang.String productId)
        Description copied from interface: InboundQuoteHelper
        Get catalog from quote and productId
        Specified by:
        createQuoteEntryProduct in interface InboundQuoteHelper
        Returns:
        string
      • convertEntryNumber

        public java.lang.String convertEntryNumber​(java.lang.String code)
        Method converts entry number format from C4C to Hybris
        Specified by:
        convertEntryNumber in interface InboundQuoteHelper
        Parameters:
        code - contains the numeric String
        Returns:
        String with conversion done
      • setCommerceQuoteService

        public void setCommerceQuoteService​(CommerceQuoteService commerceQuoteService)
      • getProductService

        public ProductService getProductService()
        Returns:
        the productService
      • setProductService

        public void setProductService​(ProductService productService)
        Parameters:
        productService - the productService to set
      • setQuoteService

        public void setQuoteService​(QuoteService quoteService)
      • setModelService

        public void setModelService​(ModelService modelService)
      • setEventService

        public void setEventService​(EventService eventService)
      • setUserService

        public void setUserService​(UserService userService)