Class CodeGenerationConfigurationValidateInterceptor

java.lang.Object
de.hybris.platform.couponservices.interceptor.CodeGenerationConfigurationValidateInterceptor
All Implemented Interfaces:
Interceptor, ValidateInterceptor<CodeGenerationConfigurationModel>

public class CodeGenerationConfigurationValidateInterceptor extends Object implements ValidateInterceptor<CodeGenerationConfigurationModel>
CodeGenerationConfigurationValidateInterceptor validates the codeSeparator and that couponPartCount and couponPartLength are within the defined limits (both > 0, product of both between 4 and 40 (more formally: 4 <= (codePartCount * codePartLength) <= 40 ).