| Line 20... |
Line 20... |
| 20 |
import com.spice.profitmandi.dao.entity.fofo.FofoOrder;
|
20 |
import com.spice.profitmandi.dao.entity.fofo.FofoOrder;
|
| 21 |
import com.spice.profitmandi.dao.entity.fofo.FofoOrderItem;
|
21 |
import com.spice.profitmandi.dao.entity.fofo.FofoOrderItem;
|
| 22 |
|
22 |
|
| 23 |
@Service
|
23 |
@Service
|
| 24 |
public interface OrderService {
|
24 |
public interface OrderService {
|
| 25 |
public int createOrder(CreateOrderRequest createOrderRequest, int fofoId, boolean accessoriesDeals) throws ProfitMandiBusinessException;
|
25 |
public int createOrder(CreateOrderRequest createOrderRequest, int fofoId, boolean accessoriesDeals)
|
| - |
|
26 |
throws ProfitMandiBusinessException;
|
| - |
|
27 |
|
| 26 |
public void updateCustomerDetails(CustomCustomer customCustomer, String invoiceNumber) throws ProfitMandiBusinessException;
|
28 |
public void updateCustomerDetails(CustomCustomer customCustomer, String invoiceNumber)
|
| - |
|
29 |
throws ProfitMandiBusinessException;
|
| - |
|
30 |
|
| 27 |
public PdfModel getInvoicePdfModel(int fofoId, int orderId) throws ProfitMandiBusinessException;
|
31 |
public PdfModel getInvoicePdfModel(int fofoId, int orderId) throws ProfitMandiBusinessException;
|
| - |
|
32 |
|
| 28 |
public PdfModel getInvoicePdfModel(int orderId) throws ProfitMandiBusinessException;
|
33 |
public PdfModel getInvoicePdfModel(int orderId) throws ProfitMandiBusinessException;
|
| - |
|
34 |
|
| 29 |
public String getBillingAddress(CustomerAddress customerAddress);
|
35 |
public String getBillingAddress(CustomerAddress customerAddress);
|
| - |
|
36 |
|
| 30 |
public List<CartFofo> cartCheckout(String cartJson) throws ProfitMandiBusinessException;
|
37 |
public List<CartFofo> cartCheckout(String cartJson) throws ProfitMandiBusinessException;
|
| - |
|
38 |
|
| 31 |
public List<FofoOrderItem> getByOrderId(int orderId)throws ProfitMandiBusinessException;
|
39 |
public List<FofoOrderItem> getByOrderId(int orderId) throws ProfitMandiBusinessException;
|
| - |
|
40 |
|
| - |
|
41 |
public Map<String, Object> getSaleHistory(int fofoId, SearchType searchType, String searchValue,
|
| 32 |
public Map<String, Object> getSaleHistory(int fofoId, SearchType searchType, String searchValue, LocalDateTime startDate, LocalDateTime endDate, int offset, int limit) throws ProfitMandiBusinessException;
|
42 |
LocalDateTime startDate, LocalDateTime endDate, int offset, int limit) throws ProfitMandiBusinessException;
|
| - |
|
43 |
|
| - |
|
44 |
public Map<String, Object> getSaleHistoryPaginated(int fofoId, SearchType searchType, String searchValue,
|
| 33 |
public Map<String, Object> getSaleHistoryPaginated(int fofoId, SearchType searchType, String searchValue, LocalDateTime startDate, LocalDateTime endDate, int offset, int limit) throws ProfitMandiBusinessException;
|
45 |
LocalDateTime startDate, LocalDateTime endDate, int offset, int limit) throws ProfitMandiBusinessException;
|
| - |
|
46 |
|
| 34 |
public CustomerCreditNote badReturn(int fofoId, FoiBadReturnRequest foiBadReturnRequest) throws ProfitMandiBusinessException;
|
47 |
public CustomerCreditNote badReturn(int fofoId, FoiBadReturnRequest foiBadReturnRequest)
|
| - |
|
48 |
throws ProfitMandiBusinessException;
|
| - |
|
49 |
|
| 35 |
public CreditNotePdfModel getCreditNotePdfModel(int customerCreditNoteId) throws ProfitMandiBusinessException;
|
50 |
public CreditNotePdfModel getCreditNotePdfModel(int customerCreditNoteId) throws ProfitMandiBusinessException;
|
| - |
|
51 |
|
| 36 |
public void cancelOrder(List<String> invoiceNumbers)throws Exception;
|
52 |
public void cancelOrder(List<String> invoiceNumbers) throws Exception;
|
| - |
|
53 |
|
| 37 |
public float getSales(int fofoId, LocalDateTime startDate, LocalDateTime endDate);
|
54 |
public float getSales(int fofoId, LocalDateTime startDate, LocalDateTime endDate);
|
| - |
|
55 |
|
| 38 |
public float getSales(int fofoId, LocalDate onDate);
|
56 |
public float getSales(int fofoId, LocalDate onDate);
|
| - |
|
57 |
|
| 39 |
public float getSales(LocalDateTime onDate);
|
58 |
public float getSales(LocalDateTime onDate);
|
| - |
|
59 |
|
| 40 |
public float getSales(LocalDateTime startDate, LocalDateTime endDate);
|
60 |
public float getSales(LocalDateTime startDate, LocalDateTime endDate);
|
| - |
|
61 |
|
| 41 |
String getInvoiceNumber(int fofoId, String fofoStoreCode);
|
62 |
String getInvoiceNumber(int fofoId, String fofoStoreCode);
|
| - |
|
63 |
|
| 42 |
public boolean notifyColorChange(int orderId, int itemId) throws ProfitMandiBusinessException;
|
64 |
public boolean notifyColorChange(int orderId, int itemId) throws ProfitMandiBusinessException;
|
| - |
|
65 |
|
| 43 |
public FofoOrder getOrderByInventoryItemId(int inventoryItemId) throws Exception;
|
66 |
public FofoOrder getOrderByInventoryItemId(int inventoryItemId) throws Exception;
|
| - |
|
67 |
|
| - |
|
68 |
|
| 44 |
}
|
69 |
}
|