A container for basic payment products and their accounts on file.

Hierarchy

  • BasicPaymentProducts

Properties

accountsOnFile: AccountOnFile[]

The available accounts on file.

paymentProducts: BasicPaymentProduct[]

The available payment products.

Methods

  • Finds an account on file based on its ID.

    Parameters

    • id: number

      The ID of the account on file to look for.

    Returns undefined | AccountOnFile

    The matching account on file, or undefined if there is no such account on file.

  • Finds a payment product based on its ID.

    Parameters

    • id: number

      The ID of the payment product to look for.

    Returns undefined | BasicPaymentProduct

    The matching payment product, or undefined if there is no such payment product.

  • Finds an account on file based on its ID.

    Parameters

    • id: number

      The ID of the account on file to look for.

    Returns AccountOnFile

    The matching account on file.

    Throws

    If there is no such account on file.

  • Finds a payment product based on its ID.

    Parameters

    • id: number

      The ID of the payment product to look for.

    Returns BasicPaymentProduct

    The matching payment product.

    Throws

    If there is no such payment product.