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