Class PayrexxGatewayServiceImpl
java.lang.Object
ch.tocco.nice2.optional.onlinepayment.impl.payrexx.PayrexxGatewayServiceImpl
- All Implemented Interfaces:
PayrexxGatewayService
-
Constructor Summary
ConstructorDescriptionPayrexxGatewayServiceImpl
(PersistenceService persistenceService, QueryBuilderFactory queryBuilderFactory, BusinessUnitManager businessUnitManager, SecurityManager securityManager, PayrexxService payrexxService) -
Method Summary
Modifier and TypeMethodDescriptioncreateGatewayForOrder
(Entity order, Entity paymentMethod, @Nullable Entity payrexxAccount, @Nullable String successRedirectUrl, @Nullable String failedRedirectUrl, @Nullable String cancelledRedirectUrl) void
setValidity
(int validity)
-
Constructor Details
-
PayrexxGatewayServiceImpl
public PayrexxGatewayServiceImpl(PersistenceService persistenceService, QueryBuilderFactory queryBuilderFactory, BusinessUnitManager businessUnitManager, SecurityManager securityManager, PayrexxService payrexxService)
-
-
Method Details
-
createGatewayForOrder
public String createGatewayForOrder(Entity order, Entity paymentMethod, @Nullable @Nullable Entity payrexxAccount, @Nullable @Nullable String successRedirectUrl, @Nullable @Nullable String failedRedirectUrl, @Nullable @Nullable String cancelledRedirectUrl) - Specified by:
createGatewayForOrder
in interfacePayrexxGatewayService
-
setValidity
@Value("${nice2.optional.onlinepayment.payrexxGatewayValidity}") public void setValidity(int validity)
-