Class CaptureMockCommand
- java.lang.Object
-
- de.hybris.platform.payment.commands.impl.GenericMockCommand
-
- de.hybris.platform.payment.commands.impl.CaptureMockCommand
-
- All Implemented Interfaces:
CaptureCommand,Command<CaptureRequest,CaptureResult>
public class CaptureMockCommand extends GenericMockCommand implements CaptureCommand
A mockup Implementation forCaptureCommand. The implementation allows to run tests of the payment module without actually paying a dime for it.
-
-
Constructor Summary
Constructors Constructor Description CaptureMockCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CaptureResultperform(CaptureRequest request)perform command for a given request R-
Methods inherited from class de.hybris.platform.payment.commands.impl.GenericMockCommand
genericPerform
-
-
-
-
Method Detail
-
perform
public CaptureResult perform(CaptureRequest request)
Description copied from interface:Commandperform command for a given request R- Specified by:
performin interfaceCommand<CaptureRequest,CaptureResult>- Parameters:
request- request to perform- Returns:
- outcome O of command
-
-