public class PayPalReAuthorizeRequest extends AbstractPayPalRequest<com.paypal.payments.Authorization,com.paypal.payments.AuthorizationsReauthorizeRequest>
| Constructor and Description |
|---|
PayPalReAuthorizeRequest(PayPalClientProvider clientProvider,
org.broadleafcommerce.common.payment.dto.PaymentRequestDTO paymentRequest,
String authId,
com.paypal.payments.ReauthorizeRequest reauthorizeRequest) |
| Modifier and Type | Method and Description |
|---|---|
protected com.paypal.payments.AuthorizationsReauthorizeRequest |
buildRequest()
Method to build out
AbstractPayPalRequest.request and provide it the implementation-specific configuration
such as headers and request body. |
protected AbstractPayPalResponse<com.paypal.payments.Authorization> |
executeInternal()
Executes the configured
AbstractPayPalRequest.request using the PayPalHttpClient. |
protected String |
getAuthId() |
protected com.paypal.payments.ReauthorizeRequest |
getReauthorizeRequest() |
protected boolean |
isValidInternal()
Implementation specific determination of whether the request can be executed.
|
configureRequest, execute, getClient, getClientProvider, getPaymentRequest, getRequest, isExecuted, isValidpublic PayPalReAuthorizeRequest(PayPalClientProvider clientProvider, org.broadleafcommerce.common.payment.dto.PaymentRequestDTO paymentRequest, String authId, com.paypal.payments.ReauthorizeRequest reauthorizeRequest)
protected com.paypal.payments.AuthorizationsReauthorizeRequest buildRequest()
AbstractPayPalRequestAbstractPayPalRequest.request and provide it the implementation-specific configuration
such as headers and request body.buildRequest in class AbstractPayPalRequest<com.paypal.payments.Authorization,com.paypal.payments.AuthorizationsReauthorizeRequest>protected AbstractPayPalResponse<com.paypal.payments.Authorization> executeInternal() throws IOException
AbstractPayPalRequestAbstractPayPalRequest.request using the PayPalHttpClient.executeInternal in class AbstractPayPalRequest<com.paypal.payments.Authorization,com.paypal.payments.AuthorizationsReauthorizeRequest>IOException - Thrown if the request execution fails.protected boolean isValidInternal()
AbstractPayPalRequestisValidInternal in class AbstractPayPalRequest<com.paypal.payments.Authorization,com.paypal.payments.AuthorizationsReauthorizeRequest>protected String getAuthId()
protected com.paypal.payments.ReauthorizeRequest getReauthorizeRequest()
Copyright © 2021. All rights reserved.