Interface POnlinePaymentBean

All Superinterfaces:
Remote
All Known Implementing Classes:
POnlinePaymentBeanImpl

public interface POnlinePaymentBean extends Remote
POnlinePaymentBean is a Remote interface that defines the Online Payment Input Form getters, setters, and Action methods.
Version:
%version: 7 % %date_modified: Mon Nov 26 17:48:41 2001 %
Author:
Senthil Vaiyapuri
  • Method Details

    • setName

      void setName(String sName) throws RemoteException
      Sets the value for the Customer Name field.
      Parameters:
      sName - a String with the text to use for the field
      Throws:
      RemoteException
    • setAddress

      void setAddress(String sAddress) throws RemoteException
      Sets the value for the Customer Address field.
      Parameters:
      sAddress - a String with the text to use for the field
      Throws:
      RemoteException
    • setCity

      void setCity(String sCity) throws RemoteException
      Sets the value for the Customer City field.
      Parameters:
      sCity - a String with the text to use for the field
      Throws:
      RemoteException
    • setState

      void setState(String sState) throws RemoteException
      Sets the value for the Customer State field.
      Parameters:
      sState - a String with the text to use for the field
      Throws:
      RemoteException
    • setZip

      void setZip(String sZip) throws RemoteException
      Sets the value for the Customer ZipCode field.
      Parameters:
      sZip - a String with the text to use for the field
      Throws:
      RemoteException
    • setCountry

      void setCountry(String sCountry) throws RemoteException
      Sets the value for the Customer Country field.
      Parameters:
      sCountry - a String with the text to use for the field
      Throws:
      RemoteException
    • setAmount

      void setAmount(String sAmount) throws RemoteException
      Sets the charge value for the Amount field.
      Parameters:
      sAmount - a String with the text to use for the field
      Throws:
      RemoteException
    • setDebitNumber

      void setDebitNumber(String sDebitNumber) throws RemoteException
      Sets the value for the Credit Card number field.
      Parameters:
      sDebitNumber - a String with the text to use for the field
      Throws:
      RemoteException
    • setDebitExpiry

      void setDebitExpiry(String sDebitExpiry) throws RemoteException
      Sets the value for the Credit Card Expiration Date field.
      Parameters:
      sDebitExpiry - a String with the text to use for the field
      Throws:
      RemoteException
    • setDebitSecurityId

      void setDebitSecurityId(String sDebitSecurityId) throws RemoteException
      Sets the value for the Credit Card Security ID (CVV/CDD) field. This is an optional field.
      Parameters:
      sDebitSecurityId - a String with the text to use for the field
      Throws:
      RemoteException
    • setMode

      void setMode(String sMode) throws RemoteException
      Sets the processing mode.
      Parameters:
      sMode - a String with the processing mode to use:
      • "init" initializes the form
      • "pay" processes the charge request with values from the form
      Throws:
      RemoteException
    • setPaymentResult

      void setPaymentResult(int mPaymentResult) throws RemoteException
      Sets the value to return for Payment Result.
      Parameters:
      mPaymentResult - an integer representing the result. Corresponds to the opa.charge.resultinvalid input: '<'payment_result> keys in the WebKitResources.properties file, where invalid input: '<'payment_result> is a positive integer.
      Throws:
      RemoteException
    • getPaymentResult

      int getPaymentResult() throws RemoteException
      Gets the value for Payment Result. The returned integer corresponds to the opa.charge.resultinvalid input: '<'payment_result> keys in the WebKitResources.properties file, where invalid input: '<'payment_result> is a positive integer.

      See the online_payment.jsp file for an example of how this method is invoked.

      Returns:
      An integer value indicating the payment results; a value of -1 is returned for failures.
      Throws:
      RemoteException
    • setPaymentResultType

      void setPaymentResultType(int mPaymentResultType) throws RemoteException
      Sets the value to return for Payment Result Type.
      Parameters:
      mPaymentResult - an integer representing the result type. Corresponds to the opa.charge.resultinvalid input: '<'payment_result_type> keys in the WebKitResources.properties file, where invalid input: '<'payment_result> is a positive integer.
      Throws:
      RemoteException
    • getPaymentResultType

      int getPaymentResultType() throws RemoteException
      Gets the value for Payment Result type. The returned integer corresponds to the opa.charge.resultinvalid input: '<'payment_result_type> keys in the WebKitResources.properties file, where invalid input: '<'payment_result> is a positive integer.

      See the online_payment.jsp file for an example of how this method is invoked.

      Returns:
      An integer value indicating the payment result type;
      Throws:
      RemoteException
    • getName

      String getName() throws RemoteException
      Gets the value for the Customer Name field.
      Returns:
      A String with the value to use for the field.
      Throws:
      RemoteException
    • getAddress

      String getAddress() throws RemoteException
      Gets the value for the Customer Address field.
      Returns:
      A String with the value to use for the field.
      Throws:
      RemoteException
    • getCity

      String getCity() throws RemoteException
      Gets the value for the Customer City field.
      Returns:
      A String with the value to use for the field.
      Throws:
      RemoteException
    • getState

      String getState() throws RemoteException
      Gets the value for the Customer State field.
      Returns:
      A String with the value to use for the field.
      Throws:
      RemoteException
    • getZip

      String getZip() throws RemoteException
      Gets the value for the Customer Zip Code field.
      Returns:
      A String with the value to use for the field.
      Throws:
      RemoteException
    • getCountry

      String getCountry() throws RemoteException
      Gets the value for the Customer Country field.
      Returns:
      A String with the value to use for the field.
      Throws:
      RemoteException
    • onlinepayment

      void onlinepayment(PModelHandle mH, ResourceBundle bundle) throws RemoteException
      Handles initial form population and payment processing. This is the Action method for the bean.
      Parameters:
      mH - the PModelHandle for the account
      bundle - the resource bundle
      Throws:
      RemoteException
    • getAllBillinfoDetails

      Hashtable getAllBillinfoDetails()
      Gets the available billinfos for given account.
      Returns:
      A Hashtable of all billinfo details.
    • getBillinfoPoid

      String getBillinfoPoid()
      Gets the value for the selected Billinfo object field.
      Returns:
      A String with the value of billinfo poid.
    • setBillinfoPoid

      void setBillinfoPoid(String sBillinfoPoid)
      Sets the value for the Billinfo object field.
      Parameters:
      sBillId - a String with he value of billinfo poid.