Subversion Repositories SmartDukaan

Rev

Rev 23418 | 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 org.springframework.stereotype.Service;

import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
import com.spice.profitmandi.common.model.CreatePrebookingListingRequest;
import com.spice.profitmandi.common.model.CreatePrebookingOrderRequest;

@Service
public interface PrebookingService {
        public void savePrebookingListing(int createrId, CreatePrebookingListingRequest createPrebookingListingRequest)
                        throws ProfitMandiBusinessException;

        public void savePrebookingOrder(int fofoId, CreatePrebookingOrderRequest createPrebookingOrderRequest)
                        throws ProfitMandiBusinessException;

        public void activePrebookingListingById(int prebookingListingId) throws ProfitMandiBusinessException;

        public void expirePrebookingListingById(int prebookingListingId) throws ProfitMandiBusinessException;

        public void updatePrebookingListingById(int prebookingListingId, LocalDateTime activeTimestamp,
                        LocalDateTime expireTimestamp) throws ProfitMandiBusinessException;
}