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.int
Gets the value for Payment Result.int
Gets 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.void
onlinepayment
(PModelHandle mH, ResourceBundle bundle) Handles initial form population and payment processing.void
setAddress
(String sAddress) Sets the value for the Customer Address field.void
Sets the charge value for the Amount field.void
setBillinfoPoid
(String sBillinfoPoid) Sets the value for the Billinfo object field.void
Sets the value for the Customer City field.void
setCountry
(String sCountry) Sets the value for the Customer Country field.void
setDebitExpiry
(String sDebitExpiry) Sets the value for the Credit Card Expiration Date field.void
setDebitNumber
(String sDebitNumber) Sets the value for the Credit Card number field.void
setDebitSecurityId
(String sDebitSecurityId) Sets the value for the Credit Card Security ID (CVV/CDD) field.void
Sets the processing mode.void
Sets the value for the Customer Name field.void
setPaymentResult
(int mPaymentResult) Sets the value to return for Payment Result.void
setPaymentResultType
(int mPaymentResultType) Sets the value to return for Payment Result Type.void
Sets the value for the Customer State field.void
Sets the value for the Customer ZipCode field.
-
Method Details
-
setName
Sets the value for the Customer Name field.- Parameters:
sName
- aString
with the text to use for the field- Throws:
RemoteException
-
setAddress
Sets the value for the Customer Address field.- Parameters:
sAddress
- aString
with the text to use for the field- Throws:
RemoteException
-
setCity
Sets the value for the Customer City field.- Parameters:
sCity
- aString
with the text to use for the field- Throws:
RemoteException
-
setState
Sets the value for the Customer State field.- Parameters:
sState
- aString
with the text to use for the field- Throws:
RemoteException
-
setZip
Sets the value for the Customer ZipCode field.- Parameters:
sZip
- aString
with the text to use for the field- Throws:
RemoteException
-
setCountry
Sets the value for the Customer Country field.- Parameters:
sCountry
- aString
with the text to use for the field- Throws:
RemoteException
-
setAmount
Sets the charge value for the Amount field.- Parameters:
sAmount
- aString
with the text to use for the field- Throws:
RemoteException
-
setDebitNumber
Sets the value for the Credit Card number field.- Parameters:
sDebitNumber
- aString
with the text to use for the field- Throws:
RemoteException
-
setDebitExpiry
Sets the value for the Credit Card Expiration Date field.- Parameters:
sDebitExpiry
- aString
with 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
- aString
with the text to use for the field- Throws:
RemoteException
-
setMode
Sets the processing mode.- Parameters:
sMode
- aString
with 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
String
with the value to use for the field. - Throws:
RemoteException
-
getAddress
Gets the value for the Customer Address field.- Returns:
- A
String
with the value to use for the field. - Throws:
RemoteException
-
getCity
Gets the value for the Customer City field.- Returns:
- A
String
with the value to use for the field. - Throws:
RemoteException
-
getState
Gets the value for the Customer State field.- Returns:
- A
String
with the value to use for the field. - Throws:
RemoteException
-
getZip
Gets the value for the Customer Zip Code field.- Returns:
- A
String
with the value to use for the field. - Throws:
RemoteException
-
getCountry
Gets the value for the Customer Country field.- Returns:
- A
String
with the value to use for the field. - Throws:
RemoteException
-
onlinepayment
Handles initial form population and payment processing. This is theAction
method for the bean.- Parameters:
mH
- thePModelHandle
for the accountbundle
- 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
Sets the value for the Billinfo object field.- Parameters:
sBillId
- aString
with he value of billinfo poid.
-