Class ExternalPayPalApiProperties
java.lang.Object
com.broadleafcommerce.paypal.micro.gateway.service.provider.external.ExternalPayPalApiProperties
@ConfigurationProperties("broadleaf.paypal-checkout.api.provider")
public class ExternalPayPalApiProperties
extends Object
The properties for the PayPal API configuration.
- Author:
- Dima Myroniuk (dmyroniuk)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe PayPal API URL.The URI to authorize the payment for an order.The URI to capture an authorized payment, by ID.The URI to capture the payment for an order.The URI to create the payment order.The URI to refund a captured payment, by IDThe URI to retrieve the details for an authorized payment, by IDThe URI to read the order details.The URI to update the payment order.The URI to void, or cancel, an authorized payment, by IDvoid
init()
void
The PayPal API URL.void
setAuthorizePaymentForOrderUri
(String authorizePaymentForOrderUri) The URI to authorize the payment for an order.void
setCaptureAuthorizedPaymentUri
(String captureAuthorizedPaymentUri) The URI to capture an authorized payment, by ID.void
setCapturePaymentForOrderUri
(String capturePaymentForOrderUri) The URI to capture the payment for an order.void
setCreateOrderUri
(String createOrderUri) The URI to create the payment order.void
setRefundCapturedPaymentUri
(String refundCapturedPaymentUri) The URI to refund a captured payment, by IDvoid
setRetrieveAuthorizedPaymentDetailsUri
(String retrieveAuthorizedPaymentDetailsUri) The URI to retrieve the details for an authorized payment, by IDvoid
setRetrieveOrderDetailsUri
(String retrieveOrderDetailsUri) The URI to read the order details.void
setUpdateOrderUri
(String updateOrderUri) The URI to update the payment order.void
setVoidAuthorizedPaymentUri
(String voidAuthorizedPaymentUri) The URI to void, or cancel, an authorized payment, by ID
-
Constructor Details
-
ExternalPayPalApiProperties
public ExternalPayPalApiProperties()
-
-
Method Details
-
init
@PostConstruct public void init() -
getApiUrl
The PayPal API URL. -
getRetrieveOrderDetailsUri
The URI to read the order details. -
getCreateOrderUri
The URI to create the payment order. -
getUpdateOrderUri
The URI to update the payment order. -
getAuthorizePaymentForOrderUri
The URI to authorize the payment for an order. -
getCapturePaymentForOrderUri
The URI to capture the payment for an order. -
getRetrieveAuthorizedPaymentDetailsUri
The URI to retrieve the details for an authorized payment, by ID -
getCaptureAuthorizedPaymentUri
The URI to capture an authorized payment, by ID. -
getVoidAuthorizedPaymentUri
The URI to void, or cancel, an authorized payment, by ID -
getRefundCapturedPaymentUri
The URI to refund a captured payment, by ID -
setApiUrl
The PayPal API URL. -
setRetrieveOrderDetailsUri
The URI to read the order details. -
setCreateOrderUri
The URI to create the payment order. -
setUpdateOrderUri
The URI to update the payment order. -
setAuthorizePaymentForOrderUri
The URI to authorize the payment for an order. -
setCapturePaymentForOrderUri
The URI to capture the payment for an order. -
setRetrieveAuthorizedPaymentDetailsUri
The URI to retrieve the details for an authorized payment, by ID -
setCaptureAuthorizedPaymentUri
The URI to capture an authorized payment, by ID. -
setVoidAuthorizedPaymentUri
The URI to void, or cancel, an authorized payment, by ID -
setRefundCapturedPaymentUri
The URI to refund a captured payment, by ID
-