Rev 26723 | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.service.inventory;import java.time.LocalDateTime;import java.util.Map;import org.springframework.stereotype.Service;import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;import com.spice.profitmandi.common.model.CheckItemQuantityRequest;import com.spice.profitmandi.common.model.CheckItemQuantityResponse;import com.spice.profitmandi.common.model.ScanNonSerializedRequest;import com.spice.profitmandi.common.model.ScanSerializedRequest;import com.spice.profitmandi.common.model.ShippedOrder;import com.spice.profitmandi.dao.entity.fofo.PrebookingOrder;@Servicepublic interface PurchaseService {public void scanSerializedItems(ScanSerializedRequest scanSerializedRequest, int fofoId) throws ProfitMandiBusinessException;public void scanNonSerializedItems(ScanNonSerializedRequest scanNonSerializedRequest, int fofoId) throws ProfitMandiBusinessException;public CheckItemQuantityResponse checkItemQuantity(CheckItemQuantityRequest checkItemQuantityRequest, int fofoId);public Map<String, Object> purchaseByInvoiceNumber(String airwayBillOrInvoiceNumber, int fofoId) throws ProfitMandiBusinessException;public ShippedOrder getShippingDetailByOrderId(int orderId, int fofoId) throws ProfitMandiBusinessException;void sendPrebookingNotifyMessage(PrebookingOrder prebookingOrder) throws ProfitMandiBusinessException;LocalDateTime getBillingDateOfPurchase(int purchaseId);void genericCreateCurrentInventorySnapshot(int fofoId, int itemId, int quantity)throws ProfitMandiBusinessException;}