Interface PaymentGatewayConfiguration

    • Method Detail

      • getSupportedFeatures

        Set<String> getSupportedFeatures()
        The set of features this gateway supports such as 3D Secure, multi-use payment methods, and pay later.
        Returns:
        The set of features this gateway supports.
        See Also:
        DefaultGatewayFeatureType
      • getFailureReportingThreshold

        default int getFailureReportingThreshold()

        All payment gateway classes that intend to make an external call, either manually from an HTTP Post or through an SDK which makes its own external call, should extend the AbstractExternalPaymentGatewayCall class. One of the configuration parameters is the failure reporting threshold.

        See Also:
        AbstractExternalPaymentGatewayCall
      • setFailureReportingThreshold

        default void setFailureReportingThreshold​(int failureReportingThreshold)

        All payment gateway classes that intend to make an external call, either manually from an HTTP Post or through an SDK which makes its own external call, should extend the AbstractExternalPaymentGatewayCall class. One of the configuration parameters is the failure reporting threshold.

        See Also:
        AbstractExternalPaymentGatewayCall
      • handlesAuthorize

        default boolean handlesAuthorize()
      • handlesCapture

        default boolean handlesCapture()
      • handlesAuthorizeAndCapture

        default boolean handlesAuthorizeAndCapture()
      • handlesReverseAuthorize

        default boolean handlesReverseAuthorize()
      • handlesRefund

        default boolean handlesRefund()
      • handlesPartialCapture

        default boolean handlesPartialCapture()
      • handlesRecurringPayment

        default boolean handlesRecurringPayment()
      • handlesSavedCustomerPayment

        default boolean handlesSavedCustomerPayment()
      • handlesMultipleShipment

        @Deprecated
        default boolean handlesMultipleShipment()
        Deprecated.
        This is not relevant for gateways
      • handlesMultiplePayments

        @Deprecated
        default boolean handlesMultiplePayments()
        Deprecated.
        This is not relevant for the gateways

        Denotes whether or not this payment provider supports multiple payments on an order. For instance, a gift card provider might want to support multiple gift cards on a single order but a credit card provider may not support payment with multiple credit cards.

        If a provider does not support multiple payments in an order then that means that all payments are deleted (archived) on an order whenever a new payment of that type is attempted to be added to the order.