Search
Preparing search index...
The search index is not available
Ingenico Connect JavaScript SDK
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"index.d"
"connectsdk.ValidationRuleLength"
ValidationRuleLength
Class ValidationRuleLength
Hierarchy
ValidationRuleLength
Implements
ValidationRule
Index
Constructors
constructor
Properties
error
Message
Id
json
max
Length
min
Length
type
Methods
validate
validate
Value
Constructors
constructor
new
Validation
Rule
Length
(
json
:
ValidationRuleDefinition
<
LengthValidatorJSON
>
)
:
ValidationRuleLength
Parameters
json:
ValidationRuleDefinition
<
LengthValidatorJSON
>
Returns
ValidationRuleLength
Properties
Readonly
error
Message
Id
error
Message
Id
:
string
Readonly
json
json
:
ValidationRuleDefinition
<
LengthValidatorJSON
>
Readonly
max
Length
max
Length
:
number
Readonly
min
Length
min
Length
:
number
Readonly
type
type
:
string
Methods
validate
validate
(
value
:
string
)
:
boolean
Parameters
value:
string
Returns
boolean
validate
Value
validate
Value
(
request
:
ValidatableRequest
, fieldId
:
string
)
:
boolean
Parameters
request:
ValidatableRequest
fieldId:
string
Returns
boolean
Globals
Validation
Rule
Length
constructor
error
Message
Id
json
max
Length
min
Length
type
validate
validate
Value