Interface SapCpqCpiOutboundQuoteService

All Known Implementing Classes:
DefaultSapCpqCpiOutboundQuoteService

public interface SapCpqCpiOutboundQuoteService
SapCpqCpiOutboundQuoteService is an interface having the functionality of sending the quote, quote status and checking its status of sent quote
  • Field Details

  • Method Details

    • sendQuote

      rx.Observable<org.springframework.http.ResponseEntity<Map>> sendQuote(SAPCPQOutboundQuoteModel sapCPQOutboundQuoteModel)
      Method to send a quote
      Parameters:
      sapCPQOutboundQuoteModel - the Outbound Quote Model
      Returns:
      a matching quote
    • sendQuoteStatus

      rx.Observable<org.springframework.http.ResponseEntity<Map>> sendQuoteStatus(SAPCPQOutboundQuoteStatusModel sapCPQOutboundQuoteStatusModel)
      Method to send quote status
      Parameters:
      sapCPQOutboundQuoteStatusModel - the Outbound Quote Status Model
      Returns:
      status of the quote
    • isSentSuccessfully

      static boolean isSentSuccessfully(org.springframework.http.ResponseEntity<Map> responseEntityMap)
      Method to check if the quote is sent successfully
      Parameters:
      responseEntityMap - the Response Entity Map
      Returns:
      the boolean value for the quote status
    • getPropertyValue

      static String getPropertyValue(org.springframework.http.ResponseEntity<Map> responseEntityMap, String property)
      Method to get the property value(i.e external quote id)
      Parameters:
      responseEntityMap - the Response Entity Map
      property - the property type
      Returns:
      the property value as string