Interface InboundQuoteHelper

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method 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)
      Get entryNumber after converting from C4C format to Hybris format
      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
      java.lang.String getGuid​(java.lang.String code)
      Get GUID from quote's current version
      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
    • 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