Interface BasicPaymentProductGroups

A container for basic payment product groups and their accounts on file.

Hierarchy

  • BasicPaymentProductGroups

Properties

accountsOnFile: AccountOnFile[]

The available accounts on file.

paymentProductGroups: BasicPaymentProductGroup[]

The available payment product groups.

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 group based on its ID.

    Parameters

    • id: string

      The ID of the payment product group to look for.

    Returns undefined | BasicPaymentProductGroup

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

  • 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 group based on its ID.

    Parameters

    • id: string

      The ID of the payment product group to look for.

    Returns BasicPaymentProductGroup

    The matching payment product group

    Throws

    If there is no such payment product group.