Skip to content

@swapped/connect-sdk / core / SessionData

Type Alias: SessionData

SessionData = object

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

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:209


merchant

merchant: SessionMerchant

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


paymentMethods

paymentMethods: IntegrationPaymentMethod[]

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


session

session: Session

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


transactionData?

optional transactionData?: SessionCompletedTransaction

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