| 22859 |
ashik.ali |
1 |
package com.spice.profitmandi.service.sale;
|
|
|
2 |
|
|
|
3 |
import java.util.List;
|
|
|
4 |
|
|
|
5 |
import org.springframework.stereotype.Service;
|
|
|
6 |
|
|
|
7 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
|
|
8 |
import com.spice.profitmandi.common.model.CartFofo;
|
|
|
9 |
import com.spice.profitmandi.common.model.CreateOrderRequest;
|
|
|
10 |
import com.spice.profitmandi.common.model.PdfModel;
|
|
|
11 |
import com.spice.profitmandi.dao.entity.fofo.CustomerAddress;
|
|
|
12 |
|
|
|
13 |
@Service
|
|
|
14 |
public interface OrderService {
|
|
|
15 |
public int createOrder(CreateOrderRequest createOrderRequest, int fofoId) throws ProfitMandiBusinessException;
|
|
|
16 |
public PdfModel getInvoicePdfModel(int fofoId, int orderId) throws ProfitMandiBusinessException;
|
|
|
17 |
public String getBillingAddress(CustomerAddress customerAddress);
|
|
|
18 |
public List<CartFofo> cartCheckout(String cartJson) throws ProfitMandiBusinessException;
|
|
|
19 |
}
|