Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • PaymentProductField

Index

Constructors

constructor

Properties

Readonly dataRestrictions

dataRestrictions: DataRestrictions

Readonly displayHints

Readonly getErrorCodes

getErrorCodes: (value?: undefined | string) => string[]
deprecated

This function does not take into account other fields that may be of importance for the validation. Use .getErrorMessageIds instead.

Type declaration

    • (value?: undefined | string): string[]
    • Parameters

      • Optional value: undefined | string

      Returns string[]

Readonly getErrorMessageIds

getErrorMessageIds: (request?: ValidatableRequest) => string[]

Type declaration

Readonly id

id: string

Readonly isValid

isValid: (value: string) => boolean
deprecated

This function does not take into account other fields that may be of importance for the validation. Use .validateValue instead.

Type declaration

    • (value: string): boolean
    • Parameters

      • value: string

      Returns boolean

Readonly json

Readonly type

type: string

Readonly validateValue

validateValue: (request: ValidatableRequest) => boolean

Type declaration

Methods

applyMask

  • applyMask(newValue: string, oldValue?: undefined | string): MaskedString
  • Parameters

    • newValue: string
    • Optional oldValue: undefined | string

    Returns MaskedString

applyWildcardMask

  • applyWildcardMask(newValue: string, oldValue?: undefined | string): MaskedString
  • Parameters

    • newValue: string
    • Optional oldValue: undefined | string

    Returns MaskedString

removeMask

  • removeMask(value: string): string
  • Parameters

    • value: string

    Returns string