Package paypal.payflow
Class ExtendData
java.lang.Object
paypal.payflow.ExtendData
/// Used for Extended param information
///
Extended data are the Payflow parameters which are /// not mapped through the data objects. /// This class can be used to send such extended parameter information /// in the transaction request.
/// /// Following example shows how to use this class. /// ............. /// // trans is the transaction object. /// ............. /// /// // Set the extended data value. /// ExtendData extData = new ExtendData("PAYFLOW_PARAM_NAME","Param Value"); /// /// // Add extended data to transaction. /// trans.setExtData(extData);-
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
-
ExtendData
Constructor- Parameters:
paramName- StringparamValue- 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
-