Class PayPalReAuthorizeRequest

  • All Implemented Interfaces:
    PayPalRequest

    public class PayPalReAuthorizeRequest
    extends AbstractPayPalRequest<com.paypal.payments.Authorization,​com.paypal.payments.AuthorizationsReauthorizeRequest>
    Author:
    Nathan Moore (nathandmoore)
    • Constructor Detail

      • PayPalReAuthorizeRequest

        public PayPalReAuthorizeRequest​(PayPalClientProvider clientProvider,
                                        com.broadleafcommerce.paymentgateway.domain.PaymentRequest paymentRequest,
                                        String authId,
                                        com.paypal.payments.ReauthorizeRequest reauthorizeRequest)
    • Method Detail

      • buildRequest

        protected com.paypal.payments.AuthorizationsReauthorizeRequest buildRequest()
        Description copied from class: AbstractPayPalRequest
        Method to build out AbstractPayPalRequest.request and provide it the implementation-specific configuration such as headers and request body.
        Specified by:
        buildRequest in class AbstractPayPalRequest<com.paypal.payments.Authorization,​com.paypal.payments.AuthorizationsReauthorizeRequest>
        Returns:
        The configured request
      • isValidInternal

        protected boolean isValidInternal()
        Description copied from class: AbstractPayPalRequest
        Implementation specific determination of whether the request can be executed.
        Specified by:
        isValidInternal in class AbstractPayPalRequest<com.paypal.payments.Authorization,​com.paypal.payments.AuthorizationsReauthorizeRequest>
        Returns:
        Whether the request can be executed or is in an erroneous state.
      • getAuthId

        protected String getAuthId()
      • getReauthorizeRequest

        protected com.paypal.payments.ReauthorizeRequest getReauthorizeRequest()