28 lines
465 B
TypeScript
28 lines
465 B
TypeScript
/**
|
|
* @enum
|
|
*
|
|
* The status of a payment session.
|
|
*/
|
|
export enum PaymentSessionStatus {
|
|
/**
|
|
* The payment is authorized.
|
|
*/
|
|
AUTHORIZED = "authorized",
|
|
/**
|
|
* The payment is pending.
|
|
*/
|
|
PENDING = "pending",
|
|
/**
|
|
* The payment requires an action.
|
|
*/
|
|
REQUIRES_MORE = "requires_more",
|
|
/**
|
|
* An error occurred while processing the payment.
|
|
*/
|
|
ERROR = "error",
|
|
/**
|
|
* The payment is canceled.
|
|
*/
|
|
CANCELED = "canceled",
|
|
}
|