@Component public class CreateConsentRequestValidator extends Object implements BusinessValidator<CreateConsentReq>
| Constructor and Description |
|---|
CreateConsentRequestValidator() |
| Modifier and Type | Method and Description |
|---|---|
@NotNull ValidationResult |
validate(@NotNull CreateConsentReq request)
Validates Create consent request according to:
support of global consent for All Psd2
support of bank offered consent
expiration date of the consent
requested frequency per day of the consent
support of available account access
requested access of the consent
support of combined service indicator
If there are new consent requirements, this method has to be updated.
|
@NotNull public @NotNull ValidationResult validate(@NotNull @NotNull CreateConsentReq request)
validate in interface BusinessValidator<CreateConsentReq>request - CreateConsentReq request for consent creatingCopyright © 2019. All rights reserved.