Interface SapCpiOutboundService
-
- All Known Implementing Classes:
SapCpiOutboundServiceImpl
public interface SapCpiOutboundService
SapCpiOutboundService
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
RESPONSE_MESSAGE
static java.lang.String
RESPONSE_STATUS
static java.lang.String
SUCCESS
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static java.lang.String
getPropertyValue(org.springframework.http.ResponseEntity<java.util.Map> responseEntityMap, java.lang.String property)
getPropertyValuestatic boolean
isSentSuccessfully(org.springframework.http.ResponseEntity<java.util.Map> responseEntityMap)
isSentSuccessfullyrx.Observable<org.springframework.http.ResponseEntity<java.util.Map>>
sendB2BCustomer(SAPCpiOutboundB2BCustomerModel sapCpiOutboundB2BCustomerModel)
Send B2B Customerrx.Observable<org.springframework.http.ResponseEntity<java.util.Map>>
sendCustomer(SAPCpiOutboundCustomerModel sapCpiOutboundCustomerModel)
Send customerrx.Observable<org.springframework.http.ResponseEntity<java.util.Map>>
sendOrder(SAPCpiOutboundOrderModel sapCpiOutboundOrderModel)
Send orderrx.Observable<org.springframework.http.ResponseEntity<java.util.Map>>
sendOrderCancellation(SAPCpiOutboundOrderCancellationModel sapCpiOutboundOrderCancellationModel)
Send order cancellation
-
-
-
Field Detail
-
SUCCESS
static final java.lang.String SUCCESS
- See Also:
- Constant Field Values
-
RESPONSE_STATUS
static final java.lang.String RESPONSE_STATUS
- See Also:
- Constant Field Values
-
RESPONSE_MESSAGE
static final java.lang.String RESPONSE_MESSAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
sendOrder
rx.Observable<org.springframework.http.ResponseEntity<java.util.Map>> sendOrder(SAPCpiOutboundOrderModel sapCpiOutboundOrderModel)
Send order- Parameters:
sapCpiOutboundOrderModel
- SAPCpiOutboundOrderModel- Returns:
- Observable
>
-
sendOrderCancellation
rx.Observable<org.springframework.http.ResponseEntity<java.util.Map>> sendOrderCancellation(SAPCpiOutboundOrderCancellationModel sapCpiOutboundOrderCancellationModel)
Send order cancellation- Parameters:
sapCpiOutboundOrderCancellationModel
- SAPCpiOutboundOrderCancellationModel- Returns:
- Observable
>
-
sendCustomer
rx.Observable<org.springframework.http.ResponseEntity<java.util.Map>> sendCustomer(SAPCpiOutboundCustomerModel sapCpiOutboundCustomerModel)
Send customer- Parameters:
sapCpiOutboundCustomerModel
- SAPCpiOutboundCustomerModel- Returns:
- Observable
>
-
sendB2BCustomer
rx.Observable<org.springframework.http.ResponseEntity<java.util.Map>> sendB2BCustomer(SAPCpiOutboundB2BCustomerModel sapCpiOutboundB2BCustomerModel)
Send B2B Customer- Parameters:
sapCpiOutboundB2BCustomerModel
- SAPCpiOutboundB2BCustomerModel- Returns:
- Observable
>
-
isSentSuccessfully
static boolean isSentSuccessfully(org.springframework.http.ResponseEntity<java.util.Map> responseEntityMap)
isSentSuccessfully- Parameters:
responseEntityMap
- ResponseEntity- Returns:
- boolean
-
getPropertyValue
static java.lang.String getPropertyValue(org.springframework.http.ResponseEntity<java.util.Map> responseEntityMap, java.lang.String property)
getPropertyValue- Parameters:
responseEntityMap
- ResponseEntityproperty
- String- Returns:
- String
-
-