Class Devices

java.lang.Object
paypal.payflow.Devices

public final class Devices extends Object
Used for the type of device the card holder is using. ................. //inv is the Invoice object. ................. //Set the Shipping Address details. ShipTo ship = new ShipTo(); ship.setShipToStreet( "123 Main St."); ship.setShipToZip("12345"); inv.setShipTo (ship); .................
  • Constructor Details

    • Devices

      public Devices()
      Used for the type of device the card holder is using. ................. //inv is the Invoice object. ................. //Set the Shipping Address details. ShipTo ship = new ShipTo(); ship.setShipToStreet( "123 Main St."); ship.setShipToZip("12345"); inv.setShipTo (ship); .................
  • Method Details

    • getCatType

      public String getCatType()
      Gets the type of terminal
      Returns:
      String

      Maps to Payflow Parameter: CATTYPE

    • setCatType

      public void setCatType(String catType)
      Sets the type of terminal
      Parameters:
      catType - String

      Maps to Payflow Parameter: CATTYPE

    • getContactLess

      public String getContactLess()
      Gets the card input capability
      Returns:
      contactLess String

      Maps to Payflow Parameter: CONTACTLESS

    • setContactLess

      public void setContactLess(String contactLess)
      Sets the card input capability
      Parameters:
      contactLess - String

      Maps to Payflow Parameter: CONTACTLESS

    • 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