Package com.portal.web.comp
Interface POnlinePaymentBean
- All Superinterfaces:
Remote
- All Known Implementing Classes:
POnlinePaymentBeanImpl
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 Summary
Modifier and TypeMethodDescriptionGets the value for the Customer Address field.Gets the available billinfos for given account.Gets the value for the selected Billinfo object field.getCity()Gets the value for the Customer City field.Gets the value for the Customer Country field.getName()Gets the value for the Customer Name field.intGets the value for Payment Result.intGets the value for Payment Result type.getState()Gets the value for the Customer State field.getZip()Gets the value for the Customer Zip Code field.voidonlinepayment(PModelHandle mH, ResourceBundle bundle) Handles initial form population and payment processing.voidsetAddress(String sAddress) Sets the value for the Customer Address field.voidSets the charge value for the Amount field.voidsetBillinfoPoid(String sBillinfoPoid) Sets the value for the Billinfo object field.voidSets the value for the Customer City field.voidsetCountry(String sCountry) Sets the value for the Customer Country field.voidsetDebitExpiry(String sDebitExpiry) Sets the value for the Credit Card Expiration Date field.voidsetDebitNumber(String sDebitNumber) Sets the value for the Credit Card number field.voidsetDebitSecurityId(String sDebitSecurityId) Sets the value for the Credit Card Security ID (CVV/CDD) field.voidSets the processing mode.voidSets the value for the Customer Name field.voidsetPaymentResult(int mPaymentResult) Sets the value to return for Payment Result.voidsetPaymentResultType(int mPaymentResultType) Sets the value to return for Payment Result Type.voidSets the value for the Customer State field.voidSets the value for the Customer ZipCode field.
-
Method Details
-
setName
Sets the value for the Customer Name field.- Parameters:
sName- aStringwith the text to use for the field- Throws:
RemoteException
-
setAddress
Sets the value for the Customer Address field.- Parameters:
sAddress- aStringwith the text to use for the field- Throws:
RemoteException
-
setCity
Sets the value for the Customer City field.- Parameters:
sCity- aStringwith the text to use for the field- Throws:
RemoteException
-
setState
Sets the value for the Customer State field.- Parameters:
sState- aStringwith the text to use for the field- Throws:
RemoteException
-
setZip
Sets the value for the Customer ZipCode field.- Parameters:
sZip- aStringwith the text to use for the field- Throws:
RemoteException
-
setCountry
Sets the value for the Customer Country field.- Parameters:
sCountry- aStringwith the text to use for the field- Throws:
RemoteException
-
setAmount
Sets the charge value for the Amount field.- Parameters:
sAmount- aStringwith the text to use for the field- Throws:
RemoteException
-
setDebitNumber
Sets the value for the Credit Card number field.- Parameters:
sDebitNumber- aStringwith the text to use for the field- Throws:
RemoteException
-
setDebitExpiry
Sets the value for the Credit Card Expiration Date field.- Parameters:
sDebitExpiry- aStringwith the text to use for the field- Throws:
RemoteException
-
setDebitSecurityId
Sets the value for the Credit Card Security ID (CVV/CDD) field. This is an optional field.- Parameters:
sDebitSecurityId- aStringwith the text to use for the field- Throws:
RemoteException
-
setMode
Sets the processing mode.- Parameters:
sMode- aStringwith the processing mode to use:- "init" initializes the form
- "pay" processes the charge request with values from the form
- Throws:
RemoteException
-
setPaymentResult
Sets the value to return for Payment Result.- Parameters:
mPaymentResult- an integer representing the result. Corresponds to theopa.charge.resultinvalid input: '<'payment_result>keys in the WebKitResources.properties file, where invalid input: '<'payment_result> is a positive integer.- Throws:
RemoteException
-
getPaymentResult
Gets the value for Payment Result. The returned integer corresponds to theopa.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
Sets the value to return for Payment Result Type.- Parameters:
mPaymentResult- an integer representing the result type. Corresponds to theopa.charge.resultinvalid input: '<'payment_result_type>keys in the WebKitResources.properties file, where invalid input: '<'payment_result> is a positive integer.- Throws:
RemoteException
-
getPaymentResultType
Gets the value for Payment Result type. The returned integer corresponds to theopa.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
Gets the value for the Customer Name field.- Returns:
- A
Stringwith the value to use for the field. - Throws:
RemoteException
-
getAddress
Gets the value for the Customer Address field.- Returns:
- A
Stringwith the value to use for the field. - Throws:
RemoteException
-
getCity
Gets the value for the Customer City field.- Returns:
- A
Stringwith the value to use for the field. - Throws:
RemoteException
-
getState
Gets the value for the Customer State field.- Returns:
- A
Stringwith the value to use for the field. - Throws:
RemoteException
-
getZip
Gets the value for the Customer Zip Code field.- Returns:
- A
Stringwith the value to use for the field. - Throws:
RemoteException
-
getCountry
Gets the value for the Customer Country field.- Returns:
- A
Stringwith the value to use for the field. - Throws:
RemoteException
-
onlinepayment
Handles initial form population and payment processing. This is theActionmethod for the bean.- Parameters:
mH- thePModelHandlefor the accountbundle- the resource bundle- Throws:
RemoteException
-
getAllBillinfoDetails
Hashtable getAllBillinfoDetails()Gets the available billinfos for given account.- Returns:
- A
Hashtableof all billinfo details.
-
getBillinfoPoid
String getBillinfoPoid()Gets the value for the selected Billinfo object field.- Returns:
- A
Stringwith the value of billinfo poid.
-
setBillinfoPoid
Sets the value for the Billinfo object field.- Parameters:
sBillId- aStringwith he value of billinfo poid.
-