Adempiere 3.5.2a

org.compiere.model
Class X_C_PaySelectionLine

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_C_PaySelectionLine
All Implemented Interfaces:
Serializable, Comparator, I_C_PaySelectionLine, I_Persistent, Evaluatee
Direct Known Subclasses:
MPaySelectionLine

public class X_C_PaySelectionLine
extends PO
implements I_C_PaySelectionLine, I_Persistent

Generated Model for C_PaySelectionLine

Version:
Release 3.5.2a - $Id$
Author:
Adempiere (generated)
See Also:
Serialized Form

Field Summary
static int PAYMENTRULE_AD_Reference_ID
          PaymentRule AD_Reference_ID=195
static String PAYMENTRULE_Cash
          Cash = B
static String PAYMENTRULE_Check
          Check = S
static String PAYMENTRULE_CreditCard
          Credit Card = K
static String PAYMENTRULE_DirectDebit
          Direct Debit = D
static String PAYMENTRULE_DirectDeposit
          Direct Deposit = T
static String PAYMENTRULE_OnCredit
          On Credit = P
 
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
 
Fields inherited from interface org.compiere.model.I_C_PaySelectionLine
accessLevel, COLUMNNAME_C_Invoice_ID, COLUMNNAME_C_PaySelection_ID, COLUMNNAME_C_PaySelectionCheck_ID, COLUMNNAME_C_PaySelectionLine_ID, COLUMNNAME_Description, COLUMNNAME_DifferenceAmt, COLUMNNAME_DiscountAmt, COLUMNNAME_IsManual, COLUMNNAME_IsSOTrx, COLUMNNAME_Line, COLUMNNAME_OpenAmt, COLUMNNAME_PayAmt, COLUMNNAME_PaymentRule, COLUMNNAME_Processed, Model, Table_ID, Table_Name
 
Constructor Summary
X_C_PaySelectionLine(Properties ctx, int C_PaySelectionLine_ID, String trxName)
          Standard Constructor
X_C_PaySelectionLine(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 int getC_Invoice_ID()
          Get Invoice.
 I_C_Invoice getC_Invoice()
           
 int getC_PaySelection_ID()
          Get Payment Selection.
 I_C_PaySelection getC_PaySelection()
           
 int getC_PaySelectionCheck_ID()
          Get Pay Selection Check.
 I_C_PaySelectionCheck getC_PaySelectionCheck()
           
 int getC_PaySelectionLine_ID()
          Get Payment Selection Line.
 String getDescription()
          Get Description.
 BigDecimal getDifferenceAmt()
          Get Difference.
 BigDecimal getDiscountAmt()
          Get Discount Amount.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 int getLine()
          Get Line No.
 BigDecimal getOpenAmt()
          Get Open Amount.
 BigDecimal getPayAmt()
          Get Payment amount.
 String getPaymentRule()
          Get Payment Rule.
protected  POInfo initPO(Properties ctx)
          Load Meta Data
 boolean isManual()
          Get Manual.
 boolean isProcessed()
          Get Processed.
 boolean isSOTrx()
          Get Sales Transaction.
 void setC_Invoice_ID(int C_Invoice_ID)
          Set Invoice.
 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_PaySelectionLine_ID(int C_PaySelectionLine_ID)
          Set Payment Selection Line.
 void setDescription(String Description)
          Set Description.
 void setDifferenceAmt(BigDecimal DifferenceAmt)
          Set Difference.
 void setDiscountAmt(BigDecimal DiscountAmt)
          Set Discount Amount.
 void setIsManual(boolean IsManual)
          Set Manual.
 void setIsSOTrx(boolean IsSOTrx)
          Set Sales Transaction.
 void setLine(int Line)
          Set Line No.
 void setOpenAmt(BigDecimal OpenAmt)
          Set Open Amount.
 void setPayAmt(BigDecimal PayAmt)
          Set Payment amount.
 void setPaymentRule(String PaymentRule)
          Set Payment Rule.
 void setProcessed(boolean Processed)
          Set Processed.
 String toString()
          String representation
 
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, compare, copyValues, copyValues, createAttachment, delete_Accounting, delete_Tree, delete, delete, deleteEx, deleteEx, dump, dump, equals, 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_Table_ID, get_TableName, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_new, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadComplete, loadDefaults, loadSpecial, lock, save, save, saveEx, saveEx, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_ColumnUpdateable, set_CustomColumn, set_TrxName, set_TrxName, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setDoc, setDocWorkflowMgr, setIsActive, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock
 
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
 

Field Detail

PAYMENTRULE_AD_Reference_ID

public static final int PAYMENTRULE_AD_Reference_ID
PaymentRule AD_Reference_ID=195

See Also:
Constant Field Values

PAYMENTRULE_Cash

public static final String PAYMENTRULE_Cash
Cash = B

See Also:
Constant Field Values

PAYMENTRULE_CreditCard

public static final String PAYMENTRULE_CreditCard
Credit Card = K

See Also:
Constant Field Values

PAYMENTRULE_DirectDeposit

public static final String PAYMENTRULE_DirectDeposit
Direct Deposit = T

See Also:
Constant Field Values

PAYMENTRULE_Check

public static final String PAYMENTRULE_Check
Check = S

See Also:
Constant Field Values

PAYMENTRULE_OnCredit

public static final String PAYMENTRULE_OnCredit
On Credit = P

See Also:
Constant Field Values

PAYMENTRULE_DirectDebit

public static final String PAYMENTRULE_DirectDebit
Direct Debit = D

See Also:
Constant Field Values
Constructor Detail

X_C_PaySelectionLine

public X_C_PaySelectionLine(Properties ctx,
                            int C_PaySelectionLine_ID,
                            String trxName)
Standard Constructor


X_C_PaySelectionLine

public X_C_PaySelectionLine(Properties ctx,
                            ResultSet rs,
                            String trxName)
Load Constructor

Method Detail

get_AccessLevel

protected int get_AccessLevel()
AccessLevel

Specified by:
get_AccessLevel in class PO
Returns:
1 - Org

initPO

protected POInfo initPO(Properties ctx)
Load Meta Data

Specified by:
initPO in class PO
Parameters:
ctx - context
Returns:
POInfo

toString

public String toString()
Description copied from class: PO
String representation

Overrides:
toString in class PO
Returns:
String representation

getC_Invoice

public I_C_Invoice getC_Invoice()
                         throws Exception
Specified by:
getC_Invoice in interface I_C_PaySelectionLine
Throws:
Exception

setC_Invoice_ID

public void setC_Invoice_ID(int C_Invoice_ID)
Set Invoice.

Specified by:
setC_Invoice_ID in interface I_C_PaySelectionLine
Parameters:
C_Invoice_ID - Invoice Identifier

getC_Invoice_ID

public int getC_Invoice_ID()
Get Invoice.

Specified by:
getC_Invoice_ID in interface I_C_PaySelectionLine
Returns:
Invoice Identifier

getC_PaySelectionCheck

public I_C_PaySelectionCheck getC_PaySelectionCheck()
                                             throws Exception
Specified by:
getC_PaySelectionCheck in interface I_C_PaySelectionLine
Throws:
Exception

setC_PaySelectionCheck_ID

public void setC_PaySelectionCheck_ID(int C_PaySelectionCheck_ID)
Set Pay Selection Check.

Specified by:
setC_PaySelectionCheck_ID in interface I_C_PaySelectionLine
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 interface I_C_PaySelectionLine
Returns:
Payment Selection Check

getC_PaySelection

public I_C_PaySelection getC_PaySelection()
                                   throws Exception
Specified by:
getC_PaySelection in interface I_C_PaySelectionLine
Throws:
Exception

setC_PaySelection_ID

public void setC_PaySelection_ID(int C_PaySelection_ID)
Set Payment Selection.

Specified by:
setC_PaySelection_ID in interface I_C_PaySelectionLine
Parameters:
C_PaySelection_ID - Payment Selection

getC_PaySelection_ID

public int getC_PaySelection_ID()
Get Payment Selection.

Specified by:
getC_PaySelection_ID in interface I_C_PaySelectionLine
Returns:
Payment Selection

setC_PaySelectionLine_ID

public void setC_PaySelectionLine_ID(int C_PaySelectionLine_ID)
Set Payment Selection Line.

Specified by:
setC_PaySelectionLine_ID in interface I_C_PaySelectionLine
Parameters:
C_PaySelectionLine_ID - Payment Selection Line

getC_PaySelectionLine_ID

public int getC_PaySelectionLine_ID()
Get Payment Selection Line.

Specified by:
getC_PaySelectionLine_ID in interface I_C_PaySelectionLine
Returns:
Payment Selection Line

getKeyNamePair

public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName

Returns:
ID/ColumnName pair

setDescription

public void setDescription(String Description)
Set Description.

Specified by:
setDescription in interface I_C_PaySelectionLine
Parameters:
Description - Optional short description of the record

getDescription

public String getDescription()
Get Description.

Specified by:
getDescription in interface I_C_PaySelectionLine
Returns:
Optional short description of the record

setDifferenceAmt

public void setDifferenceAmt(BigDecimal DifferenceAmt)
Set Difference.

Specified by:
setDifferenceAmt in interface I_C_PaySelectionLine
Parameters:
DifferenceAmt - Difference Amount

getDifferenceAmt

public BigDecimal getDifferenceAmt()
Get Difference.

Specified by:
getDifferenceAmt in interface I_C_PaySelectionLine
Returns:
Difference Amount

setDiscountAmt

public void setDiscountAmt(BigDecimal DiscountAmt)
Set Discount Amount.

Specified by:
setDiscountAmt in interface I_C_PaySelectionLine
Parameters:
DiscountAmt - Calculated amount of discount

getDiscountAmt

public BigDecimal getDiscountAmt()
Get Discount Amount.

Specified by:
getDiscountAmt in interface I_C_PaySelectionLine
Returns:
Calculated amount of discount

setIsManual

public void setIsManual(boolean IsManual)
Set Manual.

Specified by:
setIsManual in interface I_C_PaySelectionLine
Parameters:
IsManual - This is a manual process

isManual

public boolean isManual()
Get Manual.

Specified by:
isManual in interface I_C_PaySelectionLine
Returns:
This is a manual process

setIsSOTrx

public void setIsSOTrx(boolean IsSOTrx)
Set Sales Transaction.

Specified by:
setIsSOTrx in interface I_C_PaySelectionLine
Parameters:
IsSOTrx - This is a Sales Transaction

isSOTrx

public boolean isSOTrx()
Get Sales Transaction.

Specified by:
isSOTrx in interface I_C_PaySelectionLine
Returns:
This is a Sales Transaction

setLine

public void setLine(int Line)
Set Line No.

Specified by:
setLine in interface I_C_PaySelectionLine
Parameters:
Line - Unique line for this document

getLine

public int getLine()
Get Line No.

Specified by:
getLine in interface I_C_PaySelectionLine
Returns:
Unique line for this document

setOpenAmt

public void setOpenAmt(BigDecimal OpenAmt)
Set Open Amount.

Specified by:
setOpenAmt in interface I_C_PaySelectionLine
Parameters:
OpenAmt - Open item amount

getOpenAmt

public BigDecimal getOpenAmt()
Get Open Amount.

Specified by:
getOpenAmt in interface I_C_PaySelectionLine
Returns:
Open item amount

setPayAmt

public void setPayAmt(BigDecimal PayAmt)
Set Payment amount.

Specified by:
setPayAmt in interface I_C_PaySelectionLine
Parameters:
PayAmt - Amount being paid

getPayAmt

public BigDecimal getPayAmt()
Get Payment amount.

Specified by:
getPayAmt in interface I_C_PaySelectionLine
Returns:
Amount being paid

setPaymentRule

public void setPaymentRule(String PaymentRule)
Set Payment Rule.

Specified by:
setPaymentRule in interface I_C_PaySelectionLine
Parameters:
PaymentRule - How you pay the invoice

getPaymentRule

public String getPaymentRule()
Get Payment Rule.

Specified by:
getPaymentRule in interface I_C_PaySelectionLine
Returns:
How you pay the invoice

setProcessed

public void setProcessed(boolean Processed)
Set Processed.

Specified by:
setProcessed in interface I_C_PaySelectionLine
Parameters:
Processed - The document has been processed

isProcessed

public boolean isProcessed()
Get Processed.

Specified by:
isProcessed in interface I_C_PaySelectionLine
Returns:
The document has been processed

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.