Interface CentralOrderService
- All Known Implementing Classes:
DefaultCentralOrderService
public interface CentralOrderService
Service for CentralOrder
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<CentralOrderDetailsResponse>getCentalOrderDetailsForCode(CustomerModel customerModel, String orderCode, String sourceSystemId) gets order detail from centralorder.org.springframework.http.ResponseEntity<CentralOrderDetailsResponse>getCentalOrderDetailsForGuid(CustomerModel customerModel, String guid, String sourceSystemId) gets order detail from centralorder.org.springframework.http.ResponseEntity<CentralOrderListResponse[]>getCentalOrderList(CustomerModel customerModel, BaseStoreModel store, OrderStatus[] status, PageableData pageableData, String sourceSystemId) gets the list of orders from centralorder.
-
Method Details
-
getCentalOrderList
org.springframework.http.ResponseEntity<CentralOrderListResponse[]> getCentalOrderList(CustomerModel customerModel, BaseStoreModel store, OrderStatus[] status, PageableData pageableData, String sourceSystemId) gets the list of orders from centralorder.- Parameters:
customerModel- contains the customer detailsstore- contains the store detailsstatus- order statuspageableData- the pageable datasourceSystemId- Commerce System Id- Returns:
org.springframework.http.ResponseEntity<CentralOrderListResponse[]>
-
getCentalOrderDetailsForCode
org.springframework.http.ResponseEntity<CentralOrderDetailsResponse> getCentalOrderDetailsForCode(CustomerModel customerModel, String orderCode, String sourceSystemId) gets order detail from centralorder.- Parameters:
customerModel- contains the customer detailsorderCode- order CodesourceSystemId- Commerce System Id- Returns:
org.springframework.http.ResponseEntity<CentralOrderDetailsResponse[]>
-
getCentalOrderDetailsForGuid
org.springframework.http.ResponseEntity<CentralOrderDetailsResponse> getCentalOrderDetailsForGuid(CustomerModel customerModel, String guid, String sourceSystemId) gets order detail from centralorder.- Parameters:
customerModel- contains the customer detailsguid- unique guidsourceSystemId- Commerce System Id- Returns:
org.springframework.http.ResponseEntity<CentralOrderDetailsResponse>
-