pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.component.shop.checkout
Class WirecardEFTPaymentController

java.lang.Object
  extended by org.torweg.pulse.bundle.Controller
      extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.torweg.pulse.bundle.Controller
Controller.AlwaysRun
 
Constructor Summary
WirecardEFTPaymentController()
           
 
Method Summary
 PaymentControllerResult authorize(Bundle bundle, ServiceRequest request)
          Authorize the Wirecard electronic funds transfer (EFT) payment.
 PaymentControllerResult capture(Bundle bundle, ServiceRequest request)
          Capture the Wirecard electronic funds transfer (EFT) payment.
 void initialize(WirecardPaymentControllerConfiguration c)
          Initializes the WirecardEFTPaymentController with the given WirecardPaymentControllerConfiguration.
 
Methods inherited from class org.torweg.pulse.bundle.Controller
getAlwaysRun, isAlwaysRun, setAlwaysRun
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WirecardEFTPaymentController

public WirecardEFTPaymentController()
Method Detail

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.