Class ExtendData

java.lang.Object
paypal.payflow.ExtendData

public final class ExtendData extends Object
/// 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 Details

    • ExtendData

      public ExtendData(String paramName, String paramValue)
      Constructor
      Parameters:
      paramName - String
      paramValue - String
  • Method Details

    • generateRequest

      protected void generateRequest()
    • getContext

      protected Context getContext()
    • setContext

      protected void setContext(Context context)
    • getRequestBuffer

      protected StringBuffer getRequestBuffer()
      Gets the Requestbuffer used for creating the actual request string.
      Returns:
      mRequestBuffer StringBuffer
    • setRequestBuffer

      protected void setRequestBuffer(StringBuffer value)
      sets the StringBuffer to hold the request string.
      Parameters:
      value - StringBuffer