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 Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetPropertyValue(org.springframework.http.ResponseEntity<Map> responseEntityMap, String property) Method to get the property value(i.e external quote id)static booleanisSentSuccessfully(org.springframework.http.ResponseEntity<Map> responseEntityMap) Method to check if the quote is sent successfullyrx.Observable<org.springframework.http.ResponseEntity<Map>>sendQuote(SAPCPQOutboundQuoteModel sapCPQOutboundQuoteModel) Method to send a quoterx.Observable<org.springframework.http.ResponseEntity<Map>>sendQuoteStatus(SAPCPQOutboundQuoteStatusModel sapCPQOutboundQuoteStatusModel) Method to send quote status
-
Field Details
-
OK
- See Also:
-
RESPONSE_STATUS
- See Also:
-
RESPONSE_MESSAGE
- See Also:
-
-
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
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 Mapproperty- the property type- Returns:
- the property value as string
-