Class PayPalGatewayConfiguration
java.lang.Object
com.broadleafcommerce.paypal.micro.gateway.autoconfigure.PayPalGatewayConfiguration
- All Implemented Interfaces:
com.broadleafcommerce.paymentgateway.service.PaymentGatewayConfiguration,com.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware
@ConfigurationProperties("broadleaf.paypal-checkout.gateway")
public class PayPalGatewayConfiguration
extends Object
implements com.broadleafcommerce.paymentgateway.service.PaymentGatewayConfiguration
Default implementation of
PaymentGatewayConfiguration. This supports authorizations,
captures, auth-and-captures, refunds, reverse-authorizations, and voids.- Author:
- Nathan Moore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe algorithm used to generate an HMAC token for shipping callback validation.The private key used to generate an HMAC token for shipping callback validation.intDetermines how many times a transaction failure is reported.getGatewayReferenceForTransactionIdByType(@NonNull String transactionType) The PayPal Order statuses that are valid during shipping callback validation.voidsetCallbackTokenHmacKey(String callbackTokenHmacKey) The private key used to generate an HMAC token for shipping callback validation.voidsetFailureReportingThreshold(int failureReportingThreshold) Determines how many times a transaction failure is reported.voidsetGatewayReferenceForTransactionId(Map<String, String> gatewayReferenceForTransactionId) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.broadleafcommerce.paymentgateway.service.PaymentGatewayConfiguration
gatewayReferenceToTransactionId, handlesAuthorize, handlesAuthorizeAndCapture, handlesCapture, handlesMultiplePayments, handlesMultipleShipment, handlesPartialCapture, handlesRecurringPayment, handlesRefund, handlesReverseAuthorize, handlesSavedCustomerPayment
-
Constructor Details
-
PayPalGatewayConfiguration
public PayPalGatewayConfiguration()
-
-
Method Details
-
getGatewayReferenceForTransactionIdByType
- Specified by:
getGatewayReferenceForTransactionIdByTypein interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayConfiguration
-
getFailureReportingThreshold
public int getFailureReportingThreshold()Determines how many times a transaction failure is reported. Default is once.- Specified by:
getFailureReportingThresholdin interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayConfiguration
-
setFailureReportingThreshold
public void setFailureReportingThreshold(int failureReportingThreshold) Determines how many times a transaction failure is reported. Default is once.- Specified by:
setFailureReportingThresholdin interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayConfiguration
-
getSupportedTransactionTypes
- Specified by:
getSupportedTransactionTypesin interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayConfiguration- See Also:
-
getSupportedFeatures
- Specified by:
getSupportedFeaturesin interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayConfiguration- See Also:
-
getCallbackTokenHmacKey
The private key used to generate an HMAC token for shipping callback validation.- Since:
- Micro PayPal 3.0.3, Release Train 2.3.0
-
setCallbackTokenHmacKey
The private key used to generate an HMAC token for shipping callback validation.- Since:
- Micro PayPal 3.0.3, Release Train 2.3.0
-
getCallbackTokenHmacAlgorithm
The algorithm used to generate an HMAC token for shipping callback validation.- Since:
- Micro PayPal 3.0.3, Release Train 2.3.0
-
getValidOrderCallbackStatuses
The PayPal Order statuses that are valid during shipping callback validation.- Since:
- Micro PayPal 3.0.3, Release Train 2.3.0
-
getGatewayReferenceForTransactionId
- Since:
- Micro PayPal 3.0.3, Release Train 2.3.0
-
setGatewayReferenceForTransactionId
public void setGatewayReferenceForTransactionId(Map<String, String> gatewayReferenceForTransactionId) - Since:
- Micro PayPal 3.0.3, Release Train 2.3.0
-
getGatewayType
- Specified by:
getGatewayTypein interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware- See Also:
-