Skip to content

@swapped/connect-sdk / core / SessionData

Type Alias: SessionData

SessionData = object

Defined in: src/types/session.types.ts:240

Everything the SDK knows about the loaded session.

Returned by client.loadSession() / client.getSession() and carried on the session:loaded and session:refreshed events.

Properties

connection?

optional connection?: IntegrationPaymentMethod

Defined in: src/types/session.types.ts:241


merchant

merchant: SessionMerchant

Defined in: src/types/session.types.ts:243


paymentMethods

paymentMethods: IntegrationPaymentMethod[]

Defined in: src/types/session.types.ts:245


session

session: Session

Defined in: src/types/session.types.ts:242


transactionData?

optional transactionData?: SessionCompletedTransaction

Defined in: src/types/session.types.ts:244