Class ExternalPayPalApiProperties
- java.lang.Object
-
- com.broadleafcommerce.paypal.micro.gateway.service.provider.external.ExternalPayPalApiProperties
-
@ConfigurationProperties("broadleaf.paypal-checkout.api.provider") public class ExternalPayPalApiProperties extends ObjectThe 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 StringgetApiUrl()The PayPal API URL.StringgetAuthorizePaymentForOrderUri()The URI to authorize the payment for an order.StringgetCaptureAuthorizedPaymentUri()The URI to capture an authorized payment, by ID.StringgetCapturePaymentForOrderUri()The URI to capture the payment for an order.StringgetCreateOrderUri()The URI to create the payment order.StringgetRefundCapturedPaymentUri()The URI to refund a captured payment, by IDStringgetRetrieveAuthorizedPaymentDetailsUri()The URI to retrieve the details for an authorized payment, by IDStringgetRetrieveOrderDetailsUri()The URI to read the order details.StringgetUpdateOrderUri()The URI to update the payment order.StringgetVoidAuthorizedPaymentUri()The URI to void, or cancel, an authorized payment, by IDvoidinit()voidsetApiUrl(String apiUrl)The PayPal API URL.voidsetAuthorizePaymentForOrderUri(String authorizePaymentForOrderUri)The URI to authorize the payment for an order.voidsetCaptureAuthorizedPaymentUri(String captureAuthorizedPaymentUri)The URI to capture an authorized payment, by ID.voidsetCapturePaymentForOrderUri(String capturePaymentForOrderUri)The URI to capture the payment for an order.voidsetCreateOrderUri(String createOrderUri)The URI to create the payment order.voidsetRefundCapturedPaymentUri(String refundCapturedPaymentUri)The URI to refund a captured payment, by IDvoidsetRetrieveAuthorizedPaymentDetailsUri(String retrieveAuthorizedPaymentDetailsUri)The URI to retrieve the details for an authorized payment, by IDvoidsetRetrieveOrderDetailsUri(String retrieveOrderDetailsUri)The URI to read the order details.voidsetUpdateOrderUri(String updateOrderUri)The URI to update the payment order.voidsetVoidAuthorizedPaymentUri(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
-
-