Class ECSetRequest

Direct Known Subclasses:
ECSetBARequest

public class ECSetRequest extends ExpressCheckoutRequest
Used for ExpressCheckout SET operation. ECGetRequest ECDoRequest
  • Constructor Details

    • ECSetRequest

      public ECSetRequest(String ReturnUrl, String CancelUrl)
      Constructor for ECSetRequest
      Parameters:
      ReturnUrl - - String
      CancelUrl - - String

      ECSetRequest is used to set the data required for a Express Checkout SET operation. ............. //Create the ECSetRequest object ECSetRequest setEC = new ECSetRequest("http://www.yourwebsitereturnurl.com","http://www.yourwebsitecancelurl.com"); .............

    • ECSetRequest

      public ECSetRequest(String ReturnUrl, String CancelUrl, PayLater PayLater)
      Constructor for ECSetRequest
      Parameters:
      ReturnUrl - - String
      CancelUrl - - String
      PayLater - - String ECSetRequest is used to set the data required for a Express Checkout SET operation. ............. //Create the ECSetRequest object ECSetRequest setEC = new ECSetRequest("http://www.yourwebsitereturnurl.com","http://www.yourwebsitecancelurl.com"); .............
    • ECSetRequest

      public ECSetRequest(String ReturnUrl, String CancelUrl, String BillingType, String BA_Desc, String PaymentType, String BA_Custom)
      Constructor for ECSetRequest
      Parameters:
      ReturnUrl - - String
      CancelUrl - - String
      BillingType - - String
      BA_Desc - - String
      PaymentType - - String
      BA_Custom - - String ECSetRequest is used to set the data required for a Express Checkout SET operation for Reference Transactions with Purchase. ............. //Create the ECSetRequest object ECSetRequest setEC = new ECSetRequest("http://www.yourwebsitereturnurl.com","http://www.yourwebsitecancelurl.com", "MerchantInitiatedBilling", "Test Transaction", "any", "Something"); .............
    • ECSetRequest

      protected ECSetRequest(String ReturnUrl, String CancelUrl, String BillingType, String BA_Desc, String PaymentType, String BA_Custom, String Action)
  • Method Details

    • getReturnUrl

      public String getReturnUrl()
      Gets the returnurl parameter.
      Returns:
      - String

      Maps to Payflow Parameter: RETURNURL

    • setReturnUrl

      public void setReturnUrl(String returnUrl)
      Sets the Returnurl parameter.
      Parameters:
      returnUrl - - String

      Maps to Payflow Parameter: RETURNURL

    • getCancelUrl

      public String getCancelUrl()
      Gets the cancelUrl parameter.
      Returns:
      - String

      Maps to Payflow Parameter: CANCELURL

    • setCancelUrl

      public void setCancelUrl(String cancelUrl)
      Sets the cancelUrl parameter.
      Parameters:
      cancelUrl - - String

      Maps to Payflow Parameter: CANCELURL

    • getReqConfirmShipping

      public String getReqConfirmShipping()
      Gets the reqConfirmShipping parameter.
      Returns:
      - String

      Maps to Payflow Parameter: REQCONFIRMSHIPPING

    • setReqBillingAddress

      public void setReqBillingAddress(String reqBillingAddress)
      Sets the reqBillingAddress parameter.
      Parameters:
      reqBillingAddress - - String

      Maps to Payflow Parameter: REQBILLNGADDRESS

    • getReqBillingAddress

      public String getReqBillingAddress()
      Gets the reqBillingAddress parameter.
      Returns:
      - String

      Maps to Payflow Parameter: REQBILLNGADDRESS

    • setReqConfirmShipping

      public void setReqConfirmShipping(String reqConfirmShipping)
      Sets the reqConfirmShipping parameter.
      Parameters:
      reqConfirmShipping - - String

      Maps to Payflow Parameter: REQCONFIRMSHIPPING

    • getNoShipping

      public String getNoShipping()
      Gets the noShipping parameter.
      Returns:
      - String

      Maps to Payflow Parameter: NOSHIPPING

    • setNoShipping

      public void setNoShipping(String noShipping)
      Sets the noShipping parameter.
      Parameters:
      noShipping - - String

      Maps to Payflow Parameter: NOSHIPPING

    • getAddrOverride

      public String getAddrOverride()
      Gets the addrOverride parameter.
      Returns:
      - String

      Maps to Payflow Parameter: ADDOVERRIDE

    • setAddrOverride

      public void setAddrOverride(String addrOverride)
      Sets the addrOverride parameter.
      Parameters:
      addrOverride - - String

      Maps to Payflow Parameter: ADDROVERRIDE

    • getLocalecode

      public String getLocalecode()
      Gets the localecode parameter.
      Returns:
      - String

      Maps to Payflow Parameter: LOCALECODE

    • setLocalecode

      public void setLocalecode(String localecode)
      Sets the localecode parameter.
      Parameters:
      localecode - - String

      Maps to Payflow Parameter: LOCALECODE

    • getMaxAmt

      public Currency getMaxAmt()
      Gets the maxAmt parameter.
      Returns:
      - currency

      Maps to Payflow Parameter: MAXAMT

    • setMaxAmt

      public void setMaxAmt(Currency maxAmt)
      Sets the maxAmt parameter.
      Parameters:
      maxAmt - - Currency

      Maps to Payflow Parameter: MAXAMT

    • getPageStyle

      public String getPageStyle()
      Gets the pageStyle parameter.
      Returns:
      - String

      Maps to Payflow Parameter: PAGESTYLE

    • setPageStyle

      public void setPageStyle(String pageStyle)
      Sets the pageStyle parameter.
      Parameters:
      pageStyle - - String

      Maps to Payflow Parameter: PAGESTYLE

    • getHeaderImg

      public String getHeaderImg()
      Gets the HeaderImg parameter.
      Returns:
      - String

      Maps to Payflow Parameter: HDRIMG

    • setHeaderImg

      public void setHeaderImg(String headerImg)
      Sets the HeaderImg parameter.
      Parameters:
      headerImg - - String

      Maps to Payflow Parameter: HDRIMG

    • getHeaderBorderColor

      public String getHeaderBorderColor()
      Gets the headerBorderColor parameter.
      Returns:
      - String

      Maps to Payflow Parameter: HDRBORDERCOLOR

    • setHeaderBorderColor

      public void setHeaderBorderColor(String headerBorderColor)
      Sets the headerBorderColor parameter.
      Parameters:
      headerBorderColor - - String

      Maps to Payflow Parameter: HDRBORDERCOLOR

    • getHeaderBackColor

      public String getHeaderBackColor()
      Gets the headerBackColor parameter.
      Returns:
      - headerBackColor String

      Maps to Payflow Parameter: HDRBACKCOLOR

    • setHeaderBackColor

      public void setHeaderBackColor(String headerBackColor)
      Sets the headerBackColor parameter.
      Parameters:
      headerBackColor - - String

      Maps to Payflow Parameter: HDRBACKCOLOR

    • getPayFlowColor

      public String getPayFlowColor()
      Gets the payFlowColor parameter.
      Returns:
      - String

      Maps to Payflow Parameter: PAYFLOWCOLOR

    • setPayFlowColor

      public void setPayFlowColor(String payFlowColor)
      Sets the payFlowColor parameter.
      Parameters:
      payFlowColor - - String

      Maps to Payflow Parameter: PAYFLOWCOLOR

    • getba_Custom

      public String getba_Custom()
      Gets the paymentType parameter.
      Returns:
      - String

      Maps to Payflow Parameter: BA_CUSTOM

    • setba_Custom

      public void setba_Custom(String ba_Custom)
      Sets the paymentType parameter.
      Parameters:
      ba_Custom - - String

      Maps to Payflow Parameter: BA_CUSTOM

    • getpaymentType

      public String getpaymentType()
      Gets the paymentType parameter.
      Returns:
      - String

      Maps to Payflow Parameter: PAYMENTTYPE

    • setpaymentType

      public void setpaymentType(String paymentType)
      Sets the paymentType parameter.
      Parameters:
      paymentType - - String

      Maps to Payflow Parameter: PAYMENTTYPE

    • getba_Desc

      public String getba_Desc()
      Gets the ba_Desc parameter.
      Returns:
      - String

      Maps to Payflow Parameter: BA_DESC

    • setba_Desc

      public void setba_Desc(String ba_Desc)
      Sets the billingType parameter.
      Parameters:
      ba_Desc - - String

      Maps to Payflow Parameter: BA_DESC

    • getbillingType

      public String getbillingType()
      Gets the noShipping parameter.
      Returns:
      - String

      Maps to Payflow Parameter: NOSHIPPING

    • setbillingType

      public void setbillingType(String billingType)
      Sets the billingType parameter.
      Parameters:
      billingType - - String

      Maps to Payflow Parameter: BILLINGTYPE

    • getshiptoName

      public String getshiptoName()
      Gets the shiptoName parameter.
      Returns:
      - string

      Maps to Payflow Parameter: SHIPTONAME

    • setshiptoName

      public void setshiptoName(String shiptoName)
      Sets the shiptoName parameter.
      Parameters:
      shiptoName - - String

      Maps to Payflow Parameter: SHIPTONAME

    • getallowNote

      public String getallowNote()
      Gets the allowNote parameter.
      Returns:
      - string

      Maps to Payflow Parameter: ALLOWNOTE

    • setallowNote

      public void setallowNote(String allowNote)
      Sets the allowNote parameter.
      Parameters:
      allowNote - - String

      Maps to Payflow Parameter: ALLOWNOTE

    • generateRequest

      protected void generateRequest()
      Overrides:
      generateRequest in class ExpressCheckoutRequest
    • 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