| Line 1... |
Line 1... |
| 1 |
package com.spice.profitmandi.service.catalog;
|
1 |
package com.spice.profitmandi.service.catalog;
|
| 2 |
|
2 |
|
| 3 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
3 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
| 4 |
import com.spice.profitmandi.dao.entity.catalog.ComboMappedModel;
|
4 |
import com.spice.profitmandi.common.model.ComboCancellationResult;
|
| 5 |
import com.spice.profitmandi.dao.entity.user.Cart;
|
5 |
import com.spice.profitmandi.dao.entity.transaction.Order;
|
| 6 |
import com.spice.profitmandi.dao.model.UserCart;
|
6 |
import com.spice.profitmandi.dao.model.UserCart;
|
| 7 |
import com.spice.profitmandi.service.inventory.Combo;
|
- |
|
| 8 |
import org.springframework.stereotype.Component;
|
- |
|
| 9 |
import org.springframework.stereotype.Service;
|
7 |
import org.springframework.stereotype.Service;
|
| 10 |
|
8 |
|
| - |
|
9 |
import java.util.List;
|
| - |
|
10 |
|
| 11 |
@Service
|
11 |
@Service
|
| 12 |
public interface ComboService {
|
12 |
public interface ComboService {
|
| 13 |
boolean validateCombo(UserCart userCart) throws ProfitMandiBusinessException;
|
13 |
boolean validateCombo(UserCart userCart) throws ProfitMandiBusinessException;
|
| - |
|
14 |
|
| - |
|
15 |
ComboCancellationResult checkOrderCancellationForCombo(List<Order> orders);
|
| 14 |
}
|
16 |
}
|