Package com.skava.subscription.validator
Class CreatePaymentValidator
java.lang.Object
com.skava.subscription.validator.CreatePaymentValidator
- All Implemented Interfaces:
com.skava.core.EcommComponent
,com.skava.core.validation.ValidatorComponent
@Component
public class CreatePaymentValidator
extends Object
implements com.skava.core.validation.ValidatorComponent
class CreatePaymentValidator
This class defines Collection Create and Update Validator This validator component used for validating the given collection request model.
- Author:
- Infosys Equinox
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.context.MessageSource
The message source. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
preProcess
(com.skava.core.validation.InputModel model) Pre-Process Validation for create collectionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.skava.core.EcommComponent
destroy, init, onEvent
Methods inherited from interface com.skava.core.validation.ValidatorComponent
postProcess, preProcess
-
Field Details
-
messageSource
@Autowired protected org.springframework.context.MessageSource messageSourceThe message source.
-
-
Constructor Details
-
CreatePaymentValidator
public CreatePaymentValidator()
-
-
Method Details
-
preProcess
public void preProcess(com.skava.core.validation.InputModel model) Pre-Process Validation for create collection- Specified by:
preProcess
in interfacecom.skava.core.validation.ValidatorComponent
-