Interface PaymentProviderActionConfiguration

All Known Implementing Classes:
EventPaymentProviderActionConfiguration

public interface PaymentProviderActionConfiguration
  • Method Details

    • isApplicable

      boolean isApplicable(Entity order)
      Returns:
      true if this configuration should be used for the given Order
    • getOverviewEntityBean

      @Nullable @Nullable PaymentProviderActionConfiguration.OverviewEntityBean getOverviewEntityBean(Entity order)
      returns model, form and key of the entity to be shown on payment summary
      Parameters:
      order - the Order to be displayed
      Returns:
      a bean containing the overview entity data, null if none should be shown
    • getPaymentMethodCondition

      Condition getPaymentMethodCondition(Entity order)
      Returns:
      a condition for Payment_method entities to be used for the given Order
    • getPayrexxAccount

      Entity getPayrexxAccount(Entity order)
      Returns:
      the Payrexx_account to use for the given Order, null if default account should be used
    • buildOverviewEntityBean

      default PaymentProviderActionConfiguration.OverviewEntityBean buildOverviewEntityBean(Entity entity, String formName)