Interface PaymentProductFieldDataRestrictions

Hierarchy

  • PaymentProductFieldDataRestrictions

Properties

isRequired: boolean
validationRules: ValidationRule[]

The validation rules that apply for the field.

Methods

  • Finds a validation rule based on its type.

    Parameters

    • type: string

      The type of the validation rule to look for.

    Returns undefined | ValidationRule

    The matching validation rule, or undefined if there is no such validation rule.

  • Finds a validation rule based on its type.

    Parameters

    • type: string

      The type of the validation rule to look for.

    Returns ValidationRule

    The matching validation rule.

    Throws

    If there is no such validation rule.