java.lang.Object
org.broadleafcommerce.vendor.paypal.service.payment.PayPalRequest
Direct Known Subclasses:
PayPalAuthorizationRetrievalRequest, PayPalAuthorizeRequest, PayPalCaptureRequest, PayPalCaptureRetrievalRequest, PayPalCreateAgreementTokenRequest, PayPalCreateBillingAgreementRequest, PayPalCreatePaymentRequest, PayPalCreatePlanRequest, PayPalCreateWebProfileRequest, PayPalExecuteAgreementTokenRequest, PayPalExecuteBillingAgreementRequest, PayPalPaymentRetrievalRequest, PayPalRefundRequest, PayPalSaleRequest, PayPalSaleRetrievalRequest, PayPalUpdatePaymentRequest, PayPalUpdatePlanRequest, PayPalVoidRequest

public abstract class PayPalRequest extends Object
  • Field Details

    • executed

      protected Boolean executed
    • apiContext

      protected com.paypal.base.rest.APIContext apiContext
  • Constructor Details

    • PayPalRequest

      public PayPalRequest(com.paypal.base.rest.APIContext apiContext)
  • Method Details

    • execute

      public PayPalResponse execute() throws com.paypal.base.rest.PayPalRESTException
      Throws:
      com.paypal.base.rest.PayPalRESTException
    • isValid

      protected boolean isValid()
    • executeInternal

      protected abstract PayPalResponse executeInternal() throws com.paypal.base.rest.PayPalRESTException
      Throws:
      com.paypal.base.rest.PayPalRESTException
    • isRequestValid

      protected abstract boolean isRequestValid()