Rev 22859 | Rev 23202 | Go to most recent revision | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.service.inventory;import java.util.List;import org.springframework.stereotype.Service;import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;import com.spice.profitmandi.common.model.CartFofo;import com.spice.profitmandi.common.model.CreateOrderRequest;import com.spice.profitmandi.common.model.PdfModel;import com.spice.profitmandi.dao.entity.fofo.CustomerAddress;import com.spice.profitmandi.dao.entity.fofo.FofoOrderItem;@Servicepublic interface OrderService {public int createOrder(CreateOrderRequest createOrderRequest, int fofoId) throws ProfitMandiBusinessException;public PdfModel getInvoicePdfModel(int fofoId, int orderId) throws ProfitMandiBusinessException;public String getBillingAddress(CustomerAddress customerAddress);public List<CartFofo> cartCheckout(String cartJson) throws ProfitMandiBusinessException;public List<FofoOrderItem> getByOrderId(int orderId)throws ProfitMandiBusinessException;}