Class: CheckoutSessionManager
Defined in: checkout/session.ts:79
Constructors
Constructor
new CheckoutSessionManager(
store?):CheckoutSessionManager
Defined in: checkout/session.ts:82
Parameters
store?
Returns
CheckoutSessionManager
Methods
create()
create(
params):Promise<CheckoutSession>
Defined in: checkout/session.ts:86
Parameters
params
Omit<CheckoutSession, "id" | "status" | "createdAt" | "expiresAt">
Returns
Promise<CheckoutSession>
delete()
delete(
id):Promise<void>
Defined in: checkout/session.ts:135
Parameters
id
string
Returns
Promise<void>
get()
get(
id):Promise<CheckoutSession|undefined>
Defined in: checkout/session.ts:102
Parameters
id
string
Returns
Promise<CheckoutSession | undefined>
update()
update(
id,updates):Promise<CheckoutSession|undefined>
Defined in: checkout/session.ts:124
Parameters
id
string
updates
Partial<CheckoutSession>
Returns
Promise<CheckoutSession | undefined>
updateStatus()
updateStatus(
id,status):Promise<CheckoutSession|undefined>
Defined in: checkout/session.ts:113
Parameters
id
string
status
Returns
Promise<CheckoutSession | undefined>