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