| Line 2... |
Line 2... |
| 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.transaction.UserWallet;
|
4 |
import com.spice.profitmandi.dao.entity.transaction.UserWallet;
|
| 5 |
import com.spice.profitmandi.dao.entity.transaction.UserWalletHistory;
|
5 |
import com.spice.profitmandi.dao.entity.transaction.UserWalletHistory;
|
| 6 |
import com.spice.profitmandi.dao.enumuration.transaction.AddWalletRequestStatus;
|
6 |
import com.spice.profitmandi.dao.enumuration.transaction.AddWalletRequestStatus;
|
| - |
|
7 |
import com.spice.profitmandi.dao.enumuration.transaction.TransactionType;
|
| 7 |
import in.shop2020.model.v1.order.WalletReferenceType;
|
8 |
import in.shop2020.model.v1.order.WalletReferenceType;
|
| 8 |
import org.springframework.http.ResponseEntity;
|
9 |
import org.springframework.http.ResponseEntity;
|
| 9 |
import org.springframework.stereotype.Service;
|
10 |
import org.springframework.stereotype.Service;
|
| 10 |
|
11 |
|
| 11 |
import java.time.LocalDateTime;
|
12 |
import java.time.LocalDateTime;
|
| Line 57... |
Line 58... |
| 57 |
|
58 |
|
| 58 |
void resetWallet() throws ProfitMandiBusinessException;
|
59 |
void resetWallet() throws ProfitMandiBusinessException;
|
| 59 |
|
60 |
|
| 60 |
int getManualReference(WalletReferenceType referenceType);
|
61 |
int getManualReference(WalletReferenceType referenceType);
|
| 61 |
|
62 |
|
| - |
|
63 |
int applyManualAdjustment(int retailerId, int reference, WalletReferenceType referenceType,
|
| - |
|
64 |
TransactionType transactionType, int amount, String description,
|
| - |
|
65 |
LocalDateTime businessTimestamp) throws ProfitMandiBusinessException;
|
| - |
|
66 |
|
| 62 |
ResponseEntity<?> createAddWalletRequestReport(LocalDateTime startDate, LocalDateTime endDate, AddWalletRequestStatus status) throws Exception;
|
67 |
ResponseEntity<?> createAddWalletRequestReport(LocalDateTime startDate, LocalDateTime endDate, AddWalletRequestStatus status) throws Exception;
|
| 63 |
}
|
68 |
}
|