Class X_I_Payment

    • Constructor Detail

      • X_I_Payment

        public X_I_Payment​(Properties ctx,
                           int I_Payment_ID,
                           String trxName)
        Standard Constructor
    • Method Detail

      • get_AccessLevel

        protected int get_AccessLevel()
        AccessLevel
        Specified by:
        get_AccessLevel in class PO
        Returns:
        2 - Client
      • 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
      • setAccountNo

        public void setAccountNo​(String AccountNo)
        Set Account No.
        Specified by:
        setAccountNo in interface I_I_Payment
        Parameters:
        AccountNo - Account Number
      • setA_City

        public void setA_City​(String A_City)
        Set Account City.
        Specified by:
        setA_City in interface I_I_Payment
        Parameters:
        A_City - City or the Credit Card or Account Holder
      • getA_City

        public String getA_City()
        Get Account City.
        Specified by:
        getA_City in interface I_I_Payment
        Returns:
        City or the Credit Card or Account Holder
      • setA_Country

        public void setA_Country​(String A_Country)
        Set Account Country.
        Specified by:
        setA_Country in interface I_I_Payment
        Parameters:
        A_Country - Country
      • setA_EMail

        public void setA_EMail​(String A_EMail)
        Set Account EMail.
        Specified by:
        setA_EMail in interface I_I_Payment
        Parameters:
        A_EMail - Email Address
      • getA_EMail

        public String getA_EMail()
        Get Account EMail.
        Specified by:
        getA_EMail in interface I_I_Payment
        Returns:
        Email Address
      • setA_Ident_DL

        public void setA_Ident_DL​(String A_Ident_DL)
        Set Driver License.
        Specified by:
        setA_Ident_DL in interface I_I_Payment
        Parameters:
        A_Ident_DL - Payment Identification - Driver License
      • getA_Ident_DL

        public String getA_Ident_DL()
        Get Driver License.
        Specified by:
        getA_Ident_DL in interface I_I_Payment
        Returns:
        Payment Identification - Driver License
      • setA_Ident_SSN

        public void setA_Ident_SSN​(String A_Ident_SSN)
        Set Social Security No.
        Specified by:
        setA_Ident_SSN in interface I_I_Payment
        Parameters:
        A_Ident_SSN - Payment Identification - Social Security No
      • getA_Ident_SSN

        public String getA_Ident_SSN()
        Get Social Security No.
        Specified by:
        getA_Ident_SSN in interface I_I_Payment
        Returns:
        Payment Identification - Social Security No
      • setA_Name

        public void setA_Name​(String A_Name)
        Set Account Name.
        Specified by:
        setA_Name in interface I_I_Payment
        Parameters:
        A_Name - Name on Credit Card or Account holder
      • getA_Name

        public String getA_Name()
        Get Account Name.
        Specified by:
        getA_Name in interface I_I_Payment
        Returns:
        Name on Credit Card or Account holder
      • setA_State

        public void setA_State​(String A_State)
        Set Account State.
        Specified by:
        setA_State in interface I_I_Payment
        Parameters:
        A_State - State of the Credit Card or Account holder
      • getA_State

        public String getA_State()
        Get Account State.
        Specified by:
        getA_State in interface I_I_Payment
        Returns:
        State of the Credit Card or Account holder
      • setA_Street

        public void setA_Street​(String A_Street)
        Set Account Street.
        Specified by:
        setA_Street in interface I_I_Payment
        Parameters:
        A_Street - Street address of the Credit Card or Account holder
      • getA_Street

        public String getA_Street()
        Get Account Street.
        Specified by:
        getA_Street in interface I_I_Payment
        Returns:
        Street address of the Credit Card or Account holder
      • setA_Zip

        public void setA_Zip​(String A_Zip)
        Set Account Zip/Postal.
        Specified by:
        setA_Zip in interface I_I_Payment
        Parameters:
        A_Zip - Zip Code of the Credit Card or Account Holder
      • getA_Zip

        public String getA_Zip()
        Get Account Zip/Postal.
        Specified by:
        getA_Zip in interface I_I_Payment
        Returns:
        Zip Code of the Credit Card or Account Holder
      • setBankAccountNo

        public void setBankAccountNo​(String BankAccountNo)
        Set Bank Account No.
        Specified by:
        setBankAccountNo in interface I_I_Payment
        Parameters:
        BankAccountNo - Bank Account Number
      • setBPartnerValue

        public void setBPartnerValue​(String BPartnerValue)
        Set Business Partner Key.
        Specified by:
        setBPartnerValue in interface I_I_Payment
        Parameters:
        BPartnerValue - Key of the Business Partner
      • getBPartnerValue

        public String getBPartnerValue()
        Get Business Partner Key.
        Specified by:
        getBPartnerValue in interface I_I_Payment
        Returns:
        Key of the Business Partner
      • setC_BankAccount_ID

        public void setC_BankAccount_ID​(int C_BankAccount_ID)
        Set Bank Account.
        Specified by:
        setC_BankAccount_ID in interface I_I_Payment
        Parameters:
        C_BankAccount_ID - Account at the Bank
      • getC_BankAccount_ID

        public int getC_BankAccount_ID()
        Get Bank Account.
        Specified by:
        getC_BankAccount_ID in interface I_I_Payment
        Returns:
        Account at the Bank
      • setC_BPartner_ID

        public void setC_BPartner_ID​(int C_BPartner_ID)
        Set Business Partner.
        Specified by:
        setC_BPartner_ID in interface I_I_Payment
        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 interface I_I_Payment
        Returns:
        Identifies a Business Partner
      • setC_Charge_ID

        public void setC_Charge_ID​(int C_Charge_ID)
        Set Charge.
        Specified by:
        setC_Charge_ID in interface I_I_Payment
        Parameters:
        C_Charge_ID - Additional document charges
      • getC_Charge_ID

        public int getC_Charge_ID()
        Get Charge.
        Specified by:
        getC_Charge_ID in interface I_I_Payment
        Returns:
        Additional document charges
      • setC_Currency_ID

        public void setC_Currency_ID​(int C_Currency_ID)
        Set Currency.
        Specified by:
        setC_Currency_ID in interface I_I_Payment
        Parameters:
        C_Currency_ID - The Currency for this record
      • getC_Currency_ID

        public int getC_Currency_ID()
        Get Currency.
        Specified by:
        getC_Currency_ID in interface I_I_Payment
        Returns:
        The Currency for this record
      • setC_DocType_ID

        public void setC_DocType_ID​(int C_DocType_ID)
        Set Document Type.
        Specified by:
        setC_DocType_ID in interface I_I_Payment
        Parameters:
        C_DocType_ID - Document type or rules
      • getC_DocType_ID

        public int getC_DocType_ID()
        Get Document Type.
        Specified by:
        getC_DocType_ID in interface I_I_Payment
        Returns:
        Document type or rules
      • setChargeAmt

        public void setChargeAmt​(BigDecimal ChargeAmt)
        Set Charge amount.
        Specified by:
        setChargeAmt in interface I_I_Payment
        Parameters:
        ChargeAmt - Charge Amount
      • setChargeName

        public void setChargeName​(String ChargeName)
        Set Charge Name.
        Specified by:
        setChargeName in interface I_I_Payment
        Parameters:
        ChargeName - Name of the Charge
      • setCheckNo

        public void setCheckNo​(String CheckNo)
        Set Check No.
        Specified by:
        setCheckNo in interface I_I_Payment
        Parameters:
        CheckNo - Check Number
      • setC_Invoice_ID

        public void setC_Invoice_ID​(int C_Invoice_ID)
        Set Invoice.
        Specified by:
        setC_Invoice_ID in interface I_I_Payment
        Parameters:
        C_Invoice_ID - Invoice Identifier
      • getC_Invoice_ID

        public int getC_Invoice_ID()
        Get Invoice.
        Specified by:
        getC_Invoice_ID in interface I_I_Payment
        Returns:
        Invoice Identifier
      • setC_Payment_ID

        public void setC_Payment_ID​(int C_Payment_ID)
        Set Payment.
        Specified by:
        setC_Payment_ID in interface I_I_Payment
        Parameters:
        C_Payment_ID - Payment identifier
      • getC_Payment_ID

        public int getC_Payment_ID()
        Get Payment.
        Specified by:
        getC_Payment_ID in interface I_I_Payment
        Returns:
        Payment identifier
      • setCreditCardExpMM

        public void setCreditCardExpMM​(int CreditCardExpMM)
        Set Exp. Month.
        Specified by:
        setCreditCardExpMM in interface I_I_Payment
        Parameters:
        CreditCardExpMM - Expiry Month
      • getCreditCardExpMM

        public int getCreditCardExpMM()
        Get Exp. Month.
        Specified by:
        getCreditCardExpMM in interface I_I_Payment
        Returns:
        Expiry Month
      • setCreditCardExpYY

        public void setCreditCardExpYY​(int CreditCardExpYY)
        Set Exp. Year.
        Specified by:
        setCreditCardExpYY in interface I_I_Payment
        Parameters:
        CreditCardExpYY - Expiry Year
      • getCreditCardExpYY

        public int getCreditCardExpYY()
        Get Exp. Year.
        Specified by:
        getCreditCardExpYY in interface I_I_Payment
        Returns:
        Expiry Year
      • setCreditCardNumber

        public void setCreditCardNumber​(String CreditCardNumber)
        Set Number.
        Specified by:
        setCreditCardNumber in interface I_I_Payment
        Parameters:
        CreditCardNumber - Credit Card Number
      • setCreditCardType

        public void setCreditCardType​(String CreditCardType)
        Set Credit Card.
        Specified by:
        setCreditCardType in interface I_I_Payment
        Parameters:
        CreditCardType - Credit Card (Visa, MC, AmEx)
      • setCreditCardVV

        public void setCreditCardVV​(String CreditCardVV)
        Set Verification Code.
        Specified by:
        setCreditCardVV in interface I_I_Payment
        Parameters:
        CreditCardVV - Credit Card Verification code on credit card
      • getCreditCardVV

        public String getCreditCardVV()
        Get Verification Code.
        Specified by:
        getCreditCardVV in interface I_I_Payment
        Returns:
        Credit Card Verification code on credit card
      • setDateAcct

        public void setDateAcct​(Timestamp DateAcct)
        Set Account Date.
        Specified by:
        setDateAcct in interface I_I_Payment
        Parameters:
        DateAcct - Accounting Date
      • setDateTrx

        public void setDateTrx​(Timestamp DateTrx)
        Set Transaction Date.
        Specified by:
        setDateTrx in interface I_I_Payment
        Parameters:
        DateTrx - Transaction Date
      • setDiscountAmt

        public void setDiscountAmt​(BigDecimal DiscountAmt)
        Set Discount Amount.
        Specified by:
        setDiscountAmt in interface I_I_Payment
        Parameters:
        DiscountAmt - Calculated amount of discount
      • setDocTypeName

        public void setDocTypeName​(String DocTypeName)
        Set Document Type Name.
        Specified by:
        setDocTypeName in interface I_I_Payment
        Parameters:
        DocTypeName - Name of the Document Type
      • getDocTypeName

        public String getDocTypeName()
        Get Document Type Name.
        Specified by:
        getDocTypeName in interface I_I_Payment
        Returns:
        Name of the Document Type
      • setDocumentNo

        public void setDocumentNo​(String DocumentNo)
        Set Document No.
        Specified by:
        setDocumentNo in interface I_I_Payment
        Parameters:
        DocumentNo - Document sequence number of the document
      • getDocumentNo

        public String getDocumentNo()
        Get Document No.
        Specified by:
        getDocumentNo in interface I_I_Payment
        Returns:
        Document sequence number of the document
      • setIBAN

        public void setIBAN​(String IBAN)
        Set IBAN.
        Specified by:
        setIBAN in interface I_I_Payment
        Parameters:
        IBAN - International Bank Account Number
      • getIBAN

        public String getIBAN()
        Get IBAN.
        Specified by:
        getIBAN in interface I_I_Payment
        Returns:
        International Bank Account Number
      • setI_ErrorMsg

        public void setI_ErrorMsg​(String I_ErrorMsg)
        Set Import Error Message.
        Specified by:
        setI_ErrorMsg in interface I_I_Payment
        Parameters:
        I_ErrorMsg - Messages generated from import process
      • getI_ErrorMsg

        public String getI_ErrorMsg()
        Get Import Error Message.
        Specified by:
        getI_ErrorMsg in interface I_I_Payment
        Returns:
        Messages generated from import process
      • setI_IsImported

        public void setI_IsImported​(boolean I_IsImported)
        Set Imported.
        Specified by:
        setI_IsImported in interface I_I_Payment
        Parameters:
        I_IsImported - Has this import been processed
      • isI_IsImported

        public boolean isI_IsImported()
        Get Imported.
        Specified by:
        isI_IsImported in interface I_I_Payment
        Returns:
        Has this import been processed
      • setInvoiceDocumentNo

        public void setInvoiceDocumentNo​(String InvoiceDocumentNo)
        Set Invoice Document No.
        Specified by:
        setInvoiceDocumentNo in interface I_I_Payment
        Parameters:
        InvoiceDocumentNo - Document Number of the Invoice
      • getInvoiceDocumentNo

        public String getInvoiceDocumentNo()
        Get Invoice Document No.
        Specified by:
        getInvoiceDocumentNo in interface I_I_Payment
        Returns:
        Document Number of the Invoice
      • setI_Payment_ID

        public void setI_Payment_ID​(int I_Payment_ID)
        Set Import Payment.
        Specified by:
        setI_Payment_ID in interface I_I_Payment
        Parameters:
        I_Payment_ID - Import Payment
      • getI_Payment_ID

        public int getI_Payment_ID()
        Get Import Payment.
        Specified by:
        getI_Payment_ID in interface I_I_Payment
        Returns:
        Import Payment
      • setI_Payment_UU

        public void setI_Payment_UU​(String I_Payment_UU)
        Set I_Payment_UU.
        Specified by:
        setI_Payment_UU in interface I_I_Payment
        Parameters:
        I_Payment_UU - I_Payment_UU
      • setIsApproved

        public void setIsApproved​(boolean IsApproved)
        Set Approved.
        Specified by:
        setIsApproved in interface I_I_Payment
        Parameters:
        IsApproved - Indicates if this document requires approval
      • isApproved

        public boolean isApproved()
        Get Approved.
        Specified by:
        isApproved in interface I_I_Payment
        Returns:
        Indicates if this document requires approval
      • setIsDelayedCapture

        public void setIsDelayedCapture​(boolean IsDelayedCapture)
        Set Delayed Capture.
        Specified by:
        setIsDelayedCapture in interface I_I_Payment
        Parameters:
        IsDelayedCapture - Charge after Shipment
      • isDelayedCapture

        public boolean isDelayedCapture()
        Get Delayed Capture.
        Specified by:
        isDelayedCapture in interface I_I_Payment
        Returns:
        Charge after Shipment
      • setISO_Code

        public void setISO_Code​(String ISO_Code)
        Set ISO Currency Code.
        Specified by:
        setISO_Code in interface I_I_Payment
        Parameters:
        ISO_Code - Three letter ISO 4217 Code of the Currency
      • getISO_Code

        public String getISO_Code()
        Get ISO Currency Code.
        Specified by:
        getISO_Code in interface I_I_Payment
        Returns:
        Three letter ISO 4217 Code of the Currency
      • setIsOverUnderPayment

        public void setIsOverUnderPayment​(boolean IsOverUnderPayment)
        Set Over/Under Payment.
        Specified by:
        setIsOverUnderPayment in interface I_I_Payment
        Parameters:
        IsOverUnderPayment - Over-Payment (unallocated) or Under-Payment (partial payment)
      • isOverUnderPayment

        public boolean isOverUnderPayment()
        Get Over/Under Payment.
        Specified by:
        isOverUnderPayment in interface I_I_Payment
        Returns:
        Over-Payment (unallocated) or Under-Payment (partial payment)
      • setIsReceipt

        public void setIsReceipt​(boolean IsReceipt)
        Set Receipt.
        Specified by:
        setIsReceipt in interface I_I_Payment
        Parameters:
        IsReceipt - This is a sales transaction (receipt)
      • isReceipt

        public boolean isReceipt()
        Get Receipt.
        Specified by:
        isReceipt in interface I_I_Payment
        Returns:
        This is a sales transaction (receipt)
      • setIsSelfService

        public void setIsSelfService​(boolean IsSelfService)
        Set Self-Service.
        Specified by:
        setIsSelfService in interface I_I_Payment
        Parameters:
        IsSelfService - This is a Self-Service entry or this entry can be changed via Self-Service
      • isSelfService

        public boolean isSelfService()
        Get Self-Service.
        Specified by:
        isSelfService in interface I_I_Payment
        Returns:
        This is a Self-Service entry or this entry can be changed via Self-Service
      • setMicr

        public void setMicr​(String Micr)
        Set Micr.
        Specified by:
        setMicr in interface I_I_Payment
        Parameters:
        Micr - Combination of routing no, account and check no
      • getMicr

        public String getMicr()
        Get Micr.
        Specified by:
        getMicr in interface I_I_Payment
        Returns:
        Combination of routing no, account and check no
      • setOrig_TrxID

        public void setOrig_TrxID​(String Orig_TrxID)
        Set Original Transaction ID.
        Specified by:
        setOrig_TrxID in interface I_I_Payment
        Parameters:
        Orig_TrxID - Original Transaction ID
      • getOrig_TrxID

        public String getOrig_TrxID()
        Get Original Transaction ID.
        Specified by:
        getOrig_TrxID in interface I_I_Payment
        Returns:
        Original Transaction ID
      • setOverUnderAmt

        public void setOverUnderAmt​(BigDecimal OverUnderAmt)
        Set Over/Under Payment.
        Specified by:
        setOverUnderAmt in interface I_I_Payment
        Parameters:
        OverUnderAmt - Over-Payment (unallocated) or Under-Payment (partial payment) Amount
      • getOverUnderAmt

        public BigDecimal getOverUnderAmt()
        Get Over/Under Payment.
        Specified by:
        getOverUnderAmt in interface I_I_Payment
        Returns:
        Over-Payment (unallocated) or Under-Payment (partial payment) Amount
      • setPayAmt

        public void setPayAmt​(BigDecimal PayAmt)
        Set Payment amount.
        Specified by:
        setPayAmt in interface I_I_Payment
        Parameters:
        PayAmt - Amount being paid
      • setPONum

        public void setPONum​(String PONum)
        Set PO Number.
        Specified by:
        setPONum in interface I_I_Payment
        Parameters:
        PONum - Purchase Order Number
      • getPONum

        public String getPONum()
        Get PO Number.
        Specified by:
        getPONum in interface I_I_Payment
        Returns:
        Purchase Order Number
      • setProcessed

        public void setProcessed​(boolean Processed)
        Set Processed.
        Specified by:
        setProcessed in interface I_I_Payment
        Parameters:
        Processed - The document has been processed
      • isProcessed

        public boolean isProcessed()
        Get Processed.
        Specified by:
        isProcessed in interface I_I_Payment
        Returns:
        The document has been processed
      • setProcessing

        public void setProcessing​(boolean Processing)
        Set Process Now.
        Specified by:
        setProcessing in interface I_I_Payment
        Parameters:
        Processing - Process Now
      • isProcessing

        public boolean isProcessing()
        Get Process Now.
        Specified by:
        isProcessing in interface I_I_Payment
        Returns:
        Process Now
      • setR_AuthCode

        public void setR_AuthCode​(String R_AuthCode)
        Set Authorization Code.
        Specified by:
        setR_AuthCode in interface I_I_Payment
        Parameters:
        R_AuthCode - Authorization Code returned
      • getR_AuthCode

        public String getR_AuthCode()
        Get Authorization Code.
        Specified by:
        getR_AuthCode in interface I_I_Payment
        Returns:
        Authorization Code returned
      • setR_Info

        public void setR_Info​(String R_Info)
        Set Info.
        Specified by:
        setR_Info in interface I_I_Payment
        Parameters:
        R_Info - Response info
      • setRoutingNo

        public void setRoutingNo​(String RoutingNo)
        Set Routing No.
        Specified by:
        setRoutingNo in interface I_I_Payment
        Parameters:
        RoutingNo - Bank Routing Number
      • setR_PnRef

        public void setR_PnRef​(String R_PnRef)
        Set Reference.
        Specified by:
        setR_PnRef in interface I_I_Payment
        Parameters:
        R_PnRef - Payment reference
      • getR_PnRef

        public String getR_PnRef()
        Get Reference.
        Specified by:
        getR_PnRef in interface I_I_Payment
        Returns:
        Payment reference
      • setR_RespMsg

        public void setR_RespMsg​(String R_RespMsg)
        Set Response Message.
        Specified by:
        setR_RespMsg in interface I_I_Payment
        Parameters:
        R_RespMsg - Response message
      • getR_RespMsg

        public String getR_RespMsg()
        Get Response Message.
        Specified by:
        getR_RespMsg in interface I_I_Payment
        Returns:
        Response message
      • setR_Result

        public void setR_Result​(String R_Result)
        Set Result.
        Specified by:
        setR_Result in interface I_I_Payment
        Parameters:
        R_Result - Result of transmission
      • getR_Result

        public String getR_Result()
        Get Result.
        Specified by:
        getR_Result in interface I_I_Payment
        Returns:
        Result of transmission
      • setSwiftCode

        public void setSwiftCode​(String SwiftCode)
        Set Swift code.
        Specified by:
        setSwiftCode in interface I_I_Payment
        Parameters:
        SwiftCode - Swift Code or BIC
      • setSwipe

        public void setSwipe​(String Swipe)
        Set Swipe.
        Specified by:
        setSwipe in interface I_I_Payment
        Parameters:
        Swipe - Track 1 and 2 of the Credit Card
      • getSwipe

        public String getSwipe()
        Get Swipe.
        Specified by:
        getSwipe in interface I_I_Payment
        Returns:
        Track 1 and 2 of the Credit Card
      • setTaxAmt

        public void setTaxAmt​(BigDecimal TaxAmt)
        Set Tax Amount.
        Specified by:
        setTaxAmt in interface I_I_Payment
        Parameters:
        TaxAmt - Tax Amount for a document
      • setTenderType

        public void setTenderType​(String TenderType)
        Set Tender type.
        Specified by:
        setTenderType in interface I_I_Payment
        Parameters:
        TenderType - Method of Payment
      • setTrxType

        public void setTrxType​(String TrxType)
        Set Transaction Type.
        Specified by:
        setTrxType in interface I_I_Payment
        Parameters:
        TrxType - Type of credit card transaction
      • getTrxType

        public String getTrxType()
        Get Transaction Type.
        Specified by:
        getTrxType in interface I_I_Payment
        Returns:
        Type of credit card transaction
      • setVoiceAuthCode

        public void setVoiceAuthCode​(String VoiceAuthCode)
        Set Voice authorization code.
        Specified by:
        setVoiceAuthCode in interface I_I_Payment
        Parameters:
        VoiceAuthCode - Voice Authorization Code from credit card company
      • getVoiceAuthCode

        public String getVoiceAuthCode()
        Get Voice authorization code.
        Specified by:
        getVoiceAuthCode in interface I_I_Payment
        Returns:
        Voice Authorization Code from credit card company
      • setWriteOffAmt

        public void setWriteOffAmt​(BigDecimal WriteOffAmt)
        Set Write-off Amount.
        Specified by:
        setWriteOffAmt in interface I_I_Payment
        Parameters:
        WriteOffAmt - Amount to write-off