Package paypal.payflow
Class UserInfo
java.lang.Object
paypal.payflow.UserInfo
Used for PayPal User account information
This is a required class for a strong assembly transactions. This class is used to store the
user credential needed to authenticate the user performing the transaction.
Following are the required user credentials:
Payflow Parameter Description
USER User login Id. Created in Manager.
VENDOR Login name. The login name created while registering for the Payflow account.
PARTNER The authorized PayPal Reseller that registered this account for the Payflow service provided you with a Partner ID.
If you registered yourself, use PayPal.
PWD 6 to 32 character password.
All values are case-sensitive.
..............
// Create the User data object with the required user details.
UserInfo user = new UserInfo("user", "vendor", "partner", "password");
..............
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected Contextprotected StringBufferGets the Requestbuffer used for creating the actual request string.protected voidsetContext(Context context) protected voidsetRequestBuffer(StringBuffer value) sets the StringBuffer to hold the request string.
-
Constructor Details
-
UserInfo
Constructor- Parameters:
User- - StringVendor- - StringPartner- - StringPwd- -String
-
-
Method Details
-
generateRequest
protected void generateRequest() -
getContext
-
setContext
-
getRequestBuffer
Gets the Requestbuffer used for creating the actual request string.- Returns:
- mRequestBuffer StringBuffer
-
setRequestBuffer
sets the StringBuffer to hold the request string.- Parameters:
value- StringBuffer
-