Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • SwedbankPayClient

Index

Constructors

Properties

Aborted: (new (id: string) => Aborted)

Type declaration

    • Bound version of the Aborted class with client constructor argument prepopulated

      Parameters

      • id: string

      Returns Aborted

Cancelled: (new (id: string) => Cancelled)

Type declaration

    • Bound version of the Cancelled class with client constructor argument prepopulated

      Parameters

      • id: string

      Returns Cancelled

Failed: (new (id: string) => Failed)

Type declaration

    • Bound version of the Failed class with client constructor argument prepopulated

      Parameters

      • id: string

      Returns Failed

FailedAttempts: (new (id: string) => FailedAttempts)

Type declaration

FinancialTransactions: (new (id: string) => FinancialTransactions)

Type declaration

History: (new (id: string) => History)

Type declaration

    • Bound version of the History class with client constructor argument prepopulated

      Parameters

      • id: string

      Returns History

Metadata: (new (id: string) => Metadata)

Type declaration

    • Bound version of the Metadata class with client constructor argument prepopulated

      Parameters

      • id: string

      Returns Metadata

OrderItemFactory: (new (options?: OrderItemFactoryOptions) => OrderItemFactory)

Type declaration

OrderItems: (new (id: string) => OrderItems)

Type declaration

    • Bound version of the OrderItems class with client constructor argument prepopulated

      Parameters

      • id: string

      Returns OrderItems

Paid: (new (id: string) => Paid)

Type declaration

    • new (id: string): Paid
    • Bound version of the Paid class with client constructor argument prepopulated

      Parameters

      • id: string

      Returns Paid

PayeeInfo: (new (id: string) => PayeeInfo)

Type declaration

    • Bound version of the PayeeInfo class with client constructor argument prepopulated

      Parameters

      • id: string

      Returns PayeeInfo

Payer: (new (id: string) => Payer)

Type declaration

    • Bound version of the Payer class with client constructor argument prepopulated

      Parameters

      • id: string

      Returns Payer

PayerFactory: (new (options?: PayerFactoryOptions) => PayerFactory)

Type declaration

PaymentOrder: { load: any }

Bound version of the PaymentOrder class with client constructor argument prepopulated

Type declaration

PaymentOrderFactory: (new (options?: PaymentOrderFactoryOptions) => PaymentOrderFactory)

Type declaration

Urls: (new (id: string) => Urls)

Type declaration

    • new (id: string): Urls
    • Bound version of the Urls class with client constructor argument prepopulated

      Parameters

      • id: string

      Returns Urls

axios: AxiosInstance

The axios instance preconfigured to communicate with Swedbank Pay

env: "test" | "prod"

Whether we're in production or test mode

merchantId: string

The ID of the merchant

Accessors

  • get merchantName(): undefined | string

Methods

  • Resolves the callback data by fetching the entities from the Swedbank Pay endpoints.

    Parameters

    • data: Callback

      the callback data from Swedbank Pay

    Returns Promise<{ paymentOrder: null | PaymentOrder }>

    the resolved objects, or null if not provided

Generated using TypeDoc