Interface SapCpiOutboundService
- All Known Implementing Classes:
DefaultCentralOrderCpiOutboundServiceImpl,SapCpiOaaOutboundServiceImpl,SapCpiOutboundServiceImpl,TestSapCpiOutboundServiceImpl
public interface SapCpiOutboundService
SapCpiOutboundService
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetPropertyValue(org.springframework.http.ResponseEntity<Map> responseEntityMap, String property) getPropertyValuestatic booleanisSentSuccessfully(org.springframework.http.ResponseEntity<Map> responseEntityMap) isSentSuccessfullyrx.Observable<org.springframework.http.ResponseEntity<Map>>sendB2BCustomer(SAPCpiOutboundB2BCustomerModel sapCpiOutboundB2BCustomerModel) Send B2B Customerrx.Observable<org.springframework.http.ResponseEntity<Map>>sendCustomer(SAPCpiOutboundCustomerModel sapCpiOutboundCustomerModel) Send customerrx.Observable<org.springframework.http.ResponseEntity<Map>>sendOrder(SAPCpiOutboundOrderModel sapCpiOutboundOrderModel) Send orderrx.Observable<org.springframework.http.ResponseEntity<Map>>sendOrderCancellation(SAPCpiOutboundOrderCancellationModel sapCpiOutboundOrderCancellationModel) Send order cancellation
-
Field Details
-
SUCCESS
- See Also:
-
RESPONSE_STATUS
- See Also:
-
RESPONSE_MESSAGE
- See Also:
-
-
Method Details
-
sendOrder
rx.Observable<org.springframework.http.ResponseEntity<Map>> sendOrder(SAPCpiOutboundOrderModel sapCpiOutboundOrderModel) Send order- Parameters:
sapCpiOutboundOrderModel- SAPCpiOutboundOrderModel- Returns:
- Observable<ResponseEntity < Map>>
-
sendOrderCancellation
rx.Observable<org.springframework.http.ResponseEntity<Map>> sendOrderCancellation(SAPCpiOutboundOrderCancellationModel sapCpiOutboundOrderCancellationModel) Send order cancellation- Parameters:
sapCpiOutboundOrderCancellationModel- SAPCpiOutboundOrderCancellationModel- Returns:
- Observable<ResponseEntity < Map>>
-
sendCustomer
rx.Observable<org.springframework.http.ResponseEntity<Map>> sendCustomer(SAPCpiOutboundCustomerModel sapCpiOutboundCustomerModel) Send customer- Parameters:
sapCpiOutboundCustomerModel- SAPCpiOutboundCustomerModel- Returns:
- Observable<ResponseEntity < Map>>
-
sendB2BCustomer
rx.Observable<org.springframework.http.ResponseEntity<Map>> sendB2BCustomer(SAPCpiOutboundB2BCustomerModel sapCpiOutboundB2BCustomerModel) Send B2B Customer- Parameters:
sapCpiOutboundB2BCustomerModel- SAPCpiOutboundB2BCustomerModel- Returns:
- Observable<ResponseEntity < Map>>
-
isSentSuccessfully
isSentSuccessfully- Parameters:
responseEntityMap- ResponseEntity- Returns:
- boolean
-
getPropertyValue
static String getPropertyValue(org.springframework.http.ResponseEntity<Map> responseEntityMap, String property) getPropertyValue- Parameters:
responseEntityMap- ResponseEntityproperty- String- Returns:
- String
-