org.torweg.pulse.component.shop.checkout
Class InvoicePaymentController
java.lang.Object
org.torweg.pulse.bundle.Controller
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InvoicePaymentController
public InvoicePaymentController()
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.