Class PayPalUpdateOrderRequest
- java.lang.Object
 - 
- com.broadleafcommerce.paypal.micro.domain.api.AbstractPayPalRequest<Void>
 - 
- com.broadleafcommerce.paypal.micro.domain.api.PayPalUpdateOrderRequest
 
 
 
- 
- All Implemented Interfaces:
 PayPalRequest
public class PayPalUpdateOrderRequest extends AbstractPayPalRequest<Void>
 
- 
- 
Constructor Summary
Constructors Constructor Description PayPalUpdateOrderRequest(PayPalApiProvider apiProvider, com.broadleafcommerce.paymentgateway.domain.PaymentRequest paymentRequest, String orderId, List<Patch> patches) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AbstractPayPalResponse<Void>executeInternal(String applicationId, String tenantId)Executes the configured request using thePayPalApiProvider.protected StringgetOrderId()protected List<Patch>getPatches()protected booleanisValidInternal()Implementation specific determination of whether the request can be executed.- 
Methods inherited from class com.broadleafcommerce.paypal.micro.domain.api.AbstractPayPalRequest
buildIdempotencyKey, configureRequestHeaders, execute, getPaymentRequest, getPayPalApiProvider, isExecuted, isValid, preferMinimalHeader, preferRepresentationHeader 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
PayPalUpdateOrderRequest
public PayPalUpdateOrderRequest(PayPalApiProvider apiProvider, com.broadleafcommerce.paymentgateway.domain.PaymentRequest paymentRequest, String orderId, List<Patch> patches)
 
 - 
 
- 
Method Detail
- 
executeInternal
protected AbstractPayPalResponse<Void> executeInternal(@Nullable String applicationId, @Nullable String tenantId) throws PayPalProviderApiException
Description copied from class:AbstractPayPalRequestExecutes the configured request using thePayPalApiProvider.- Specified by:
 executeInternalin classAbstractPayPalRequest<Void>- Parameters:
 applicationId- the application IDtenantId- the tenant ID- Returns:
 - The response from PayPal
 - Throws:
 PayPalProviderApiException- Thrown if the request execution fails.
 
- 
isValidInternal
protected boolean isValidInternal()
Description copied from class:AbstractPayPalRequestImplementation specific determination of whether the request can be executed.- Specified by:
 isValidInternalin classAbstractPayPalRequest<Void>- Returns:
 - Whether the request can be executed or is in an erroneous state.
 
 
- 
getOrderId
protected String getOrderId()
 
 - 
 
 -