Interface PaymentProviderActionConfiguration
- All Known Implementing Classes:
EventPaymentProviderActionConfiguration
public interface PaymentProviderActionConfiguration
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final record
-
Method Summary
Modifier and TypeMethodDescriptionbuildOverviewEntityBean
(Entity entity, String formName) getOverviewEntityBean
(Entity order) returns model, form and key of the entity to be shown on payment summarygetPaymentMethodCondition
(Entity order) getPayrexxAccount
(Entity order) boolean
isApplicable
(Entity order)
-
Method Details
-
isApplicable
- 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
- Returns:
- a condition for Payment_method entities to be used for the given Order
-
getPayrexxAccount
- 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)
-