Skip to main content

Class UpdateVelocityTemplateRequest

Request for updating an existing 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.
Criteria VelocityTemplateCriteria Required. Criteria to find an existing velocity template to update.
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 or not the velocity template is enabled
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.DecimalRequired. Limit of amount per item
TemplateNameSystem.StringName of the template that exists in the EPS system. Max length is 50 characters. Must be unique.

VelocityTemplateCriteria

NAMETYPEDESCRIPTION
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":"UpdateVelocityTemplateRequest:#JackHenry.Eps.Mobile.RDAAdmin",
"Criteria":
{
"__type":"VelocityTemplateCriteria:#JackHenry.Eps.Mobile.RDAAdmin",
"TemplateName":"String Content",
}
"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.ValidationResultCriteria cannot be null
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 be unique in our system
JHA.EPS.SharedService.Common.Validator.ValidationResultCriteria.TemplateName must exist in our system