Class SubscriptionAuthorizationMockCommand

java.lang.Object
de.hybris.platform.payment.commands.impl.GenericMockCommand
de.hybris.platform.payment.commands.impl.SubscriptionAuthorizationMockCommand
All Implemented Interfaces:
Command<SubscriptionAuthorizationRequest,AuthorizationResult>, SubscriptionAuthorizationCommand

public class SubscriptionAuthorizationMockCommand extends GenericMockCommand implements SubscriptionAuthorizationCommand
A mockup Implementation for SubscriptionAuthorizationCommand. Set INVALID as subscription id, if you need your transaction rejected. Transaction will have set REVIEW state if amount is greater then REVIEW_AMOUNT . In other cases it will be accepted.