Abstract class for Gateway resources. This class provides an interface for creating, getting details, listing, and deleting resources. It must be extended by concrete resource classes.

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

Properties

Client instance for API calls.

Memberof

GatewayResource

Methods

  • Create a new resource.

    Parameters

    • params: Record<string, any>

      Parameters for creating the resource.

    Returns Promise<Record<string, any>>

    • A promise that resolves with the created resource.

    Abstract

    Memberof

    GatewayResource

  • Delete a resource.

    Parameters

    • params: Record<string, any>

      Parameters for deleting the resource.

    Returns Promise<Record<string, any>>

    • A promise that resolves with the result of the deletion.

    Abstract

    Memberof

    GatewayResource

  • Get details of a resource.

    Parameters

    • params: Record<string, any>

      Parameters for fetching resource details.

    Returns Promise<Record<string, any>>

    • A promise that resolves with the resource details.

    Abstract

    Memberof

    GatewayResource

  • List resources.

    Parameters

    • params: Record<string, any>

      Parameters for listing resources.

    Returns Promise<Record<string, any>>

    • A promise that resolves with the list of resources.

    Abstract

    Memberof

    GatewayResource