Package org.compiere.model
Class X_C_PaySelectionCheck
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_C_PaySelectionCheck
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_C_PaySelectionCheck
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MPaySelectionCheck
Generated Model for C_PaySelectionCheck
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
PaymentRule AD_Reference_ID=195static final String
Cash = Bstatic final String
Check = Sstatic final String
Credit Card = Kstatic final String
Direct Debit = Dstatic final String
Direct Deposit = Tstatic final String
Mixed POS Payment = Mstatic final String
On Credit = PFields 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, LOCAL_TRX_PREFIX, log, p_ctx, p_info, UUID_NEW_RECORD, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
Fields inherited from interface org.compiere.model.I_C_PaySelectionCheck
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_C_BP_BankAccount_ID, COLUMNNAME_C_BPartner_ID, COLUMNNAME_C_Payment_ID, COLUMNNAME_C_PaySelection_ID, COLUMNNAME_C_PaySelectionCheck_ID, COLUMNNAME_C_PaySelectionCheck_UU, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_DiscountAmt, COLUMNNAME_DocumentNo, COLUMNNAME_IsActive, COLUMNNAME_IsGeneratedDraft, COLUMNNAME_IsPrinted, COLUMNNAME_IsReceipt, COLUMNNAME_PayAmt, COLUMNNAME_PaymentRule, COLUMNNAME_Processed, COLUMNNAME_Qty, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_WriteOffAmt, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_C_PaySelectionCheck
(Properties ctx, int C_PaySelectionCheck_ID, String trxName) Standard ConstructorX_C_PaySelectionCheck
(Properties ctx, int C_PaySelectionCheck_ID, String trxName, String... virtualColumns) Standard ConstructorX_C_PaySelectionCheck
(Properties ctx, String C_PaySelectionCheck_UU, String trxName) Standard ConstructorX_C_PaySelectionCheck
(Properties ctx, String C_PaySelectionCheck_UU, String trxName, String... virtualColumns) Standard ConstructorX_C_PaySelectionCheck
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Partner Bank Account.int
Get Business Partner.int
Get Payment.int
Get Payment Selection.int
Get Pay Selection Check.Get C_PaySelectionCheck_UU.Get Discount Amount.Get Document No.Get Payment amount.Get Payment Rule.int
getQty()
Get Quantity.Get Write-off Amount.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Generated Draft.boolean
Get Printed.boolean
Get Processed.boolean
Get Receipt.void
setC_BP_BankAccount_ID
(int C_BP_BankAccount_ID) Set Partner Bank Account.void
setC_BPartner_ID
(int C_BPartner_ID) Set Business Partner.void
setC_Payment_ID
(int C_Payment_ID) Set Payment.void
setC_PaySelection_ID
(int C_PaySelection_ID) Set Payment Selection.void
setC_PaySelectionCheck_ID
(int C_PaySelectionCheck_ID) Set Pay Selection Check.void
setC_PaySelectionCheck_UU
(String C_PaySelectionCheck_UU) Set C_PaySelectionCheck_UU.void
setDiscountAmt
(BigDecimal DiscountAmt) Set Discount Amount.void
setDocumentNo
(String DocumentNo) Set Document No.void
setIsGeneratedDraft
(boolean IsGeneratedDraft) Set Generated Draft.void
setIsPrinted
(boolean IsPrinted) Set Printed.void
setIsReceipt
(boolean IsReceipt) Set Receipt.void
setPayAmt
(BigDecimal PayAmt) Set Payment amount.void
setPaymentRule
(String PaymentRule) Set Payment Rule.void
setProcessed
(boolean Processed) Set Processed.void
setQty
(int Qty) Set Quantity.void
setWriteOffAmt
(BigDecimal WriteOffAmt) Set Write-off Amount.toString()
String representationMethods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, buildInsertSQL, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, dump, dump, equals, get_Attribute, get_Attributes, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_OptimisticLockingColumns, get_Table_ID, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_UUID, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getUUIDColumnName, getUUIDColumnName, hashCode, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_Immutable, is_new, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, saveEx, saveEx, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_OptimisticLockingColumns, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, set_ValueOfColumnReturningBoolean, set_ValueOfColumnReturningBoolean, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setCrossTenantSafe, setDoc, setDocWorkflowMgr, setIsActive, setProcessedOn, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, toInsertSQL, unlock, update_Tree, validForeignKeys
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
Methods inherited from interface org.compiere.model.I_C_PaySelectionCheck
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActive
Methods inherited from interface org.compiere.model.I_Persistent
save
-
Field Details
-
PAYMENTRULE_AD_Reference_ID
public static final int PAYMENTRULE_AD_Reference_IDPaymentRule AD_Reference_ID=195- See Also:
-
PAYMENTRULE_Cash
Cash = B- See Also:
-
PAYMENTRULE_DirectDebit
Direct Debit = D- See Also:
-
PAYMENTRULE_CreditCard
Credit Card = K- See Also:
-
PAYMENTRULE_MixedPOSPayment
Mixed POS Payment = M- See Also:
-
PAYMENTRULE_OnCredit
On Credit = P- See Also:
-
PAYMENTRULE_Check
Check = S- See Also:
-
PAYMENTRULE_DirectDeposit
Direct Deposit = T- See Also:
-
-
Constructor Details
-
X_C_PaySelectionCheck
Standard Constructor -
X_C_PaySelectionCheck
public X_C_PaySelectionCheck(Properties ctx, int C_PaySelectionCheck_ID, String trxName, String... virtualColumns) Standard Constructor -
X_C_PaySelectionCheck
Standard Constructor -
X_C_PaySelectionCheck
public X_C_PaySelectionCheck(Properties ctx, String C_PaySelectionCheck_UU, String trxName, String... virtualColumns) Standard Constructor -
X_C_PaySelectionCheck
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 1 - Org
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
getC_BPartner
- Specified by:
getC_BPartner
in interfaceI_C_PaySelectionCheck
- Throws:
RuntimeException
-
setC_BPartner_ID
public void setC_BPartner_ID(int C_BPartner_ID) Set Business Partner.- Specified by:
setC_BPartner_ID
in interfaceI_C_PaySelectionCheck
- Parameters:
C_BPartner_ID
- Identifies a Business Partner
-
getC_BPartner_ID
public int getC_BPartner_ID()Get Business Partner.- Specified by:
getC_BPartner_ID
in interfaceI_C_PaySelectionCheck
- Returns:
- Identifies a Business Partner
-
getC_BP_BankAccount
- Specified by:
getC_BP_BankAccount
in interfaceI_C_PaySelectionCheck
- Throws:
RuntimeException
-
setC_BP_BankAccount_ID
public void setC_BP_BankAccount_ID(int C_BP_BankAccount_ID) Set Partner Bank Account.- Specified by:
setC_BP_BankAccount_ID
in interfaceI_C_PaySelectionCheck
- Parameters:
C_BP_BankAccount_ID
- Bank Account of the Business Partner
-
getC_BP_BankAccount_ID
public int getC_BP_BankAccount_ID()Get Partner Bank Account.- Specified by:
getC_BP_BankAccount_ID
in interfaceI_C_PaySelectionCheck
- Returns:
- Bank Account of the Business Partner
-
getC_Payment
- Specified by:
getC_Payment
in interfaceI_C_PaySelectionCheck
- Throws:
RuntimeException
-
setC_Payment_ID
public void setC_Payment_ID(int C_Payment_ID) Set Payment.- Specified by:
setC_Payment_ID
in interfaceI_C_PaySelectionCheck
- Parameters:
C_Payment_ID
- Payment identifier
-
getC_Payment_ID
public int getC_Payment_ID()Get Payment.- Specified by:
getC_Payment_ID
in interfaceI_C_PaySelectionCheck
- Returns:
- Payment identifier
-
setC_PaySelectionCheck_ID
public void setC_PaySelectionCheck_ID(int C_PaySelectionCheck_ID) Set Pay Selection Check.- Specified by:
setC_PaySelectionCheck_ID
in interfaceI_C_PaySelectionCheck
- Parameters:
C_PaySelectionCheck_ID
- Payment Selection Check
-
getC_PaySelectionCheck_ID
public int getC_PaySelectionCheck_ID()Get Pay Selection Check.- Specified by:
getC_PaySelectionCheck_ID
in interfaceI_C_PaySelectionCheck
- Returns:
- Payment Selection Check
-
setC_PaySelectionCheck_UU
Set C_PaySelectionCheck_UU.- Specified by:
setC_PaySelectionCheck_UU
in interfaceI_C_PaySelectionCheck
- Parameters:
C_PaySelectionCheck_UU
- C_PaySelectionCheck_UU
-
getC_PaySelectionCheck_UU
Get C_PaySelectionCheck_UU.- Specified by:
getC_PaySelectionCheck_UU
in interfaceI_C_PaySelectionCheck
- Returns:
- C_PaySelectionCheck_UU
-
getC_PaySelection
- Specified by:
getC_PaySelection
in interfaceI_C_PaySelectionCheck
- Throws:
RuntimeException
-
setC_PaySelection_ID
public void setC_PaySelection_ID(int C_PaySelection_ID) Set Payment Selection.- Specified by:
setC_PaySelection_ID
in interfaceI_C_PaySelectionCheck
- Parameters:
C_PaySelection_ID
- Payment Selection
-
getC_PaySelection_ID
public int getC_PaySelection_ID()Get Payment Selection.- Specified by:
getC_PaySelection_ID
in interfaceI_C_PaySelectionCheck
- Returns:
- Payment Selection
-
setDiscountAmt
Set Discount Amount.- Specified by:
setDiscountAmt
in interfaceI_C_PaySelectionCheck
- Parameters:
DiscountAmt
- Calculated amount of discount
-
getDiscountAmt
Get Discount Amount.- Specified by:
getDiscountAmt
in interfaceI_C_PaySelectionCheck
- Returns:
- Calculated amount of discount
-
setDocumentNo
Set Document No.- Specified by:
setDocumentNo
in interfaceI_C_PaySelectionCheck
- Parameters:
DocumentNo
- Document sequence number of the document
-
getDocumentNo
Get Document No.- Specified by:
getDocumentNo
in interfaceI_C_PaySelectionCheck
- Returns:
- Document sequence number of the document
-
setIsGeneratedDraft
public void setIsGeneratedDraft(boolean IsGeneratedDraft) Set Generated Draft.- Specified by:
setIsGeneratedDraft
in interfaceI_C_PaySelectionCheck
- Parameters:
IsGeneratedDraft
- Generated Draft
-
isGeneratedDraft
public boolean isGeneratedDraft()Get Generated Draft.- Specified by:
isGeneratedDraft
in interfaceI_C_PaySelectionCheck
- Returns:
- Generated Draft
-
setIsPrinted
public void setIsPrinted(boolean IsPrinted) Set Printed.- Specified by:
setIsPrinted
in interfaceI_C_PaySelectionCheck
- Parameters:
IsPrinted
- Indicates if this document / line is printed
-
isPrinted
public boolean isPrinted()Get Printed.- Specified by:
isPrinted
in interfaceI_C_PaySelectionCheck
- Returns:
- Indicates if this document / line is printed
-
setIsReceipt
public void setIsReceipt(boolean IsReceipt) Set Receipt.- Specified by:
setIsReceipt
in interfaceI_C_PaySelectionCheck
- Parameters:
IsReceipt
- This is a sales transaction (receipt)
-
isReceipt
public boolean isReceipt()Get Receipt.- Specified by:
isReceipt
in interfaceI_C_PaySelectionCheck
- Returns:
- This is a sales transaction (receipt)
-
setPayAmt
Set Payment amount.- Specified by:
setPayAmt
in interfaceI_C_PaySelectionCheck
- Parameters:
PayAmt
- Amount being paid
-
getPayAmt
Get Payment amount.- Specified by:
getPayAmt
in interfaceI_C_PaySelectionCheck
- Returns:
- Amount being paid
-
setPaymentRule
Set Payment Rule.- Specified by:
setPaymentRule
in interfaceI_C_PaySelectionCheck
- Parameters:
PaymentRule
- How you pay the invoice
-
getPaymentRule
Get Payment Rule.- Specified by:
getPaymentRule
in interfaceI_C_PaySelectionCheck
- Returns:
- How you pay the invoice
-
setProcessed
public void setProcessed(boolean Processed) Set Processed.- Specified by:
setProcessed
in interfaceI_C_PaySelectionCheck
- Parameters:
Processed
- The document has been processed
-
isProcessed
public boolean isProcessed()Get Processed.- Specified by:
isProcessed
in interfaceI_C_PaySelectionCheck
- Returns:
- The document has been processed
-
setQty
public void setQty(int Qty) Set Quantity.- Specified by:
setQty
in interfaceI_C_PaySelectionCheck
- Parameters:
Qty
- Quantity
-
getQty
public int getQty()Get Quantity.- Specified by:
getQty
in interfaceI_C_PaySelectionCheck
- Returns:
- Quantity
-
setWriteOffAmt
Set Write-off Amount.- Specified by:
setWriteOffAmt
in interfaceI_C_PaySelectionCheck
- Parameters:
WriteOffAmt
- Amount to write-off
-
getWriteOffAmt
Get Write-off Amount.- Specified by:
getWriteOffAmt
in interfaceI_C_PaySelectionCheck
- Returns:
- Amount to write-off
-