org.torweg.pulse.component.shop.checkout
Class WirecardEFTPaymentController
java.lang.Object
org.torweg.pulse.bundle.Controller
org.torweg.pulse.component.shop.checkout.WirecardEFTPaymentController
- All Implemented Interfaces:
- Configurable<WirecardPaymentControllerConfiguration>
public class WirecardEFTPaymentController
- extends Controller
- implements Configurable<WirecardPaymentControllerConfiguration>
The WirecardEFTPaymentController.
- Version:
- $Revision: 1980 $
- Author:
- Christian Schatt
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WirecardEFTPaymentController
public WirecardEFTPaymentController()
authorize
@Action(value="authorizeWirecardEFTPayment", generate=true, security=ALWAYS, stripSitemapID=false)
@Permission(value="authorizeWirecardEFTPayment")
@Groups(values="checkout")
public PaymentControllerResult authorize(Bundle bundle, ServiceRequest request)
- Authorize the Wirecard electronic funds transfer (EFT) payment.
- Parameters:
bundle - the Bundle.request - the ServiceRequest.
- Returns:
- the
PaymentControllerResult.
capture
@Action(value="captureWirecardEFTPayment", generate=true, security=ALWAYS, stripSitemapID=false)
@Permission(value="captureWirecardEFTPayment")
@Groups(values="checkout")
public PaymentControllerResult capture(Bundle bundle, ServiceRequest request)
- Capture the Wirecard electronic funds transfer (EFT) payment.
- Parameters:
bundle - the Bundle.request - the ServiceRequest.
- Returns:
- the
PaymentControllerResult.
initialize
public void initialize(WirecardPaymentControllerConfiguration c)
- Initializes the
WirecardEFTPaymentController with the given
WirecardPaymentControllerConfiguration.
- Specified by:
initialize in interface Configurable<WirecardPaymentControllerConfiguration>
- Parameters:
c - the WirecardPaymentControllerConfiguration.
- Throws:
java.lang.IllegalArgumentException - if the given WirecardPaymentControllerConfiguration
is null.