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