Interface CentralOrderService

All Known Implementing Classes:
DefaultCentralOrderService

public interface CentralOrderService
Service for 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 details
      store - contains the store details
      status - order status
      pageableData - the pageable data
      sourceSystemId - 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 details
      orderCode - order Code
      sourceSystemId - 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 details
      guid - unique guid
      sourceSystemId - Commerce System Id
      Returns:
      org.springframework.http.ResponseEntity<CentralOrderDetailsResponse>