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 Constructor Description ExternalPayPalApiProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getApiUrl()
The PayPal API URL.String
getAuthorizePaymentForOrderUri()
The URI to authorize the payment for an order.String
getCaptureAuthorizedPaymentUri()
The URI to capture an authorized payment, by ID.String
getCapturePaymentForOrderUri()
The URI to capture the payment for an order.String
getCreateOrderUri()
The URI to create the payment order.String
getRefundCapturedPaymentUri()
The URI to refund a captured payment, by IDString
getRetrieveAuthorizedPaymentDetailsUri()
The URI to retrieve the details for an authorized payment, by IDString
getRetrieveOrderDetailsUri()
The URI to read the order details.String
getUpdateOrderUri()
The URI to update the payment order.String
getVoidAuthorizedPaymentUri()
The URI to void, or cancel, an authorized payment, by IDvoid
init()
void
setApiUrl(String apiUrl)
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
-
-
-
Method Detail
-
init
@PostConstruct public void init()
-
getApiUrl
public String getApiUrl()
The PayPal API URL.
-
getRetrieveOrderDetailsUri
public String getRetrieveOrderDetailsUri()
The URI to read the order details.
-
getCreateOrderUri
public String getCreateOrderUri()
The URI to create the payment order.
-
getUpdateOrderUri
public String getUpdateOrderUri()
The URI to update the payment order.
-
getAuthorizePaymentForOrderUri
public String getAuthorizePaymentForOrderUri()
The URI to authorize the payment for an order.
-
getCapturePaymentForOrderUri
public String getCapturePaymentForOrderUri()
The URI to capture the payment for an order.
-
getRetrieveAuthorizedPaymentDetailsUri
public String getRetrieveAuthorizedPaymentDetailsUri()
The URI to retrieve the details for an authorized payment, by ID
-
getCaptureAuthorizedPaymentUri
public String getCaptureAuthorizedPaymentUri()
The URI to capture an authorized payment, by ID.
-
getVoidAuthorizedPaymentUri
public String getVoidAuthorizedPaymentUri()
The URI to void, or cancel, an authorized payment, by ID
-
getRefundCapturedPaymentUri
public String getRefundCapturedPaymentUri()
The URI to refund a captured payment, by ID
-
setApiUrl
public void setApiUrl(String apiUrl)
The PayPal API URL.
-
setRetrieveOrderDetailsUri
public void setRetrieveOrderDetailsUri(String retrieveOrderDetailsUri)
The URI to read the order details.
-
setCreateOrderUri
public void setCreateOrderUri(String createOrderUri)
The URI to create the payment order.
-
setUpdateOrderUri
public void setUpdateOrderUri(String updateOrderUri)
The URI to update the payment order.
-
setAuthorizePaymentForOrderUri
public void setAuthorizePaymentForOrderUri(String authorizePaymentForOrderUri)
The URI to authorize the payment for an order.
-
setCapturePaymentForOrderUri
public void setCapturePaymentForOrderUri(String capturePaymentForOrderUri)
The URI to capture the payment for an order.
-
setRetrieveAuthorizedPaymentDetailsUri
public void setRetrieveAuthorizedPaymentDetailsUri(String retrieveAuthorizedPaymentDetailsUri)
The URI to retrieve the details for an authorized payment, by ID
-
setCaptureAuthorizedPaymentUri
public void setCaptureAuthorizedPaymentUri(String captureAuthorizedPaymentUri)
The URI to capture an authorized payment, by ID.
-
setVoidAuthorizedPaymentUri
public void setVoidAuthorizedPaymentUri(String voidAuthorizedPaymentUri)
The URI to void, or cancel, an authorized payment, by ID
-
setRefundCapturedPaymentUri
public void setRefundCapturedPaymentUri(String refundCapturedPaymentUri)
The URI to refund a captured payment, by ID
-
-