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 InvoicePaymentController

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

public class InvoicePaymentController
extends Controller
implements Configurable<InvoicePaymentControllerConfiguration>

The InvoicePaymentController.

Version:
$Revision$
Author:
Christian Schatt

Nested Class Summary
 
Nested classes/interfaces inherited from class org.torweg.pulse.bundle.Controller
Controller.AlwaysRun
 
Constructor Summary
InvoicePaymentController()
           
 
Method Summary
 PaymentControllerResult authorize(Bundle bundle, ServiceRequest request)
          Authorizes the payment.
 PaymentControllerResult capture(Bundle bundle, ServiceRequest request)
          Captures the payment.
 void initialize(InvoicePaymentControllerConfiguration c)
          Does nothing.
 
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

InvoicePaymentController

public InvoicePaymentController()
Method Detail

authorize

@Action(value="authorizeInvoicePayment", generate=true, security=ALWAYS, stripSitemapID=false)
@Permission(value="authorizeInvoicePayment")
@Groups(values="checkout")
public PaymentControllerResult authorize(Bundle bundle, ServiceRequest request)
Authorizes the payment.

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

capture

@Action(value="captureInvoicePayment", generate=true, security=ALWAYS, stripSitemapID=false)
@Permission(value="captureInvoicePayment")
@Groups(values="checkout")
public PaymentControllerResult capture(Bundle bundle, ServiceRequest request)
Captures the payment.

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

initialize

public void initialize(InvoicePaymentControllerConfiguration c)
Does nothing.

Specified by:
initialize in interface Configurable<InvoicePaymentControllerConfiguration>
Parameters:
c - may be null.