| 23418 |
ashik.ali |
1 |
package com.spice.profitmandi.service.inventory;
|
|
|
2 |
|
| 26218 |
tejbeer |
3 |
import java.time.LocalDateTime;
|
|
|
4 |
|
| 23418 |
ashik.ali |
5 |
import org.springframework.stereotype.Service;
|
|
|
6 |
|
|
|
7 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
|
|
8 |
import com.spice.profitmandi.common.model.CreatePrebookingListingRequest;
|
|
|
9 |
import com.spice.profitmandi.common.model.CreatePrebookingOrderRequest;
|
|
|
10 |
|
|
|
11 |
@Service
|
|
|
12 |
public interface PrebookingService {
|
| 26218 |
tejbeer |
13 |
public void savePrebookingListing(int createrId, CreatePrebookingListingRequest createPrebookingListingRequest)
|
|
|
14 |
throws ProfitMandiBusinessException;
|
|
|
15 |
|
|
|
16 |
public void savePrebookingOrder(int fofoId, CreatePrebookingOrderRequest createPrebookingOrderRequest)
|
|
|
17 |
throws ProfitMandiBusinessException;
|
|
|
18 |
|
| 23418 |
ashik.ali |
19 |
public void activePrebookingListingById(int prebookingListingId) throws ProfitMandiBusinessException;
|
| 26218 |
tejbeer |
20 |
|
| 23418 |
ashik.ali |
21 |
public void expirePrebookingListingById(int prebookingListingId) throws ProfitMandiBusinessException;
|
| 26218 |
tejbeer |
22 |
|
|
|
23 |
public void updatePrebookingListingById(int prebookingListingId, LocalDateTime activeTimestamp,
|
|
|
24 |
LocalDateTime expireTimestamp) throws ProfitMandiBusinessException;
|
| 23418 |
ashik.ali |
25 |
}
|