Subversion Repositories SmartDukaan

Rev

Rev 23418 | Rev 23595 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 23418 Rev 23582
Line 7... Line 7...
7
 
7
 
8
import com.spice.profitmandi.common.enumuration.SearchType;
8
import com.spice.profitmandi.common.enumuration.SearchType;
9
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
9
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
10
import com.spice.profitmandi.common.model.CartFofo;
10
import com.spice.profitmandi.common.model.CartFofo;
11
import com.spice.profitmandi.common.model.CreateOrderRequest;
11
import com.spice.profitmandi.common.model.CreateOrderRequest;
-
 
12
import com.spice.profitmandi.common.model.CustomCustomer;
12
import com.spice.profitmandi.common.model.PdfModel;
13
import com.spice.profitmandi.common.model.PdfModel;
13
import com.spice.profitmandi.dao.entity.fofo.CustomerAddress;
14
import com.spice.profitmandi.dao.entity.fofo.CustomerAddress;
14
import com.spice.profitmandi.dao.entity.fofo.FofoOrderItem;
15
import com.spice.profitmandi.dao.entity.fofo.FofoOrderItem;
15
 
16
 
16
@Service
17
@Service
17
public interface OrderService {
18
public interface OrderService {
18
	public int createOrder(CreateOrderRequest createOrderRequest, int fofoId) throws ProfitMandiBusinessException;
19
	public int createOrder(CreateOrderRequest createOrderRequest, int fofoId) throws ProfitMandiBusinessException;
-
 
20
	public void updateCustomerDetails(CustomCustomer customCustomer, String invoiceNumber) throws ProfitMandiBusinessException;
19
	public PdfModel getInvoicePdfModel(int fofoId, int orderId) throws ProfitMandiBusinessException;
21
	public PdfModel getInvoicePdfModel(int fofoId, int orderId) throws ProfitMandiBusinessException;
20
	public String getBillingAddress(CustomerAddress customerAddress);
22
	public String getBillingAddress(CustomerAddress customerAddress);
21
	public List<CartFofo> cartCheckout(String cartJson) throws ProfitMandiBusinessException;
23
	public List<CartFofo> cartCheckout(String cartJson) throws ProfitMandiBusinessException;
22
	public List<FofoOrderItem> getByOrderId(int orderId)throws ProfitMandiBusinessException;
24
	public List<FofoOrderItem> getByOrderId(int orderId)throws ProfitMandiBusinessException;
23
	public Map<String, Object> getSaleHistory(int fofoId, SearchType searchType, String searchValue, String startTimeString, String endTimeString, int offset, int limit) throws ProfitMandiBusinessException;
25
	public Map<String, Object> getSaleHistory(int fofoId, SearchType searchType, String searchValue, String startTimeString, String endTimeString, int offset, int limit) throws ProfitMandiBusinessException;