AIOT Payment x402 is in public beta. Install the skill for your AI agent.
ReferenceInMemorySessionStore

Class: InMemorySessionStore

Defined in: checkout/session.ts:61

Implements

Constructors

Constructor

new InMemorySessionStore(): InMemorySessionStore

Returns

InMemorySessionStore

Methods

delete()

delete(id): Promise<void>

Defined in: checkout/session.ts:72

Parameters

id

string

Returns

Promise<void>

Implementation of

SessionStore.delete


get()

get(id): Promise<CheckoutSession | undefined>

Defined in: checkout/session.ts:64

Parameters

id

string

Returns

Promise<CheckoutSession | undefined>

Implementation of

SessionStore.get


set()

set(id, session): Promise<void>

Defined in: checkout/session.ts:68

Parameters

id

string

session

CheckoutSession

Returns

Promise<void>

Implementation of

SessionStore.set