Hierarchy

  • AccountOnFile

Properties

id: number
paymentProductId: number

Methods

  • Finds an attribute based on key.

    Parameters

    • key: string

      The key of the attribute to look for.

    Returns undefined | AccountOnFileAttribute

    The matching attribute, or undefined if there is no such attribute.

  • Finds an attribute value usable for displaying. If the attribute exists and has a label template with a mask, this method is similar to findMaskedAttributeValue. If the attribute exists but has no label template with a mask, this method will simply return the attribute's value.

    Parameters

    • key: string

      The key of the attribute value to look for.

    Returns undefined | string

    The display value for the attribute, or undefined if there is no such attribute.

  • Finds an attribute value with masking applied.

    Parameters

    • key: string

      The key of the attribute value to look for.

    Returns undefined | MaskedString

    The masked value for the attribute, or undefined if there is no such attribute, or the attribute has no label template with a mask.

  • Finds an attribute based on key.

    Parameters

    • key: string

      The key of the attribute to look for.

    Returns AccountOnFileAttribute

    The matching attribute.

    Throws

    If there is no such attribute.

  • Finds an attribute value usable for displaying. If the attribute has a label template with a mask, this method is similar to findMaskedAttributeValue. If the attribute has no label template with a mask, this method will simply return the attribute's value.

    Parameters

    • key: string

      The key of the attribute value to look for.

    Returns string

    The display value for the attribute.

    Throws

    If there is no such attribute.

  • Returns a label based on the label templates and attributes.

    Returns string

  • Checks whether or not an attribute should be read-only.

    Parameters

    • key: string

      The key of the attribute to check.

    Returns boolean

    True if the given attribute should be readonly, or false if there is no such attribute, or if it can be edited.