Class SamplePaymentGatewayConfigurationImpl

java.lang.Object
org.broadleafcommerce.common.payment.service.AbstractPaymentGatewayConfiguration
org.broadleafcommerce.payment.service.gateway.SamplePaymentGatewayConfigurationImpl
All Implemented Interfaces:
org.broadleafcommerce.common.payment.service.PaymentGatewayConfiguration, SamplePaymentGatewayConfiguration

@Service("blSamplePaymentGatewayConfiguration") public class SamplePaymentGatewayConfigurationImpl extends org.broadleafcommerce.common.payment.service.AbstractPaymentGatewayConfiguration implements SamplePaymentGatewayConfiguration
In order to use load this demo service, you will need to component scan the package "com.broadleafcommerce". This should NOT be used in production, and is meant solely for demonstration purposes only.
Author:
Elbert Bautista (elbertbautista)
  • Field Details

    • failureReportingThreshold

      protected int failureReportingThreshold
    • performAuthorizeAndCapture

      protected boolean performAuthorizeAndCapture
  • Constructor Details

    • SamplePaymentGatewayConfigurationImpl

      public SamplePaymentGatewayConfigurationImpl()
  • Method Details

    • getTransparentRedirectUrl

      public String getTransparentRedirectUrl()
      Specified by:
      getTransparentRedirectUrl in interface SamplePaymentGatewayConfiguration
    • getTransparentRedirectReturnUrl

      public String getTransparentRedirectReturnUrl()
      Specified by:
      getTransparentRedirectReturnUrl in interface SamplePaymentGatewayConfiguration
    • getCustomerPaymentTransparentRedirectUrl

      public String getCustomerPaymentTransparentRedirectUrl()
      Specified by:
      getCustomerPaymentTransparentRedirectUrl in interface SamplePaymentGatewayConfiguration
    • getCustomerPaymentTransparentRedirectReturnUrl

      public String getCustomerPaymentTransparentRedirectReturnUrl()
      Specified by:
      getCustomerPaymentTransparentRedirectReturnUrl in interface SamplePaymentGatewayConfiguration
    • isPerformAuthorizeAndCapture

      public boolean isPerformAuthorizeAndCapture()
      Specified by:
      isPerformAuthorizeAndCapture in interface org.broadleafcommerce.common.payment.service.PaymentGatewayConfiguration
      Overrides:
      isPerformAuthorizeAndCapture in class org.broadleafcommerce.common.payment.service.AbstractPaymentGatewayConfiguration
    • setPerformAuthorizeAndCapture

      public void setPerformAuthorizeAndCapture(boolean performAuthorizeAndCapture)
      Specified by:
      setPerformAuthorizeAndCapture in interface org.broadleafcommerce.common.payment.service.PaymentGatewayConfiguration
      Overrides:
      setPerformAuthorizeAndCapture in class org.broadleafcommerce.common.payment.service.AbstractPaymentGatewayConfiguration
    • getFailureReportingThreshold

      public int getFailureReportingThreshold()
      Specified by:
      getFailureReportingThreshold in interface org.broadleafcommerce.common.payment.service.PaymentGatewayConfiguration
      Overrides:
      getFailureReportingThreshold in class org.broadleafcommerce.common.payment.service.AbstractPaymentGatewayConfiguration
    • setFailureReportingThreshold

      public void setFailureReportingThreshold(int failureReportingThreshold)
      Specified by:
      setFailureReportingThreshold in interface org.broadleafcommerce.common.payment.service.PaymentGatewayConfiguration
      Overrides:
      setFailureReportingThreshold in class org.broadleafcommerce.common.payment.service.AbstractPaymentGatewayConfiguration
    • handlesAuthorize

      public boolean handlesAuthorize()
      Specified by:
      handlesAuthorize in interface org.broadleafcommerce.common.payment.service.PaymentGatewayConfiguration
      Overrides:
      handlesAuthorize in class org.broadleafcommerce.common.payment.service.AbstractPaymentGatewayConfiguration
    • handlesCapture

      public boolean handlesCapture()
      Specified by:
      handlesCapture in interface org.broadleafcommerce.common.payment.service.PaymentGatewayConfiguration
      Overrides:
      handlesCapture in class org.broadleafcommerce.common.payment.service.AbstractPaymentGatewayConfiguration
    • handlesAuthorizeAndCapture

      public boolean handlesAuthorizeAndCapture()
      Specified by:
      handlesAuthorizeAndCapture in interface org.broadleafcommerce.common.payment.service.PaymentGatewayConfiguration
      Overrides:
      handlesAuthorizeAndCapture in class org.broadleafcommerce.common.payment.service.AbstractPaymentGatewayConfiguration
    • handlesReverseAuthorize

      public boolean handlesReverseAuthorize()
      Specified by:
      handlesReverseAuthorize in interface org.broadleafcommerce.common.payment.service.PaymentGatewayConfiguration
      Overrides:
      handlesReverseAuthorize in class org.broadleafcommerce.common.payment.service.AbstractPaymentGatewayConfiguration
    • handlesVoid

      public boolean handlesVoid()
      Specified by:
      handlesVoid in interface org.broadleafcommerce.common.payment.service.PaymentGatewayConfiguration
      Overrides:
      handlesVoid in class org.broadleafcommerce.common.payment.service.AbstractPaymentGatewayConfiguration
    • handlesRefund

      public boolean handlesRefund()
      Specified by:
      handlesRefund in interface org.broadleafcommerce.common.payment.service.PaymentGatewayConfiguration
      Overrides:
      handlesRefund in class org.broadleafcommerce.common.payment.service.AbstractPaymentGatewayConfiguration
    • handlesPartialCapture

      public boolean handlesPartialCapture()
      Specified by:
      handlesPartialCapture in interface org.broadleafcommerce.common.payment.service.PaymentGatewayConfiguration
      Overrides:
      handlesPartialCapture in class org.broadleafcommerce.common.payment.service.AbstractPaymentGatewayConfiguration
    • handlesMultipleShipment

      public boolean handlesMultipleShipment()
      Specified by:
      handlesMultipleShipment in interface org.broadleafcommerce.common.payment.service.PaymentGatewayConfiguration
      Overrides:
      handlesMultipleShipment in class org.broadleafcommerce.common.payment.service.AbstractPaymentGatewayConfiguration
    • handlesRecurringPayment

      public boolean handlesRecurringPayment()
      Specified by:
      handlesRecurringPayment in interface org.broadleafcommerce.common.payment.service.PaymentGatewayConfiguration
      Overrides:
      handlesRecurringPayment in class org.broadleafcommerce.common.payment.service.AbstractPaymentGatewayConfiguration
    • handlesSavedCustomerPayment

      public boolean handlesSavedCustomerPayment()
      Specified by:
      handlesSavedCustomerPayment in interface org.broadleafcommerce.common.payment.service.PaymentGatewayConfiguration
      Overrides:
      handlesSavedCustomerPayment in class org.broadleafcommerce.common.payment.service.AbstractPaymentGatewayConfiguration
    • handlesMultiplePayments

      public boolean handlesMultiplePayments()
      Specified by:
      handlesMultiplePayments in interface org.broadleafcommerce.common.payment.service.PaymentGatewayConfiguration
      Overrides:
      handlesMultiplePayments in class org.broadleafcommerce.common.payment.service.AbstractPaymentGatewayConfiguration
    • getGatewayType

      public org.broadleafcommerce.common.payment.PaymentGatewayType getGatewayType()
      Specified by:
      getGatewayType in interface org.broadleafcommerce.common.payment.service.PaymentGatewayConfiguration
      Overrides:
      getGatewayType in class org.broadleafcommerce.common.payment.service.AbstractPaymentGatewayConfiguration