public class DPaymentManager
extends java.lang.Object
Constructor and Description |
---|
DPaymentManager(Preferences moduleSetup,
java.sql.Connection con,
int mid) |
Modifier and Type | Method and Description |
---|---|
DPayment |
addPayment(Dealer dealer,
DPayment dpayment) |
int |
cancelPayment(Dealer dealer,
DPayment payment)
Отмена платежа дилером.
|
int |
cancelPayment(Dealer dealer,
int cid,
int id)
Отмена платежа дилером.
|
int |
cancelPayment(Dealer dealer,
int cid,
java.lang.String transId)
Отмена платежа дилером.
|
java.util.List<DPaymentList> |
getDealerPaymentReport(java.lang.String dealerids,
java.util.Date date1,
java.util.Date date2,
Page page) |
DPayment |
getDPayment(java.util.Date date,
int dealerId,
int id) |
DPayment |
getDPayment(java.util.Date date,
int dealerId,
int cid,
int id) |
DPayment |
getDPayment(java.util.Date date,
int dealerId,
int cid,
java.lang.String transId) |
DPaymentList |
getDPaymentList(int dealerId,
java.util.Date dateFrom,
java.util.Date dateTo,
int type,
Page page) |
int |
getMaxPage(int dealerId,
java.util.Date dateFrom,
java.util.Date dateTo,
int type,
int pageSize) |
java.util.List<DPayment> |
getPaymentList(int dealerId,
java.util.Date dateFrom,
java.util.Date dateTo,
int type,
Page page) |
protected java.util.List<DPayment> |
getPaymentListFromFile(java.lang.String fileString) |
RevisePayments |
revisePayments(int id,
java.util.Date dateFrom,
java.util.Date dateTo,
java.lang.String fileString) |
void |
updateComission(int cid,
java.util.Date month) |
public DPaymentManager(Preferences moduleSetup, java.sql.Connection con, int mid)
public java.util.List<DPayment> getPaymentList(int dealerId, java.util.Date dateFrom, java.util.Date dateTo, int type, Page page)
public DPaymentList getDPaymentList(int dealerId, java.util.Date dateFrom, java.util.Date dateTo, int type, Page page)
public int getMaxPage(int dealerId, java.util.Date dateFrom, java.util.Date dateTo, int type, int pageSize)
public DPayment getDPayment(java.util.Date date, int dealerId, int cid, int id)
public DPayment getDPayment(java.util.Date date, int dealerId, int id)
public DPayment getDPayment(java.util.Date date, int dealerId, int cid, java.lang.String transId)
public DPayment addPayment(Dealer dealer, DPayment dpayment) throws ru.bitel.bgbilling.common.BGException
dealer
- dpayment
- ru.bitel.bgbilling.common.BGException
public int cancelPayment(Dealer dealer, int cid, java.lang.String transId) throws ru.bitel.bgbilling.common.BGException
dealer
- cid
- transId
- ru.bitel.bgbilling.common.BGException
public int cancelPayment(Dealer dealer, int cid, int id) throws ru.bitel.bgbilling.common.BGException
dealer
- cid
- id
- ru.bitel.bgbilling.common.BGException
public int cancelPayment(Dealer dealer, DPayment payment) throws ru.bitel.bgbilling.common.BGException
dealer
- payment
- ru.bitel.bgbilling.common.BGException
public RevisePayments revisePayments(int id, java.util.Date dateFrom, java.util.Date dateTo, java.lang.String fileString)
protected java.util.List<DPayment> getPaymentListFromFile(java.lang.String fileString)
public void updateComission(int cid, java.util.Date month) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public java.util.List<DPaymentList> getDealerPaymentReport(java.lang.String dealerids, java.util.Date date1, java.util.Date date2, Page page)