| Line 1... |
Line 1... |
| 1 |
package com.spice.profitmandi.service.order;
|
1 |
package com.spice.profitmandi.service.order;
|
| 2 |
|
2 |
|
| 3 |
import com.spice.profitmandi.common.enumuration.SearchType;
|
3 |
import com.spice.profitmandi.common.enumuration.SearchType;
|
| 4 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
4 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
| 5 |
import com.spice.profitmandi.common.model.*;
|
5 |
import com.spice.profitmandi.common.model.*;
|
| - |
|
6 |
import com.spice.profitmandi.dao.entity.fofo.CustomerAddress;
|
| - |
|
7 |
import com.spice.profitmandi.dao.entity.fofo.CustomerCreditNote;
|
| 6 |
import com.spice.profitmandi.dao.entity.fofo.*;
|
8 |
import com.spice.profitmandi.dao.entity.fofo.FofoOrder;
|
| - |
|
9 |
import com.spice.profitmandi.dao.entity.fofo.FofoOrderItem;
|
| 7 |
import com.spice.profitmandi.dao.enumuration.inventory.ScratchedGift;
|
10 |
import com.spice.profitmandi.dao.enumuration.inventory.ScratchedGift;
|
| 8 |
import org.springframework.http.ResponseEntity;
|
11 |
import org.springframework.http.ResponseEntity;
|
| 9 |
import org.springframework.stereotype.Service;
|
12 |
import org.springframework.stereotype.Service;
|
| 10 |
|
13 |
|
| 11 |
import java.time.LocalDate;
|
14 |
import java.time.LocalDate;
|
| Line 14... |
Line 17... |
| 14 |
import java.util.Map;
|
17 |
import java.util.Map;
|
| 15 |
|
18 |
|
| 16 |
@Service
|
19 |
@Service
|
| 17 |
public interface OrderService {
|
20 |
public interface OrderService {
|
| 18 |
int createOrder(CreateOrderRequest createOrderRequest, int fofoId, boolean accessoriesDeals)
|
21 |
int createOrder(CreateOrderRequest createOrderRequest, int fofoId, boolean accessoriesDeals)
|
| 19 |
throws ProfitMandiBusinessException;
|
22 |
throws Exception;
|
| 20 |
|
23 |
|
| 21 |
void updateCustomerDetails(CustomCustomer customCustomer, String invoiceNumber)
|
24 |
void updateCustomerDetails(CustomCustomer customCustomer, String invoiceNumber)
|
| 22 |
throws ProfitMandiBusinessException;
|
25 |
throws ProfitMandiBusinessException;
|
| 23 |
|
26 |
|
| 24 |
InvoicePdfModel getInvoicePdfModel(int fofoId, int orderId) throws ProfitMandiBusinessException;
|
27 |
InvoicePdfModel getInvoicePdfModel(int fofoId, int orderId) throws ProfitMandiBusinessException;
|