Subversion Repositories SmartDukaan

Rev

Rev 26723 | Details | Compare with Previous | 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
 
26723 amit.gupta 3
import java.time.LocalDateTime;
22925 ashik.ali 4
import java.util.Map;
5
 
22859 ashik.ali 6
import org.springframework.stereotype.Service;
7
 
8
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
9
import com.spice.profitmandi.common.model.CheckItemQuantityRequest;
10
import com.spice.profitmandi.common.model.CheckItemQuantityResponse;
11
import com.spice.profitmandi.common.model.ScanNonSerializedRequest;
12
import com.spice.profitmandi.common.model.ScanSerializedRequest;
23075 ashik.ali 13
import com.spice.profitmandi.common.model.ShippedOrder;
26033 amit.gupta 14
import com.spice.profitmandi.dao.entity.fofo.PrebookingOrder;
22859 ashik.ali 15
 
16
@Service
17
public interface PurchaseService {
18
	public void scanSerializedItems(ScanSerializedRequest scanSerializedRequest, int fofoId) throws ProfitMandiBusinessException;
19
	public void scanNonSerializedItems(ScanNonSerializedRequest scanNonSerializedRequest, int fofoId) throws ProfitMandiBusinessException;
20
	public CheckItemQuantityResponse checkItemQuantity(CheckItemQuantityRequest checkItemQuantityRequest, int fofoId);
22925 ashik.ali 21
	public Map<String, Object> purchaseByInvoiceNumber(String airwayBillOrInvoiceNumber, int fofoId) throws ProfitMandiBusinessException;
23075 ashik.ali 22
	public ShippedOrder getShippingDetailByOrderId(int orderId, int fofoId) throws ProfitMandiBusinessException;
26033 amit.gupta 23
	void sendPrebookingNotifyMessage(PrebookingOrder prebookingOrder) throws ProfitMandiBusinessException;
26723 amit.gupta 24
	LocalDateTime getBillingDateOfPurchase(int purchaseId);
29860 amit.gupta 25
	void genericCreateCurrentInventorySnapshot(int fofoId, int itemId, int quantity)
26
			throws ProfitMandiBusinessException;
22859 ashik.ali 27
}