Class CreateAccount

The create account api is an asyncronous request to BambuMeta to issue the provided user an account. This request will not guarentee an account is created. But checks if there is already an existing account. If so, the account id is returned. If no account already exists, the request will be added to the processor for consumption and a success message should be returned.

Hierarchy (view full)

Constructors

Properties

_email?: string
_firstName?: string
_lastName?: string
_ledgerType: string = 'hedera'
_metadata?: any
_phone?: string

Methods

  • getBody is used by the BambuClient to properly construct the request object body.

    Returns any

    Returns the expected body of the request utilizing the defined request attributes.

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

    Returns undefined | string

    The root path of the request

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

    Parameters

    • Optional tenantId: string

      the tenant id defined in the BambuClient

    Returns string

    request url

  • Parameters

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

            Returns Promise<any>

    Returns Promise<any>