Class ExternalPayPalApiProperties


  • @ConfigurationProperties("broadleaf.paypal-checkout.api.provider")
    public class ExternalPayPalApiProperties
    extends Object
    The properties for the PayPal API configuration.
    Author:
    Dima Myroniuk (dmyroniuk)
    • Constructor Detail

      • ExternalPayPalApiProperties

        public ExternalPayPalApiProperties()
    • 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