Class IssueWallet

Abstract class that defines the required functions to properly invoke a BambuMeta request from a client application.

Hierarchy (view full)

Implements

Constructors

Properties

brandId?: number
currentMessage?: string

The current message that is displayed on the wallet pass.

geoLocation?: GeoLocation

The location from which the card is being issued.

ipAddress?: string

The ipaddress which is requesting the card to be issued.

passdata?: WalletPassData
person?: WalletPerson

The person record.

programId?: number
templateId?: number

The templateId from which the card is being issued. If a program is provided, this is not required.

templateTierId?: number

The tier to put the card in during creation, if not provided will use the default tier.

Methods

  • getRootPath is used by the BambuClient to properly construct the request call.

    Returns undefined | string

    The root path of the request

  • The URL path to invoke.

    Parameters

    • Optional tenantId: string

      The tenantId provided by the BambuMeta client.

    Returns string

  • Parameters

    • options: {
          execute: ((executable) => Promise<any>);
      }
      • execute: ((executable) => Promise<any>)
          • (executable): Promise<any>
          • Parameters

            Returns Promise<any>

    Returns Promise<any>