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
Generated Model for C_PaymentAllocate
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
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, UUID_NEW_RECORD, 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
ConstructorDescriptionX_C_PaymentAllocate
(Properties ctx, int C_PaymentAllocate_ID, String trxName) Standard ConstructorX_C_PaymentAllocate
(Properties ctx, int C_PaymentAllocate_ID, String trxName, String... virtualColumns) Standard ConstructorX_C_PaymentAllocate
(Properties ctx, String C_PaymentAllocate_UU, String trxName) Standard ConstructorX_C_PaymentAllocate
(Properties ctx, String C_PaymentAllocate_UU, String trxName, String... virtualColumns) Standard ConstructorX_C_PaymentAllocate
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelGet Amount.int
Get Allocation Line.int
Get Invoice.int
Get Payment.int
Get Allocate Payment.Get C_PaymentAllocate_UU.Get Discount Amount.Get Invoice Amt.Get Record ID/ColumnNameGet Over/Under Payment.Get Remaining Amt.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.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_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 Details
-
X_C_PaymentAllocate
Standard Constructor -
X_C_PaymentAllocate
public X_C_PaymentAllocate(Properties ctx, int C_PaymentAllocate_ID, String trxName, String... virtualColumns) Standard Constructor -
X_C_PaymentAllocate
Standard Constructor -
X_C_PaymentAllocate
public X_C_PaymentAllocate(Properties ctx, String C_PaymentAllocate_UU, String trxName, String... virtualColumns) Standard Constructor -
X_C_PaymentAllocate
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 -
setAmount
Set Amount.- Specified by:
setAmount
in interfaceI_C_PaymentAllocate
- Parameters:
Amount
- Amount in a defined currency
-
getAmount
Get Amount.- Specified by:
getAmount
in interfaceI_C_PaymentAllocate
- Returns:
- Amount in a defined currency
-
getC_AllocationLine
- 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
- 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
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
Set C_PaymentAllocate_UU.- Specified by:
setC_PaymentAllocate_UU
in interfaceI_C_PaymentAllocate
- Parameters:
C_PaymentAllocate_UU
- C_PaymentAllocate_UU
-
getC_PaymentAllocate_UU
Get C_PaymentAllocate_UU.- Specified by:
getC_PaymentAllocate_UU
in interfaceI_C_PaymentAllocate
- Returns:
- C_PaymentAllocate_UU
-
getC_Payment
- 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
Set Discount Amount.- Specified by:
setDiscountAmt
in interfaceI_C_PaymentAllocate
- Parameters:
DiscountAmt
- Calculated amount of discount
-
getDiscountAmt
Get Discount Amount.- Specified by:
getDiscountAmt
in interfaceI_C_PaymentAllocate
- Returns:
- Calculated amount of discount
-
setInvoiceAmt
Set Invoice Amt.- Specified by:
setInvoiceAmt
in interfaceI_C_PaymentAllocate
- Parameters:
InvoiceAmt
- Invoice Amt
-
getInvoiceAmt
Get Invoice Amt.- Specified by:
getInvoiceAmt
in interfaceI_C_PaymentAllocate
- Returns:
- Invoice Amt
-
setOverUnderAmt
Set Over/Under Payment.- Specified by:
setOverUnderAmt
in interfaceI_C_PaymentAllocate
- Parameters:
OverUnderAmt
- Over-Payment (unallocated) or Under-Payment (partial payment) Amount
-
getOverUnderAmt
Get Over/Under Payment.- Specified by:
getOverUnderAmt
in interfaceI_C_PaymentAllocate
- Returns:
- Over-Payment (unallocated) or Under-Payment (partial payment) Amount
-
setRemainingAmt
Set Remaining Amt.- Specified by:
setRemainingAmt
in interfaceI_C_PaymentAllocate
- Parameters:
RemainingAmt
- Remaining Amount
-
getRemainingAmt
Get Remaining Amt.- Specified by:
getRemainingAmt
in interfaceI_C_PaymentAllocate
- Returns:
- Remaining Amount
-
setWriteOffAmt
Set Write-off Amount.- Specified by:
setWriteOffAmt
in interfaceI_C_PaymentAllocate
- Parameters:
WriteOffAmt
- Amount to write-off
-
getWriteOffAmt
Get Write-off Amount.- Specified by:
getWriteOffAmt
in interfaceI_C_PaymentAllocate
- Returns:
- Amount to write-off
-