Rev 22925 | Rev 23365 | Go to most recent revision | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.service.inventory;import java.util.List;import java.util.Map;import org.springframework.stereotype.Service;import com.spice.profitmandi.common.enumuration.SearchType;import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;import com.spice.profitmandi.common.model.CartFofo;import com.spice.profitmandi.common.model.CreateOrderRequest;import com.spice.profitmandi.common.model.PdfModel;import com.spice.profitmandi.dao.entity.fofo.CustomerAddress;import com.spice.profitmandi.dao.entity.fofo.FofoOrderItem;@Servicepublic interface OrderService {public int createOrder(CreateOrderRequest createOrderRequest, int fofoId) throws ProfitMandiBusinessException;public PdfModel getInvoicePdfModel(int fofoId, int orderId) throws ProfitMandiBusinessException;public String getBillingAddress(CustomerAddress customerAddress);public List<CartFofo> cartCheckout(String cartJson) throws ProfitMandiBusinessException;public List<FofoOrderItem> getByOrderId(int orderId)throws ProfitMandiBusinessException;public Map<String, Object> getSaleHistory(int fofoId, SearchType searchType, String searchValue, String startTimeString, String endTimeString, int offset, int limit) throws ProfitMandiBusinessException;public Map<String, Object> getSaleHistoryPaginated(int fofoId, SearchType searchType, String searchValue, String startTimeString, String endTimeString, int offset, int limit) throws ProfitMandiBusinessException;}