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 Details

    • PayPalGatewayConfiguration

      public PayPalGatewayConfiguration()
  • Method Details

    • getGatewayReferenceForTransactionIdByType

      public String getGatewayReferenceForTransactionIdByType(@NonNull @NonNull String transactionType)
      Specified by:
      getGatewayReferenceForTransactionIdByType in interface com.broadleafcommerce.paymentgateway.service.PaymentGatewayConfiguration
    • getFailureReportingThreshold

      public int getFailureReportingThreshold()
      Determines how many times a transaction failure is reported. Default is once.
      Specified by:
      getFailureReportingThreshold in interface com.broadleafcommerce.paymentgateway.service.PaymentGatewayConfiguration
    • setFailureReportingThreshold

      public void setFailureReportingThreshold(int failureReportingThreshold)
      Determines how many times a transaction failure is reported. Default is once.
      Specified by:
      setFailureReportingThreshold in interface com.broadleafcommerce.paymentgateway.service.PaymentGatewayConfiguration
    • getSupportedTransactionTypes

      public Set<String> getSupportedTransactionTypes()
      Specified by:
      getSupportedTransactionTypes in interface com.broadleafcommerce.paymentgateway.service.PaymentGatewayConfiguration
      See Also:
    • getSupportedFeatures

      public Set<String> getSupportedFeatures()
      Specified by:
      getSupportedFeatures in interface com.broadleafcommerce.paymentgateway.service.PaymentGatewayConfiguration
      See Also:
    • getCallbackTokenHmacKey

      public String 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

      public void setCallbackTokenHmacKey(String callbackTokenHmacKey)
      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

      public String 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

      public List<String> getValidOrderCallbackStatuses()
      The PayPal Order statuses that are valid during shipping callback validation.
      Since:
      Micro PayPal 3.0.3, Release Train 2.3.0
    • getGatewayReferenceForTransactionId

      public Map<String,String> 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

      public String getGatewayType()
      Specified by:
      getGatewayType in interface com.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware
      See Also: