Skip to main content

Class AddVelocityTemplateRequest

Request to add a new velocity template


Properties

NAMETYPEDESCRIPTION
RequestIdSystem.stringUnique identifier used to identify the request. Used when associating the request to the response.
RequestDateSystem.DateTimeDateTime request was made. Request timeout is 1 minute.
Credentials StoreCredentials
Action TemplateAction Approve, Decline, Suspend. How to handle a transaction that exceeds velocity limits. Required field.
DailyAmountLimitSystem.DecimalDecimal field max value is 999999999. Value must be less than or equal to PeriodAmountLimit. Limit of total amount per day. Required field.
DailyCountLimitSystem.Int32Decimal field max value is 999999999. Value must be less than or equal to PeriodCountLimit. Limit of checks per day. Required field.
DescriptionSystem.StringString value with a max length of 250 characters. A brief description of the template. Required field. Limit of total amount per period. Required field.
IsEnabledSystem.BooleanIndicates whether template is enabled or disabled
PeriodAmountLimitSystem.DecimalDecimal field max value is 999999999. Value must be greater than or equal to DailyAmountLimit. Limit of checks per period. Required field.
PeriodCountLimitSystem.Int32Decimal field max value is 999999999. Value must be greater than or equal to DailyCountLimit. Required field.
SingleAmountLimitSystem.DecimalLimit of total amount per item
TemplateNameSystem.StringName of the template that exists in the EPS system. Max length is 50 characters. Must be unique.

Example

{
"Credentials":{
"EntityId": "123456",
"StoreId": null,
"StoreKey": null
},
"__type":"AddVelocityTemplateRequest:#JackHenry.Eps.Mobile.RDAAdmin",
"TemplateName":"String Content",
"Description":"String Content",
"IsEnabled":true,
"SingleAmountLimit":12678967.54,
"DailyCountLimit":0,
"DailyAmountLimit":12678967.54,
"PeriodCountLimit":0,
"PeriodAmountLimit":12678967.54,
"Action":
}

Methods

Validate(IValidatorContext)

Declaration

public override void Validate(IValidatorContext context)

Parameters

TYPENAMEDESCRIPTION
JHA.EPS.SharedService.Common.Validator.IValidatorContextcontext

Overrides

AuthenticatedRequest.Validate(IValidatorContext)

Exceptions

TYPEDESCRIPTION
JHA.EPS.SharedService.Common.Validator.ValidationResultTemplateName cannot be null or empty
JHA.EPS.SharedService.Common.Validator.ValidationResultTemplateName must be beween 1 - 50 characters
JHA.EPS.SharedService.Common.Validator.ValidationResultTemplateName must contain visible characters
JHA.EPS.SharedService.Common.Validator.ValidationResultIf Description is not null then Description must be less than 251 characters
JHA.EPS.SharedService.Common.Validator.ValidationResultIf Description is not null then Description must be visible characters
JHA.EPS.SharedService.Common.Validator.ValidationResultSingleAmountLimit cannot be greater than DailyAmountLimit
JHA.EPS.SharedService.Common.Validator.ValidationResultDailyCountLimit cannot be greater than PeriodCountLimit
JHA.EPS.SharedService.Common.Validator.ValidationResultDailyAmountLimit cannot be greater than PeriodAmountLimit
JHA.EPS.SharedService.Common.Validator.ValidationResultMust have edit velocity permission
JHA.EPS.SharedService.Common.Validator.ValidationResultTemplateName must exist in our system