Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
22925 ashik.ali 1
package com.spice.profitmandi.service.inventory;
22859 ashik.ali 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;
22925 ashik.ali 12
import com.spice.profitmandi.dao.entity.fofo.FofoOrderItem;
22859 ashik.ali 13
 
14
@Service
15
public interface OrderService {
16
	public int createOrder(CreateOrderRequest createOrderRequest, int fofoId) throws ProfitMandiBusinessException;
17
	public PdfModel getInvoicePdfModel(int fofoId, int orderId) throws ProfitMandiBusinessException;
18
	public String getBillingAddress(CustomerAddress customerAddress);
19
	public List<CartFofo> cartCheckout(String cartJson) throws ProfitMandiBusinessException;
22925 ashik.ali 20
	public List<FofoOrderItem> getByOrderId(int orderId)throws ProfitMandiBusinessException;
22859 ashik.ali 21
}