Package org.compiere.model
Class X_C_PaymentAllocate
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_C_PaymentAllocate
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_C_PaymentAllocate
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MPaymentAllocate
public class X_C_PaymentAllocate extends PO implements I_C_PaymentAllocate, I_Persistent
Generated Model for C_PaymentAllocate- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
-
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, LOCAL_TRX_PREFIX, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
-
Fields inherited from interface org.compiere.model.I_C_PaymentAllocate
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_Amount, COLUMNNAME_C_AllocationLine_ID, COLUMNNAME_C_Invoice_ID, COLUMNNAME_C_Payment_ID, COLUMNNAME_C_PaymentAllocate_ID, COLUMNNAME_C_PaymentAllocate_UU, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_DiscountAmt, COLUMNNAME_InvoiceAmt, COLUMNNAME_IsActive, COLUMNNAME_OverUnderAmt, COLUMNNAME_RemainingAmt, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_WriteOffAmt, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_C_PaymentAllocate(Properties ctx, int C_PaymentAllocate_ID, String trxName)
Standard ConstructorX_C_PaymentAllocate(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
get_AccessLevel()
AccessLevelBigDecimal
getAmount()
Get Amount.I_C_AllocationLine
getC_AllocationLine()
int
getC_AllocationLine_ID()
Get Allocation Line.I_C_Invoice
getC_Invoice()
int
getC_Invoice_ID()
Get Invoice.I_C_Payment
getC_Payment()
int
getC_Payment_ID()
Get Payment.int
getC_PaymentAllocate_ID()
Get Allocate Payment.String
getC_PaymentAllocate_UU()
Get C_PaymentAllocate_UU.BigDecimal
getDiscountAmt()
Get Discount Amount.BigDecimal
getInvoiceAmt()
Get Invoice Amt.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameBigDecimal
getOverUnderAmt()
Get Over/Under Payment.BigDecimal
getRemainingAmt()
Get Remaining Amt.BigDecimal
getWriteOffAmt()
Get Write-off Amount.protected POInfo
initPO(Properties ctx)
Load Meta Datavoid
setAmount(BigDecimal Amount)
Set Amount.void
setC_AllocationLine_ID(int C_AllocationLine_ID)
Set Allocation Line.void
setC_Invoice_ID(int C_Invoice_ID)
Set Invoice.void
setC_Payment_ID(int C_Payment_ID)
Set Payment.void
setC_PaymentAllocate_ID(int C_PaymentAllocate_ID)
Set Allocate Payment.void
setC_PaymentAllocate_UU(String C_PaymentAllocate_UU)
Set C_PaymentAllocate_UU.void
setDiscountAmt(BigDecimal DiscountAmt)
Set Discount Amount.void
setInvoiceAmt(BigDecimal InvoiceAmt)
Set Invoice Amt.void
setOverUnderAmt(BigDecimal OverUnderAmt)
Set Over/Under Payment.void
setRemainingAmt(BigDecimal RemainingAmt)
Set Remaining Amt.void
setWriteOffAmt(BigDecimal WriteOffAmt)
Set Write-off Amount.String
toString()
String representation-
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, 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_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, 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, load, loadByUU, loadComplete, loadDefaults, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, 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, 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_PaymentAllocate
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
-
-
-
-
Constructor Detail
-
X_C_PaymentAllocate
public X_C_PaymentAllocate(Properties ctx, int C_PaymentAllocate_ID, String trxName)
Standard Constructor
-
X_C_PaymentAllocate
public X_C_PaymentAllocate(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
-
Method Detail
-
get_AccessLevel
protected int get_AccessLevel()
AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 1 - Org
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
setAmount
public void setAmount(BigDecimal Amount)
Set Amount.- Specified by:
setAmount
in interfaceI_C_PaymentAllocate
- Parameters:
Amount
- Amount in a defined currency
-
getAmount
public BigDecimal getAmount()
Get Amount.- Specified by:
getAmount
in interfaceI_C_PaymentAllocate
- Returns:
- Amount in a defined currency
-
getC_AllocationLine
public I_C_AllocationLine getC_AllocationLine() throws RuntimeException
- Specified by:
getC_AllocationLine
in interfaceI_C_PaymentAllocate
- Throws:
RuntimeException
-
setC_AllocationLine_ID
public void setC_AllocationLine_ID(int C_AllocationLine_ID)
Set Allocation Line.- Specified by:
setC_AllocationLine_ID
in interfaceI_C_PaymentAllocate
- Parameters:
C_AllocationLine_ID
- Allocation Line
-
getC_AllocationLine_ID
public int getC_AllocationLine_ID()
Get Allocation Line.- Specified by:
getC_AllocationLine_ID
in interfaceI_C_PaymentAllocate
- Returns:
- Allocation Line
-
getC_Invoice
public I_C_Invoice getC_Invoice() throws RuntimeException
- Specified by:
getC_Invoice
in interfaceI_C_PaymentAllocate
- Throws:
RuntimeException
-
setC_Invoice_ID
public void setC_Invoice_ID(int C_Invoice_ID)
Set Invoice.- Specified by:
setC_Invoice_ID
in interfaceI_C_PaymentAllocate
- Parameters:
C_Invoice_ID
- Invoice Identifier
-
getC_Invoice_ID
public int getC_Invoice_ID()
Get Invoice.- Specified by:
getC_Invoice_ID
in interfaceI_C_PaymentAllocate
- Returns:
- Invoice Identifier
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setC_PaymentAllocate_ID
public void setC_PaymentAllocate_ID(int C_PaymentAllocate_ID)
Set Allocate Payment.- Specified by:
setC_PaymentAllocate_ID
in interfaceI_C_PaymentAllocate
- Parameters:
C_PaymentAllocate_ID
- Allocate Payment to Invoices
-
getC_PaymentAllocate_ID
public int getC_PaymentAllocate_ID()
Get Allocate Payment.- Specified by:
getC_PaymentAllocate_ID
in interfaceI_C_PaymentAllocate
- Returns:
- Allocate Payment to Invoices
-
setC_PaymentAllocate_UU
public void setC_PaymentAllocate_UU(String C_PaymentAllocate_UU)
Set C_PaymentAllocate_UU.- Specified by:
setC_PaymentAllocate_UU
in interfaceI_C_PaymentAllocate
- Parameters:
C_PaymentAllocate_UU
- C_PaymentAllocate_UU
-
getC_PaymentAllocate_UU
public String getC_PaymentAllocate_UU()
Get C_PaymentAllocate_UU.- Specified by:
getC_PaymentAllocate_UU
in interfaceI_C_PaymentAllocate
- Returns:
- C_PaymentAllocate_UU
-
getC_Payment
public I_C_Payment getC_Payment() throws RuntimeException
- Specified by:
getC_Payment
in interfaceI_C_PaymentAllocate
- Throws:
RuntimeException
-
setC_Payment_ID
public void setC_Payment_ID(int C_Payment_ID)
Set Payment.- Specified by:
setC_Payment_ID
in interfaceI_C_PaymentAllocate
- Parameters:
C_Payment_ID
- Payment identifier
-
getC_Payment_ID
public int getC_Payment_ID()
Get Payment.- Specified by:
getC_Payment_ID
in interfaceI_C_PaymentAllocate
- Returns:
- Payment identifier
-
setDiscountAmt
public void setDiscountAmt(BigDecimal DiscountAmt)
Set Discount Amount.- Specified by:
setDiscountAmt
in interfaceI_C_PaymentAllocate
- Parameters:
DiscountAmt
- Calculated amount of discount
-
getDiscountAmt
public BigDecimal getDiscountAmt()
Get Discount Amount.- Specified by:
getDiscountAmt
in interfaceI_C_PaymentAllocate
- Returns:
- Calculated amount of discount
-
setInvoiceAmt
public void setInvoiceAmt(BigDecimal InvoiceAmt)
Set Invoice Amt.- Specified by:
setInvoiceAmt
in interfaceI_C_PaymentAllocate
- Parameters:
InvoiceAmt
- Invoice Amt
-
getInvoiceAmt
public BigDecimal getInvoiceAmt()
Get Invoice Amt.- Specified by:
getInvoiceAmt
in interfaceI_C_PaymentAllocate
- Returns:
- Invoice Amt
-
setOverUnderAmt
public void setOverUnderAmt(BigDecimal OverUnderAmt)
Set Over/Under Payment.- Specified by:
setOverUnderAmt
in interfaceI_C_PaymentAllocate
- Parameters:
OverUnderAmt
- Over-Payment (unallocated) or Under-Payment (partial payment) Amount
-
getOverUnderAmt
public BigDecimal getOverUnderAmt()
Get Over/Under Payment.- Specified by:
getOverUnderAmt
in interfaceI_C_PaymentAllocate
- Returns:
- Over-Payment (unallocated) or Under-Payment (partial payment) Amount
-
setRemainingAmt
public void setRemainingAmt(BigDecimal RemainingAmt)
Set Remaining Amt.- Specified by:
setRemainingAmt
in interfaceI_C_PaymentAllocate
- Parameters:
RemainingAmt
- Remaining Amount
-
getRemainingAmt
public BigDecimal getRemainingAmt()
Get Remaining Amt.- Specified by:
getRemainingAmt
in interfaceI_C_PaymentAllocate
- Returns:
- Remaining Amount
-
setWriteOffAmt
public void setWriteOffAmt(BigDecimal WriteOffAmt)
Set Write-off Amount.- Specified by:
setWriteOffAmt
in interfaceI_C_PaymentAllocate
- Parameters:
WriteOffAmt
- Amount to write-off
-
getWriteOffAmt
public BigDecimal getWriteOffAmt()
Get Write-off Amount.- Specified by:
getWriteOffAmt
in interfaceI_C_PaymentAllocate
- Returns:
- Amount to write-off
-
-