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