|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.model.PO
org.compiere.model.X_C_PaySelectionCheck
org.compiere.model.MPaySelectionCheck
public final class MPaySelectionCheck
Payment Print/Export model.
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.X_C_PaySelectionCheck |
|---|
C_PAYMENT_ID_AD_Reference_ID, PAYMENTRULE_AD_Reference_ID, PAYMENTRULE_Cash, PAYMENTRULE_Check, PAYMENTRULE_CreditCard, PAYMENTRULE_DirectDebit, PAYMENTRULE_DirectDeposit, PAYMENTRULE_OnCredit |
| Fields inherited from class org.compiere.model.PO |
|---|
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID |
| Constructor Summary | |
|---|---|
MPaySelectionCheck(MPaySelectionLine line,
String PaymentRule)
Create from Line |
|
MPaySelectionCheck(MPaySelection ps,
String PaymentRule)
Create from Pay Selection |
|
MPaySelectionCheck(Properties ctx,
int C_PaySelectionCheck_ID,
String trxName)
Constructor |
|
MPaySelectionCheck(Properties ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
void |
addLine(MPaySelectionLine line)
Add Payment Selection Line |
static int |
confirmPrint(MPaySelectionCheck[] checks,
MPaymentBatch batch)
Confirm Print. |
static MPaySelectionCheck |
createForPayment(Properties ctx,
int C_Payment_ID,
String trxName)
Create Check for Payment |
static boolean |
deleteGeneratedDraft(Properties ctx,
int C_Payment_ID,
String trxName)
Delete Payment Selection when generated as Draft (Print Preview) |
static int |
exportToFile(MPaySelectionCheck[] checks,
File file)
Export to File |
static MPaySelectionCheck[] |
get(int C_PaySelection_ID,
String PaymentRule,
int startDocumentNo,
String trxName)
Get Checks of Payment Selection |
static MPaySelectionCheck |
getOfPayment(Properties ctx,
int C_Payment_ID,
String trxName)
Get Check for Payment |
MPaySelection |
getParent()
Get Parent |
MPaySelectionLine[] |
getPaySelectionLines(boolean requery)
Get Payment Selection Lines of this check |
boolean |
isDirect()
Is this a direct Debit or Deposit |
boolean |
isValid()
Is this a valid Prepared Payment |
String |
toString()
String Representation |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.compiere.model.I_Persistent |
|---|
save |
| Constructor Detail |
|---|
public MPaySelectionCheck(Properties ctx,
int C_PaySelectionCheck_ID,
String trxName)
ctx - contextC_PaySelectionCheck_ID - C_PaySelectionCheck_IDtrxName - transaction
public MPaySelectionCheck(Properties ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transaction
public MPaySelectionCheck(MPaySelectionLine line,
String PaymentRule)
line - payment selectionPaymentRule - payment rule
public MPaySelectionCheck(MPaySelection ps,
String PaymentRule)
ps - payment selectionPaymentRule - payment rule| Method Detail |
|---|
public static MPaySelectionCheck getOfPayment(Properties ctx,
int C_Payment_ID,
String trxName)
ctx - contextC_Payment_ID - idtrxName - transaction
public static MPaySelectionCheck createForPayment(Properties ctx,
int C_Payment_ID,
String trxName)
ctx - contextC_Payment_ID - idtrxName - transaction
public static MPaySelectionCheck[] get(int C_PaySelection_ID,
String PaymentRule,
int startDocumentNo,
String trxName)
C_PaySelection_ID - Payment SelectionPaymentRule - Payment RulestartDocumentNo - start document notrxName - transaction
public static int exportToFile(MPaySelectionCheck[] checks,
File file)
checks - array of checksfile - file to export checks
public static int confirmPrint(MPaySelectionCheck[] checks,
MPaymentBatch batch)
checks - checksbatch - batch
public void addLine(MPaySelectionLine line)
line - linepublic MPaySelection getParent()
public boolean isValid()
public boolean isDirect()
public String toString()
toString in class X_C_PaySelectionCheckpublic MPaySelectionLine[] getPaySelectionLines(boolean requery)
requery - requery
public static boolean deleteGeneratedDraft(Properties ctx,
int C_Payment_ID,
String trxName)
ctx - contextC_Payment_ID - idtrxName - transaction
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||