Compiere 3.1

org.compiere.model
Class X_C_Payment

java.lang.Object
  extended by org.compiere.framework.PO
      extended by org.compiere.model.X_C_Payment
All Implemented Interfaces:
Serializable, Cloneable, Comparator<PO>, Evaluatee
Direct Known Subclasses:
MPayment

public class X_C_Payment
extends PO

Generated Model for C_Payment

Version:
Release 3.1.0 - $Id$
Author:
Jorg Janke (generated)
See Also:
Serialized Form

Field Summary
protected  BigDecimal accessLevel
           
static int AD_ORGTRX_ID_AD_Reference_ID
          AD_OrgTrx_ID AD_Reference_ID=130
static int CREDITCARDTYPE_AD_Reference_ID
          CreditCardType AD_Reference_ID=149
static String CREDITCARDTYPE_Amex
          Amex = A
static String CREDITCARDTYPE_ATM
          ATM = C
static String CREDITCARDTYPE_Diners
          Diners = D
static String CREDITCARDTYPE_Discover
          Discover = N
static String CREDITCARDTYPE_MasterCard
          MasterCard = M
static String CREDITCARDTYPE_PurchaseCard
          Purchase Card = P
static String CREDITCARDTYPE_Visa
          Visa = V
static int DOCACTION_AD_Reference_ID
          DocAction AD_Reference_ID=135
static String DOCACTION_Approve
          Approve = AP
static String DOCACTION_Close
          Close = CL
static String DOCACTION_Complete
          Complete = CO
static String DOCACTION_Invalidate
          Invalidate = IN
static String DOCACTION_None
           = --
static String DOCACTION_Post
          Post = PO
static String DOCACTION_Prepare
          Prepare = PR
static String DOCACTION_Re_Activate
          Re-activate = RE
static String DOCACTION_Reject
          Reject = RJ
static String DOCACTION_Reverse_Accrual
          Reverse - Accrual = RA
static String DOCACTION_Reverse_Correct
          Reverse - Correct = RC
static String DOCACTION_Unlock
          Unlock = XL
static String DOCACTION_Void
          Void = VO
static String DOCACTION_WaitComplete
          Wait Complete = WC
static int DOCSTATUS_AD_Reference_ID
          DocStatus AD_Reference_ID=131
static String DOCSTATUS_Approved
          Approved = AP
static String DOCSTATUS_Closed
          Closed = CL
static String DOCSTATUS_Completed
          Completed = CO
static String DOCSTATUS_Drafted
          Drafted = DR
static String DOCSTATUS_InProgress
          In Progress = IP
static String DOCSTATUS_Invalid
          Invalid = IN
static String DOCSTATUS_NotApproved
          Not Approved = NA
static String DOCSTATUS_Reversed
          Reversed = RE
static String DOCSTATUS_Unknown
          Unknown = ??
static String DOCSTATUS_Voided
          Voided = VO
static String DOCSTATUS_WaitingConfirmation
          Waiting Confirmation = WC
static String DOCSTATUS_WaitingPayment
          Waiting Payment = WP
protected static KeyNamePair Model
           
static int R_AVSADDR_AD_Reference_ID
          R_AvsAddr AD_Reference_ID=213
static String R_AVSADDR_Match
          Match = Y
static String R_AVSADDR_NoMatch
          No Match = N
static String R_AVSADDR_Unavailable
          Unavailable = X
static int R_AVSZIP_AD_Reference_ID
          R_AvsZip AD_Reference_ID=213
static String R_AVSZIP_Match
          Match = Y
static String R_AVSZIP_NoMatch
          No Match = N
static String R_AVSZIP_Unavailable
          Unavailable = X
static int REF_PAYMENT_ID_AD_Reference_ID
          Ref_Payment_ID AD_Reference_ID=343
static int Table_ID
          AD_Table_ID=335
static String Table_Name
          TableName=C_Payment
static int TENDERTYPE_AD_Reference_ID
          TenderType AD_Reference_ID=214
static String TENDERTYPE_Check
          Check = K
static String TENDERTYPE_CreditCard
          Credit Card = C
static String TENDERTYPE_DirectDebit
          Direct Debit = D
static String TENDERTYPE_DirectDeposit
          Direct Deposit = A
static int TRXTYPE_AD_Reference_ID
          TrxType AD_Reference_ID=215
static String TRXTYPE_Authorization
          Authorization = A
static String TRXTYPE_CreditPayment
          Credit (Payment) = C
static String TRXTYPE_DelayedCapture
          Delayed Capture = D
static String TRXTYPE_Sales
          Sales = S
static String TRXTYPE_VoiceAuthorization
          Voice Authorization = F
static String TRXTYPE_Void
          Void = V
static long updatedMS
          Last Updated Timestamp 2008-06-10 15:12:06.0
static int USER1_ID_AD_Reference_ID
          User1_ID AD_Reference_ID=134
static int USER2_ID_AD_Reference_ID
          User2_ID AD_Reference_ID=137
 
Fields inherited from class org.compiere.framework.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_changeVO, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
 
Constructor Summary
X_C_Payment(Ctx ctx, int C_Payment_ID, String trxName)
          Standard Constructor
X_C_Payment(Ctx ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 String getA_City()
          Get Account City.
 String getA_Country()
          Get Account Country.
 String getA_EMail()
          Get Account EMail.
 String getA_Ident_DL()
          Get Driver License.
 String getA_Ident_SSN()
          Get Social Security No.
 String getA_Name()
          Get Account Name.
 String getA_State()
          Get Account State.
 String getA_Street()
          Get Account Street.
 String getA_Zip()
          Get Account Zip/Postal.
 String getAccountNo()
          Get Account No.
 int getAD_OrgTrx_ID()
          Get Trx Organization.
 int getC_Activity_ID()
          Get Activity.
 int getC_BankAccount_ID()
          Get Bank Account.
 int getC_BP_BankAccount_ID()
          Get Partner Bank Account.
 int getC_BPartner_ID()
          Get Business Partner.
 int getC_Campaign_ID()
          Get Campaign.
 int getC_Charge_ID()
          Get Charge.
 int getC_ConversionType_ID()
          Get Currency Type.
 int getC_Currency_ID()
          Get Currency.
 int getC_DocType_ID()
          Get Document Type.
 int getC_Invoice_ID()
          Get Invoice.
 int getC_Order_ID()
          Get Order.
 int getC_Payment_ID()
          Get Payment.
 int getC_PaymentBatch_ID()
          Get Payment Batch.
 int getC_Project_ID()
          Get Project.
 BigDecimal getChargeAmt()
          Get Charge amount.
 String getCheckNo()
          Get Check No.
 int getCreditCardExpMM()
          Get Exp.
 int getCreditCardExpYY()
          Get Exp.
 String getCreditCardNumber()
          Get Number.
 String getCreditCardType()
          Get Credit Card.
 Timestamp getDateAcct()
          Get Account Date.
 Timestamp getDateTrx()
          Get Transaction Date.
 String getDescription()
          Get Description.
 BigDecimal getDiscountAmt()
          Get Discount Amount.
 String getDocAction()
          Get Document Action.
 String getDocStatus()
          Get Document Status.
 String getDocumentNo()
          Get Document No.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 String getMicr()
          Get Micr.
 String getOProcessing()
          Get Online Processing.
 String getOrig_TrxID()
          Get Original Transaction ID.
 BigDecimal getOverUnderAmt()
          Get Over/Under Payment.
 BigDecimal getPayAmt()
          Get Payment amount.
 String getPONum()
          Get PO Number.
 String getR_AuthCode_DC()
          Get Authorization Code (DC).
 String getR_AuthCode()
          Get Authorization Code.
 String getR_AvsAddr()
          Get Address verified.
 String getR_AvsZip()
          Get Zip verified.
 String getR_Info()
          Get Info.
 String getR_PnRef_DC()
          Get Reference (DC).
 String getR_PnRef()
          Get Reference.
 String getR_RespMsg()
          Get Response Message.
 String getR_Result()
          Get Result.
 int getRef_Payment_ID()
          Get Referenced Payment.
 String getRoutingNo()
          Get Routing No.
 String getSwipe()
          Get Swipe.
 BigDecimal getTaxAmt()
          Get Tax Amount.
 String getTenderType()
          Get Tender type.
 String getTrxType()
          Get Transaction Type.
 int getUser1_ID()
          Get User List 1.
 int getUser2_ID()
          Get User List 2.
 String getVoiceAuthCode()
          Get Voice authorization code.
 BigDecimal getWriteOffAmt()
          Get Write-off Amount.
protected  POInfo initPO(Ctx ctx)
          Load Meta Data
 boolean isAllocated()
          Get Allocated.
 boolean isApproved()
          Get Approved.
 boolean isCreditCardTypeValid(String test)
          Is test a valid value.
 boolean isDelayedCapture()
          Get Delayed Capture.
 boolean isDocActionValid(String test)
          Is test a valid value.
 boolean isDocStatusValid(String test)
          Is test a valid value.
 boolean isOnline()
          Get Online Access.
 boolean isOverUnderPayment()
          Get Over/Under Payment.
 boolean isPosted()
          Get Posted.
 boolean isPrepayment()
          Get Prepayment.
 boolean isProcessed()
          Get Processed.
 boolean isProcessing()
          Get Process Now.
 boolean isR_AvsAddrValid(String test)
          Is test a valid value.
 boolean isR_AvsZipValid(String test)
          Is test a valid value.
 boolean isR_CVV2Match()
          Get CVV Match.
 boolean isReceipt()
          Get Receipt.
 boolean isReconciled()
          Get Reconciled.
 boolean isSelfService()
          Get Self-Service.
 boolean isTenderTypeValid(String test)
          Is test a valid value.
 boolean isTrxTypeValid(String test)
          Is test a valid value.
 void setA_City(String A_City)
          Set Account City.
 void setA_Country(String A_Country)
          Set Account Country.
 void setA_EMail(String A_EMail)
          Set Account EMail.
 void setA_Ident_DL(String A_Ident_DL)
          Set Driver License.
 void setA_Ident_SSN(String A_Ident_SSN)
          Set Social Security No.
 void setA_Name(String A_Name)
          Set Account Name.
 void setA_State(String A_State)
          Set Account State.
 void setA_Street(String A_Street)
          Set Account Street.
 void setA_Zip(String A_Zip)
          Set Account Zip/Postal.
 void setAccountNo(String AccountNo)
          Set Account No.
 void setAD_OrgTrx_ID(int AD_OrgTrx_ID)
          Set Trx Organization.
 void setC_Activity_ID(int C_Activity_ID)
          Set Activity.
 void setC_BankAccount_ID(int C_BankAccount_ID)
          Set Bank Account.
 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_Campaign_ID(int C_Campaign_ID)
          Set Campaign.
 void setC_Charge_ID(int C_Charge_ID)
          Set Charge.
 void setC_ConversionType_ID(int C_ConversionType_ID)
          Set Currency Type.
 void setC_Currency_ID(int C_Currency_ID)
          Set Currency.
 void setC_DocType_ID(int C_DocType_ID)
          Set Document Type.
 void setC_Invoice_ID(int C_Invoice_ID)
          Set Invoice.
 void setC_Order_ID(int C_Order_ID)
          Set Order.
 void setC_Payment_ID(int C_Payment_ID)
          Set Payment.
 void setC_PaymentBatch_ID(int C_PaymentBatch_ID)
          Set Payment Batch.
 void setC_Project_ID(int C_Project_ID)
          Set Project.
 void setChargeAmt(BigDecimal ChargeAmt)
          Set Charge amount.
 void setCheckNo(String CheckNo)
          Set Check No.
 void setCreditCardExpMM(int CreditCardExpMM)
          Set Exp.
 void setCreditCardExpYY(int CreditCardExpYY)
          Set Exp.
 void setCreditCardNumber(String CreditCardNumber)
          Set Number.
 void setCreditCardType(String CreditCardType)
          Set Credit Card.
 void setDateAcct(Timestamp DateAcct)
          Set Account Date.
 void setDateTrx(Timestamp DateTrx)
          Set Transaction Date.
 void setDescription(String Description)
          Set Description.
 void setDiscountAmt(BigDecimal DiscountAmt)
          Set Discount Amount.
 void setDocAction(String DocAction)
          Set Document Action.
 void setDocStatus(String DocStatus)
          Set Document Status.
 void setDocumentNo(String DocumentNo)
          Set Document No.
 void setIsAllocated(boolean IsAllocated)
          Set Allocated.
 void setIsApproved(boolean IsApproved)
          Set Approved.
 void setIsDelayedCapture(boolean IsDelayedCapture)
          Set Delayed Capture.
 void setIsOnline(boolean IsOnline)
          Set Online Access.
 void setIsOverUnderPayment(boolean IsOverUnderPayment)
          Set Over/Under Payment.
 void setIsPrepayment(boolean IsPrepayment)
          Set Prepayment.
 void setIsReceipt(boolean IsReceipt)
          Set Receipt.
 void setIsReconciled(boolean IsReconciled)
          Set Reconciled.
 void setIsSelfService(boolean IsSelfService)
          Set Self-Service.
 void setMicr(String Micr)
          Set Micr.
 void setOProcessing(String OProcessing)
          Set Online Processing.
 void setOrig_TrxID(String Orig_TrxID)
          Set Original Transaction ID.
 void setOverUnderAmt(BigDecimal OverUnderAmt)
          Set Over/Under Payment.
 void setPayAmt(BigDecimal PayAmt)
          Set Payment amount.
 void setPONum(String PONum)
          Set PO Number.
 void setPosted(boolean Posted)
          Set Posted.
 void setProcessed(boolean Processed)
          Set Processed.
 void setProcessing(boolean Processing)
          Set Process Now.
 void setR_AuthCode_DC(String R_AuthCode_DC)
          Set Authorization Code (DC).
 void setR_AuthCode(String R_AuthCode)
          Set Authorization Code.
 void setR_AvsAddr(String R_AvsAddr)
          Set Address verified.
 void setR_AvsZip(String R_AvsZip)
          Set Zip verified.
 void setR_CVV2Match(boolean R_CVV2Match)
          Set CVV Match.
 void setR_Info(String R_Info)
          Set Info.
 void setR_PnRef_DC(String R_PnRef_DC)
          Set Reference (DC).
 void setR_PnRef(String R_PnRef)
          Set Reference.
 void setR_RespMsg(String R_RespMsg)
          Set Response Message.
 void setR_Result(String R_Result)
          Set Result.
 void setRef_Payment_ID(int Ref_Payment_ID)
          Set Referenced Payment.
 void setRoutingNo(String RoutingNo)
          Set Routing No.
 void setSwipe(String Swipe)
          Set Swipe.
 void setTaxAmt(BigDecimal TaxAmt)
          Set Tax Amount.
 void setTenderType(String TenderType)
          Set Tender type.
 void setTrxType(String TrxType)
          Set Transaction Type.
 void setUser1_ID(int User1_ID)
          Set User List 1.
 void setUser2_ID(int User2_ID)
          Set User List 2.
 void setVoiceAuthCode(String VoiceAuthCode)
          Set Voice authorization code.
 void setWriteOffAmt(BigDecimal WriteOffAmt)
          Set Write-off Amount.
 String toString()
          Info
 
Methods inherited from class org.compiere.framework.PO
addAttachment, addAttachment, addError, afterDelete, afterSave, beforeDelete, beforeSave, compare, convertToBigDecimal, convertToBoolean, convertToInt, convertToTimestamp, copy, copyValues, copyValues, createAttachment, delete_Accounting, delete, delete, dump, dump, equals, get_ChangeVO, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_EntityType, get_HashMap, get_ID, get_IDOld, get_Info, get_KeyColumns, get_Logger, get_Table_ID, get_Table_ID, get_TableName, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_ValuesAsString, get_WhereClause, get_xmlDocument, get_xmlString, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getVO, hashCode, insert_Accounting, is_Changed, is_KeyColumn, is_new, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, load, load, load, load, loadComplete, loadDefaults, loadSpecial, lock, save, save, saveNew_getID, saveNewInsertSQL, saveNewSpecial, saveUpdate, set_ChangeVO, set_ColumnUpdateable, set_CustomColumn, set_TrxName, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueString, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setContext, setCtx, setDocWorkflowMgr, setIsActive, setStandardDefaults, setUpdateable, setUpdatedBy, toStringX, unlock, update
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

updatedMS

public static final long updatedMS
Last Updated Timestamp 2008-06-10 15:12:06.0

See Also:
Constant Field Values

Table_ID

public static final int Table_ID
AD_Table_ID=335

See Also:
Constant Field Values

Table_Name

public static final String Table_Name
TableName=C_Payment

See Also:
Constant Field Values

Model

protected static KeyNamePair Model

accessLevel

protected BigDecimal accessLevel

AD_ORGTRX_ID_AD_Reference_ID

public static final int AD_ORGTRX_ID_AD_Reference_ID
AD_OrgTrx_ID AD_Reference_ID=130

See Also:
Constant Field Values

CREDITCARDTYPE_AD_Reference_ID

public static final int CREDITCARDTYPE_AD_Reference_ID
CreditCardType AD_Reference_ID=149

See Also:
Constant Field Values

CREDITCARDTYPE_Amex

public static final String CREDITCARDTYPE_Amex
Amex = A

See Also:
Constant Field Values

CREDITCARDTYPE_ATM

public static final String CREDITCARDTYPE_ATM
ATM = C

See Also:
Constant Field Values

CREDITCARDTYPE_Diners

public static final String CREDITCARDTYPE_Diners
Diners = D

See Also:
Constant Field Values

CREDITCARDTYPE_MasterCard

public static final String CREDITCARDTYPE_MasterCard
MasterCard = M

See Also:
Constant Field Values

CREDITCARDTYPE_Discover

public static final String CREDITCARDTYPE_Discover
Discover = N

See Also:
Constant Field Values

CREDITCARDTYPE_PurchaseCard

public static final String CREDITCARDTYPE_PurchaseCard
Purchase Card = P

See Also:
Constant Field Values

CREDITCARDTYPE_Visa

public static final String CREDITCARDTYPE_Visa
Visa = V

See Also:
Constant Field Values

DOCACTION_AD_Reference_ID

public static final int DOCACTION_AD_Reference_ID
DocAction AD_Reference_ID=135

See Also:
Constant Field Values

DOCACTION_None

public static final String DOCACTION_None
= --

See Also:
Constant Field Values

DOCACTION_Approve

public static final String DOCACTION_Approve
Approve = AP

See Also:
Constant Field Values

DOCACTION_Close

public static final String DOCACTION_Close
Close = CL

See Also:
Constant Field Values

DOCACTION_Complete

public static final String DOCACTION_Complete
Complete = CO

See Also:
Constant Field Values

DOCACTION_Invalidate

public static final String DOCACTION_Invalidate
Invalidate = IN

See Also:
Constant Field Values

DOCACTION_Post

public static final String DOCACTION_Post
Post = PO

See Also:
Constant Field Values

DOCACTION_Prepare

public static final String DOCACTION_Prepare
Prepare = PR

See Also:
Constant Field Values

DOCACTION_Reverse_Accrual

public static final String DOCACTION_Reverse_Accrual
Reverse - Accrual = RA

See Also:
Constant Field Values

DOCACTION_Reverse_Correct

public static final String DOCACTION_Reverse_Correct
Reverse - Correct = RC

See Also:
Constant Field Values

DOCACTION_Re_Activate

public static final String DOCACTION_Re_Activate
Re-activate = RE

See Also:
Constant Field Values

DOCACTION_Reject

public static final String DOCACTION_Reject
Reject = RJ

See Also:
Constant Field Values

DOCACTION_Void

public static final String DOCACTION_Void
Void = VO

See Also:
Constant Field Values

DOCACTION_WaitComplete

public static final String DOCACTION_WaitComplete
Wait Complete = WC

See Also:
Constant Field Values

DOCACTION_Unlock

public static final String DOCACTION_Unlock
Unlock = XL

See Also:
Constant Field Values

DOCSTATUS_AD_Reference_ID

public static final int DOCSTATUS_AD_Reference_ID
DocStatus AD_Reference_ID=131

See Also:
Constant Field Values

DOCSTATUS_Unknown

public static final String DOCSTATUS_Unknown
Unknown = ??

See Also:
Constant Field Values

DOCSTATUS_Approved

public static final String DOCSTATUS_Approved
Approved = AP

See Also:
Constant Field Values

DOCSTATUS_Closed

public static final String DOCSTATUS_Closed
Closed = CL

See Also:
Constant Field Values

DOCSTATUS_Completed

public static final String DOCSTATUS_Completed
Completed = CO

See Also:
Constant Field Values

DOCSTATUS_Drafted

public static final String DOCSTATUS_Drafted
Drafted = DR

See Also:
Constant Field Values

DOCSTATUS_Invalid

public static final String DOCSTATUS_Invalid
Invalid = IN

See Also:
Constant Field Values

DOCSTATUS_InProgress

public static final String DOCSTATUS_InProgress
In Progress = IP

See Also:
Constant Field Values

DOCSTATUS_NotApproved

public static final String DOCSTATUS_NotApproved
Not Approved = NA

See Also:
Constant Field Values

DOCSTATUS_Reversed

public static final String DOCSTATUS_Reversed
Reversed = RE

See Also:
Constant Field Values

DOCSTATUS_Voided

public static final String DOCSTATUS_Voided
Voided = VO

See Also:
Constant Field Values

DOCSTATUS_WaitingConfirmation

public static final String DOCSTATUS_WaitingConfirmation
Waiting Confirmation = WC

See Also:
Constant Field Values

DOCSTATUS_WaitingPayment

public static final String DOCSTATUS_WaitingPayment
Waiting Payment = WP

See Also:
Constant Field Values

R_AVSADDR_AD_Reference_ID

public static final int R_AVSADDR_AD_Reference_ID
R_AvsAddr AD_Reference_ID=213

See Also:
Constant Field Values

R_AVSADDR_NoMatch

public static final String R_AVSADDR_NoMatch
No Match = N

See Also:
Constant Field Values

R_AVSADDR_Unavailable

public static final String R_AVSADDR_Unavailable
Unavailable = X

See Also:
Constant Field Values

R_AVSADDR_Match

public static final String R_AVSADDR_Match
Match = Y

See Also:
Constant Field Values

R_AVSZIP_AD_Reference_ID

public static final int R_AVSZIP_AD_Reference_ID
R_AvsZip AD_Reference_ID=213

See Also:
Constant Field Values

R_AVSZIP_NoMatch

public static final String R_AVSZIP_NoMatch
No Match = N

See Also:
Constant Field Values

R_AVSZIP_Unavailable

public static final String R_AVSZIP_Unavailable
Unavailable = X

See Also:
Constant Field Values

R_AVSZIP_Match

public static final String R_AVSZIP_Match
Match = Y

See Also:
Constant Field Values

REF_PAYMENT_ID_AD_Reference_ID

public static final int REF_PAYMENT_ID_AD_Reference_ID
Ref_Payment_ID AD_Reference_ID=343

See Also:
Constant Field Values

TENDERTYPE_AD_Reference_ID

public static final int TENDERTYPE_AD_Reference_ID
TenderType AD_Reference_ID=214

See Also:
Constant Field Values

TENDERTYPE_DirectDeposit

public static final String TENDERTYPE_DirectDeposit
Direct Deposit = A

See Also:
Constant Field Values

TENDERTYPE_CreditCard

public static final String TENDERTYPE_CreditCard
Credit Card = C

See Also:
Constant Field Values

TENDERTYPE_DirectDebit

public static final String TENDERTYPE_DirectDebit
Direct Debit = D

See Also:
Constant Field Values

TENDERTYPE_Check

public static final String TENDERTYPE_Check
Check = K

See Also:
Constant Field Values

TRXTYPE_AD_Reference_ID

public static final int TRXTYPE_AD_Reference_ID
TrxType AD_Reference_ID=215

See Also:
Constant Field Values

TRXTYPE_Authorization

public static final String TRXTYPE_Authorization
Authorization = A

See Also:
Constant Field Values

TRXTYPE_CreditPayment

public static final String TRXTYPE_CreditPayment
Credit (Payment) = C

See Also:
Constant Field Values

TRXTYPE_DelayedCapture

public static final String TRXTYPE_DelayedCapture
Delayed Capture = D

See Also:
Constant Field Values

TRXTYPE_VoiceAuthorization

public static final String TRXTYPE_VoiceAuthorization
Voice Authorization = F

See Also:
Constant Field Values

TRXTYPE_Sales

public static final String TRXTYPE_Sales
Sales = S

See Also:
Constant Field Values

TRXTYPE_Void

public static final String TRXTYPE_Void
Void = V

See Also:
Constant Field Values

USER1_ID_AD_Reference_ID

public static final int USER1_ID_AD_Reference_ID
User1_ID AD_Reference_ID=134

See Also:
Constant Field Values

USER2_ID_AD_Reference_ID

public static final int USER2_ID_AD_Reference_ID
User2_ID AD_Reference_ID=137

See Also:
Constant Field Values
Constructor Detail

X_C_Payment

public X_C_Payment(Ctx ctx,
                   int C_Payment_ID,
                   String trxName)
Standard Constructor

Parameters:
ctx - context
C_Payment_ID - id
trxName - transaction

X_C_Payment

public X_C_Payment(Ctx ctx,
                   ResultSet rs,
                   String trxName)
Load Constructor

Parameters:
ctx - context
rs - result set
trxName - transaction
Method Detail

get_AccessLevel

protected int get_AccessLevel()
AccessLevel

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

initPO

protected POInfo initPO(Ctx ctx)
Load Meta Data

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

toString

public String toString()
Info

Overrides:
toString in class PO
Returns:
info

setAD_OrgTrx_ID

public void setAD_OrgTrx_ID(int AD_OrgTrx_ID)
Set Trx Organization.

Parameters:
AD_OrgTrx_ID - Performing or initiating organization

getAD_OrgTrx_ID

public int getAD_OrgTrx_ID()
Get Trx Organization.

Returns:
Performing or initiating organization

setA_City

public void setA_City(String A_City)
Set Account City.

Parameters:
A_City - City or the Credit Card or Account Holder

getA_City

public String getA_City()
Get Account City.

Returns:
City or the Credit Card or Account Holder

setA_Country

public void setA_Country(String A_Country)
Set Account Country.

Parameters:
A_Country - Country

getA_Country

public String getA_Country()
Get Account Country.

Returns:
Country

setA_EMail

public void setA_EMail(String A_EMail)
Set Account EMail.

Parameters:
A_EMail - Email Address

getA_EMail

public String getA_EMail()
Get Account EMail.

Returns:
Email Address

setA_Ident_DL

public void setA_Ident_DL(String A_Ident_DL)
Set Driver License.

Parameters:
A_Ident_DL - Payment Identification - Driver License

getA_Ident_DL

public String getA_Ident_DL()
Get Driver License.

Returns:
Payment Identification - Driver License

setA_Ident_SSN

public void setA_Ident_SSN(String A_Ident_SSN)
Set Social Security No.

Parameters:
A_Ident_SSN - Payment Identification - Social Security No

getA_Ident_SSN

public String getA_Ident_SSN()
Get Social Security No.

Returns:
Payment Identification - Social Security No

setA_Name

public void setA_Name(String A_Name)
Set Account Name.

Parameters:
A_Name - Name on Credit Card or Account holder

getA_Name

public String getA_Name()
Get Account Name.

Returns:
Name on Credit Card or Account holder

setA_State

public void setA_State(String A_State)
Set Account State.

Parameters:
A_State - State of the Credit Card or Account holder

getA_State

public String getA_State()
Get Account State.

Returns:
State of the Credit Card or Account holder

setA_Street

public void setA_Street(String A_Street)
Set Account Street.

Parameters:
A_Street - Street address of the Credit Card or Account holder

getA_Street

public String getA_Street()
Get Account Street.

Returns:
Street address of the Credit Card or Account holder

setA_Zip

public void setA_Zip(String A_Zip)
Set Account Zip/Postal.

Parameters:
A_Zip - Zip Code of the Credit Card or Account Holder

getA_Zip

public String getA_Zip()
Get Account Zip/Postal.

Returns:
Zip Code of the Credit Card or Account Holder

setAccountNo

public void setAccountNo(String AccountNo)
Set Account No.

Parameters:
AccountNo - Account Number

getAccountNo

public String getAccountNo()
Get Account No.

Returns:
Account Number

setC_Activity_ID

public void setC_Activity_ID(int C_Activity_ID)
Set Activity.

Parameters:
C_Activity_ID - Business Activity

getC_Activity_ID

public int getC_Activity_ID()
Get Activity.

Returns:
Business Activity

setC_BP_BankAccount_ID

public void setC_BP_BankAccount_ID(int C_BP_BankAccount_ID)
Set Partner Bank Account.

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.

Returns:
Bank Account of the Business Partner

setC_BPartner_ID

public void setC_BPartner_ID(int C_BPartner_ID)
Set Business Partner.

Parameters:
C_BPartner_ID - Identifies a Business Partner

getC_BPartner_ID

public int getC_BPartner_ID()
Get Business Partner.

Returns:
Identifies a Business Partner

setC_BankAccount_ID

public void setC_BankAccount_ID(int C_BankAccount_ID)
Set Bank Account.

Parameters:
C_BankAccount_ID - Account at the Bank

getC_BankAccount_ID

public int getC_BankAccount_ID()
Get Bank Account.

Returns:
Account at the Bank

setC_Campaign_ID

public void setC_Campaign_ID(int C_Campaign_ID)
Set Campaign.

Parameters:
C_Campaign_ID - Marketing Campaign

getC_Campaign_ID

public int getC_Campaign_ID()
Get Campaign.

Returns:
Marketing Campaign

setC_Charge_ID

public void setC_Charge_ID(int C_Charge_ID)
Set Charge.

Parameters:
C_Charge_ID - Additional document charges

getC_Charge_ID

public int getC_Charge_ID()
Get Charge.

Returns:
Additional document charges

setC_ConversionType_ID

public void setC_ConversionType_ID(int C_ConversionType_ID)
Set Currency Type.

Parameters:
C_ConversionType_ID - Currency Conversion Rate Type

getC_ConversionType_ID

public int getC_ConversionType_ID()
Get Currency Type.

Returns:
Currency Conversion Rate Type

setC_Currency_ID

public void setC_Currency_ID(int C_Currency_ID)
Set Currency.

Parameters:
C_Currency_ID - The Currency for this record

getC_Currency_ID

public int getC_Currency_ID()
Get Currency.

Returns:
The Currency for this record

setC_DocType_ID

public void setC_DocType_ID(int C_DocType_ID)
Set Document Type.

Parameters:
C_DocType_ID - Document type or rules

getC_DocType_ID

public int getC_DocType_ID()
Get Document Type.

Returns:
Document type or rules

setC_Invoice_ID

public void setC_Invoice_ID(int C_Invoice_ID)
Set Invoice.

Parameters:
C_Invoice_ID - Invoice Identifier

getC_Invoice_ID

public int getC_Invoice_ID()
Get Invoice.

Returns:
Invoice Identifier

setC_Order_ID

public void setC_Order_ID(int C_Order_ID)
Set Order.

Parameters:
C_Order_ID - Order

getC_Order_ID

public int getC_Order_ID()
Get Order.

Returns:
Order

setC_PaymentBatch_ID

public void setC_PaymentBatch_ID(int C_PaymentBatch_ID)
Set Payment Batch.

Parameters:
C_PaymentBatch_ID - Payment batch for EFT

getC_PaymentBatch_ID

public int getC_PaymentBatch_ID()
Get Payment Batch.

Returns:
Payment batch for EFT

setC_Payment_ID

public void setC_Payment_ID(int C_Payment_ID)
Set Payment.

Parameters:
C_Payment_ID - Payment identifier

getC_Payment_ID

public int getC_Payment_ID()
Get Payment.

Returns:
Payment identifier

setC_Project_ID

public void setC_Project_ID(int C_Project_ID)
Set Project.

Parameters:
C_Project_ID - Financial Project

getC_Project_ID

public int getC_Project_ID()
Get Project.

Returns:
Financial Project

setChargeAmt

public void setChargeAmt(BigDecimal ChargeAmt)
Set Charge amount.

Parameters:
ChargeAmt - Charge Amount

getChargeAmt

public BigDecimal getChargeAmt()
Get Charge amount.

Returns:
Charge Amount

setCheckNo

public void setCheckNo(String CheckNo)
Set Check No.

Parameters:
CheckNo - Check Number

getCheckNo

public String getCheckNo()
Get Check No.

Returns:
Check Number

setCreditCardExpMM

public void setCreditCardExpMM(int CreditCardExpMM)
Set Exp. Month.

Parameters:
CreditCardExpMM - Expiry Month

getCreditCardExpMM

public int getCreditCardExpMM()
Get Exp. Month.

Returns:
Expiry Month

setCreditCardExpYY

public void setCreditCardExpYY(int CreditCardExpYY)
Set Exp. Year.

Parameters:
CreditCardExpYY - Expiry Year

getCreditCardExpYY

public int getCreditCardExpYY()
Get Exp. Year.

Returns:
Expiry Year

setCreditCardNumber

public void setCreditCardNumber(String CreditCardNumber)
Set Number.

Parameters:
CreditCardNumber - Credit Card Number

getCreditCardNumber

public String getCreditCardNumber()
Get Number.

Returns:
Credit Card Number

isCreditCardTypeValid

public boolean isCreditCardTypeValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setCreditCardType

public void setCreditCardType(String CreditCardType)
Set Credit Card.

Parameters:
CreditCardType - Credit Card (Visa, MC, Amex)

getCreditCardType

public String getCreditCardType()
Get Credit Card.

Returns:
Credit Card (Visa, MC, Amex)

setDateAcct

public void setDateAcct(Timestamp DateAcct)
Set Account Date.

Parameters:
DateAcct - General Ledger Date

getDateAcct

public Timestamp getDateAcct()
Get Account Date.

Returns:
General Ledger Date

setDateTrx

public void setDateTrx(Timestamp DateTrx)
Set Transaction Date.

Parameters:
DateTrx - Transaction Date

getDateTrx

public Timestamp getDateTrx()
Get Transaction Date.

Returns:
Transaction Date

setDescription

public void setDescription(String Description)
Set Description.

Parameters:
Description - Optional short description of the record

getDescription

public String getDescription()
Get Description.

Returns:
Optional short description of the record

setDiscountAmt

public void setDiscountAmt(BigDecimal DiscountAmt)
Set Discount Amount.

Parameters:
DiscountAmt - Calculated amount of discount

getDiscountAmt

public BigDecimal getDiscountAmt()
Get Discount Amount.

Returns:
Calculated amount of discount

isDocActionValid

public boolean isDocActionValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setDocAction

public void setDocAction(String DocAction)
Set Document Action.

Parameters:
DocAction - The targeted status of the document

getDocAction

public String getDocAction()
Get Document Action.

Returns:
The targeted status of the document

isDocStatusValid

public boolean isDocStatusValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setDocStatus

public void setDocStatus(String DocStatus)
Set Document Status.

Parameters:
DocStatus - The current status of the document

getDocStatus

public String getDocStatus()
Get Document Status.

Returns:
The current status of the document

setDocumentNo

public void setDocumentNo(String DocumentNo)
Set Document No.

Parameters:
DocumentNo - Document sequence number of the document

getDocumentNo

public String getDocumentNo()
Get Document No.

Returns:
Document sequence number of the document

getKeyNamePair

public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName

Returns:
ID/ColumnName pair

setIsAllocated

public void setIsAllocated(boolean IsAllocated)
Set Allocated.

Parameters:
IsAllocated - Indicates if the payment has been allocated

isAllocated

public boolean isAllocated()
Get Allocated.

Returns:
Indicates if the payment has been allocated

setIsApproved

public void setIsApproved(boolean IsApproved)
Set Approved.

Parameters:
IsApproved - Indicates if this document requires approval

isApproved

public boolean isApproved()
Get Approved.

Returns:
Indicates if this document requires approval

setIsDelayedCapture

public void setIsDelayedCapture(boolean IsDelayedCapture)
Set Delayed Capture.

Parameters:
IsDelayedCapture - Charge after Shipment

isDelayedCapture

public boolean isDelayedCapture()
Get Delayed Capture.

Returns:
Charge after Shipment

setIsOnline

public void setIsOnline(boolean IsOnline)
Set Online Access.

Parameters:
IsOnline - Can be accessed online

isOnline

public boolean isOnline()
Get Online Access.

Returns:
Can be accessed online

setIsOverUnderPayment

public void setIsOverUnderPayment(boolean IsOverUnderPayment)
Set Over/Under Payment.

Parameters:
IsOverUnderPayment - Over-Payment (unallocated) or Under-Payment (partial payment)

isOverUnderPayment

public boolean isOverUnderPayment()
Get Over/Under Payment.

Returns:
Over-Payment (unallocated) or Under-Payment (partial payment)

setIsPrepayment

public void setIsPrepayment(boolean IsPrepayment)
Set Prepayment.

Parameters:
IsPrepayment - The Payment/Receipt is a Prepayment

isPrepayment

public boolean isPrepayment()
Get Prepayment.

Returns:
The Payment/Receipt is a Prepayment

setIsReceipt

public void setIsReceipt(boolean IsReceipt)
Set Receipt.

Parameters:
IsReceipt - This is a sales transaction (receipt)

isReceipt

public boolean isReceipt()
Get Receipt.

Returns:
This is a sales transaction (receipt)

setIsReconciled

public void setIsReconciled(boolean IsReconciled)
Set Reconciled.

Parameters:
IsReconciled - Payment is reconciled with bank statement

isReconciled

public boolean isReconciled()
Get Reconciled.

Returns:
Payment is reconciled with bank statement

setIsSelfService

public void setIsSelfService(boolean IsSelfService)
Set Self-Service.

Parameters:
IsSelfService - This is a Self-Service entry or this entry can be changed via Self-Service

isSelfService

public boolean isSelfService()
Get Self-Service.

Returns:
This is a Self-Service entry or this entry can be changed via Self-Service

setMicr

public void setMicr(String Micr)
Set Micr.

Parameters:
Micr - Combination of routing no, account and check no

getMicr

public String getMicr()
Get Micr.

Returns:
Combination of routing no, account and check no

setOProcessing

public void setOProcessing(String OProcessing)
Set Online Processing.

Parameters:
OProcessing - This payment can be processed online

getOProcessing

public String getOProcessing()
Get Online Processing.

Returns:
This payment can be processed online

setOrig_TrxID

public void setOrig_TrxID(String Orig_TrxID)
Set Original Transaction ID.

Parameters:
Orig_TrxID - Original Transaction ID

getOrig_TrxID

public String getOrig_TrxID()
Get Original Transaction ID.

Returns:
Original Transaction ID

setOverUnderAmt

public void setOverUnderAmt(BigDecimal OverUnderAmt)
Set Over/Under Payment.

Parameters:
OverUnderAmt - Over-Payment (unallocated) or Under-Payment (partial payment) Amount

getOverUnderAmt

public BigDecimal getOverUnderAmt()
Get Over/Under Payment.

Returns:
Over-Payment (unallocated) or Under-Payment (partial payment) Amount

setPONum

public void setPONum(String PONum)
Set PO Number.

Parameters:
PONum - Purchase Order Number

getPONum

public String getPONum()
Get PO Number.

Returns:
Purchase Order Number

setPayAmt

public void setPayAmt(BigDecimal PayAmt)
Set Payment amount.

Parameters:
PayAmt - Amount being paid

getPayAmt

public BigDecimal getPayAmt()
Get Payment amount.

Returns:
Amount being paid

setPosted

public void setPosted(boolean Posted)
Set Posted.

Parameters:
Posted - Posting status

isPosted

public boolean isPosted()
Get Posted.

Returns:
Posting status

setProcessed

public void setProcessed(boolean Processed)
Set Processed.

Parameters:
Processed - The document has been processed

isProcessed

public boolean isProcessed()
Get Processed.

Returns:
The document has been processed

setProcessing

public void setProcessing(boolean Processing)
Set Process Now.

Parameters:
Processing - Process Now

isProcessing

public boolean isProcessing()
Get Process Now.

Returns:
Process Now

setR_AuthCode

public void setR_AuthCode(String R_AuthCode)
Set Authorization Code.

Parameters:
R_AuthCode - Authorization Code returned

getR_AuthCode

public String getR_AuthCode()
Get Authorization Code.

Returns:
Authorization Code returned

setR_AuthCode_DC

public void setR_AuthCode_DC(String R_AuthCode_DC)
Set Authorization Code (DC).

Parameters:
R_AuthCode_DC - Authorization Code Delayed Capture returned

getR_AuthCode_DC

public String getR_AuthCode_DC()
Get Authorization Code (DC).

Returns:
Authorization Code Delayed Capture returned

isR_AvsAddrValid

public boolean isR_AvsAddrValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setR_AvsAddr

public void setR_AvsAddr(String R_AvsAddr)
Set Address verified.

Parameters:
R_AvsAddr - This address has been verified

getR_AvsAddr

public String getR_AvsAddr()
Get Address verified.

Returns:
This address has been verified

isR_AvsZipValid

public boolean isR_AvsZipValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setR_AvsZip

public void setR_AvsZip(String R_AvsZip)
Set Zip verified.

Parameters:
R_AvsZip - The Zip Code has been verified

getR_AvsZip

public String getR_AvsZip()
Get Zip verified.

Returns:
The Zip Code has been verified

setR_CVV2Match

public void setR_CVV2Match(boolean R_CVV2Match)
Set CVV Match.

Parameters:
R_CVV2Match - Credit Card Verification Code Match

isR_CVV2Match

public boolean isR_CVV2Match()
Get CVV Match.

Returns:
Credit Card Verification Code Match

setR_Info

public void setR_Info(String R_Info)
Set Info.

Parameters:
R_Info - Response info

getR_Info

public String getR_Info()
Get Info.

Returns:
Response info

setR_PnRef

public void setR_PnRef(String R_PnRef)
Set Reference.

Parameters:
R_PnRef - Payment reference

getR_PnRef

public String getR_PnRef()
Get Reference.

Returns:
Payment reference

setR_PnRef_DC

public void setR_PnRef_DC(String R_PnRef_DC)
Set Reference (DC).

Parameters:
R_PnRef_DC - Payment Reference Delayed Capture

getR_PnRef_DC

public String getR_PnRef_DC()
Get Reference (DC).

Returns:
Payment Reference Delayed Capture

setR_RespMsg

public void setR_RespMsg(String R_RespMsg)
Set Response Message.

Parameters:
R_RespMsg - Response message

getR_RespMsg

public String getR_RespMsg()
Get Response Message.

Returns:
Response message

setR_Result

public void setR_Result(String R_Result)
Set Result.

Parameters:
R_Result - Result of transmission

getR_Result

public String getR_Result()
Get Result.

Returns:
Result of transmission

setRef_Payment_ID

public void setRef_Payment_ID(int Ref_Payment_ID)
Set Referenced Payment.

Parameters:
Ref_Payment_ID - Referenced Payment

getRef_Payment_ID

public int getRef_Payment_ID()
Get Referenced Payment.

Returns:
Referenced Payment

setRoutingNo

public void setRoutingNo(String RoutingNo)
Set Routing No.

Parameters:
RoutingNo - Bank Routing Number

getRoutingNo

public String getRoutingNo()
Get Routing No.

Returns:
Bank Routing Number

setSwipe

public void setSwipe(String Swipe)
Set Swipe.

Parameters:
Swipe - Track 1 and 2 of the Credit Card

getSwipe

public String getSwipe()
Get Swipe.

Returns:
Track 1 and 2 of the Credit Card

setTaxAmt

public void setTaxAmt(BigDecimal TaxAmt)
Set Tax Amount.

Parameters:
TaxAmt - Tax Amount for a document

getTaxAmt

public BigDecimal getTaxAmt()
Get Tax Amount.

Returns:
Tax Amount for a document

isTenderTypeValid

public boolean isTenderTypeValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setTenderType

public void setTenderType(String TenderType)
Set Tender type.

Parameters:
TenderType - Method of Payment

getTenderType

public String getTenderType()
Get Tender type.

Returns:
Method of Payment

isTrxTypeValid

public boolean isTrxTypeValid(String test)
Is test a valid value.

Parameters:
test - testvalue
Returns:
true if valid

setTrxType

public void setTrxType(String TrxType)
Set Transaction Type.

Parameters:
TrxType - Type of credit card transaction

getTrxType

public String getTrxType()
Get Transaction Type.

Returns:
Type of credit card transaction

setUser1_ID

public void setUser1_ID(int User1_ID)
Set User List 1.

Parameters:
User1_ID - User defined list element #1

getUser1_ID

public int getUser1_ID()
Get User List 1.

Returns:
User defined list element #1

setUser2_ID

public void setUser2_ID(int User2_ID)
Set User List 2.

Parameters:
User2_ID - User defined list element #2

getUser2_ID

public int getUser2_ID()
Get User List 2.

Returns:
User defined list element #2

setVoiceAuthCode

public void setVoiceAuthCode(String VoiceAuthCode)
Set Voice authorization code.

Parameters:
VoiceAuthCode - Voice Authorization Code from credit card company

getVoiceAuthCode

public String getVoiceAuthCode()
Get Voice authorization code.

Returns:
Voice Authorization Code from credit card company

setWriteOffAmt

public void setWriteOffAmt(BigDecimal WriteOffAmt)
Set Write-off Amount.

Parameters:
WriteOffAmt - Amount to write-off

getWriteOffAmt

public BigDecimal getWriteOffAmt()
Get Write-off Amount.

Returns:
Amount to write-off

Compiere 3.1

Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.