Class AuthorizationMockCommand

java.lang.Object
de.hybris.platform.payment.commands.impl.GenericMockCommand
de.hybris.platform.payment.commands.impl.AuthorizationMockCommand
All Implemented Interfaces:
AuthorizationCommand, Command<AuthorizationRequest,AuthorizationResult>

public class AuthorizationMockCommand extends GenericMockCommand implements AuthorizationCommand
A mockup Implementation for AuthorizationCommand. Set a wrong card expiration date 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.