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 WirecardCCPaymentController

java.lang.Object
  extended by org.torweg.pulse.bundle.Controller
      extended by org.torweg.pulse.component.shop.checkout.WirecardCCPaymentController
All Implemented Interfaces:
Configurable<WirecardCCPaymentControllerConfiguration>

public class WirecardCCPaymentController
extends Controller
implements Configurable<WirecardCCPaymentControllerConfiguration>

The WirecardCCPaymentController.

Version:
$Revision: 2064 $
Author:
Christian Schatt

Nested Class Summary
 
Nested classes/interfaces inherited from class org.torweg.pulse.bundle.Controller
Controller.AlwaysRun
 
Constructor Summary
WirecardCCPaymentController()
           
 
Method Summary
 PaymentControllerResult capture(Bundle bundle, ServiceRequest request)
          Capture the Wirecard credit card (CC) payment.
 PaymentControllerResult finishAuthorization(Bundle bundle, ServiceRequest request)
          Finish the authorization of the Wirecard credit card (CC) payment.
 void initialize(WirecardCCPaymentControllerConfiguration c)
          Initializes the WirecardCCPaymentController with the given WirecardCCPaymentControllerConfiguration.
 PaymentControllerResult startAuthorization(Bundle bundle, ServiceRequest request)
          Start the authorization of the Wirecard credit card (CC) payment.
 
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

WirecardCCPaymentController

public WirecardCCPaymentController()
Method Detail

startAuthorization

@Action(value="startWirecardCCPaymentAuthorization", generate=true, security=ALWAYS, stripSitemapID=false)
@Permission(value="startWirecardCCPaymentAuthorization")
@Groups(values="checkout")
public PaymentControllerResult startAuthorization(Bundle bundle, ServiceRequest request)
Start the authorization of the Wirecard credit card (CC) payment.

Parameters:
bundle - the Bundle.
request - the ServiceRequest.
Returns:
the PaymentControllerResult.

finishAuthorization

@Action(value="finishWirecardCCPaymentAuthorization", generate=true, security=ALWAYS, stripSitemapID=false)
@Permission(value="finishWirecardCCPaymentAuthorization")
@Groups(values="checkout")
public PaymentControllerResult finishAuthorization(Bundle bundle, ServiceRequest request)
Finish the authorization of the Wirecard credit card (CC) payment.

Parameters:
bundle - the Bundle.
request - the ServiceRequest.
Returns:
the PaymentControllerResult.

capture

@Action(value="captureWirecardCCPayment", generate=true, security=ALWAYS, stripSitemapID=false)
@Permission(value="captureWirecardCCPayment")
@Groups(values="checkout")
public PaymentControllerResult capture(Bundle bundle, ServiceRequest request)
Capture the Wirecard credit card (CC) payment.

Parameters:
bundle - the Bundle.
request - the ServiceRequest.
Returns:
the PaymentControllerResult.

initialize

public void initialize(WirecardCCPaymentControllerConfiguration c)
Initializes the WirecardCCPaymentController with the given WirecardCCPaymentControllerConfiguration.

Specified by:
initialize in interface Configurable<WirecardCCPaymentControllerConfiguration>
Parameters:
c - the WirecardCCPaymentControllerConfiguration.
Throws:
java.lang.IllegalArgumentException - if the given WirecardCCPaymentControllerConfiguration is null.