UNPKG

@circle-fin/circle-sdk

Version:
91 lines (90 loc) 2.35 kB
/** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { CheckoutSessionMoney } from "./checkout-session-money"; import { CheckoutSessionStatus } from "./checkout-session-status"; /** * * @export * @interface CheckoutSession */ export interface CheckoutSession { /** * Unique system generated identifier for the entity. * @type {string} * @memberof CheckoutSession */ id: string; /** * The type of this response * @type {string} * @memberof CheckoutSession */ type: CheckoutSessionTypeEnum; /** * The URL returned to you through client-side callback when the payment is completed. * @type {string} * @memberof CheckoutSession */ successUrl?: string; /** * The access token for the SDK to access checkout session resources * @type {string} * @memberof CheckoutSession */ clientToken: string; /** * * @type {CheckoutSessionStatus} * @memberof CheckoutSession */ status: CheckoutSessionStatus; /** * ISO-8601 UTC date/time format. * @type {string} * @memberof CheckoutSession */ expiresOn: string; /** * ISO-8601 UTC date/time format. * @type {string} * @memberof CheckoutSession */ createDate: string; /** * ISO-8601 UTC date/time format. * @type {string} * @memberof CheckoutSession */ updateDate: string; /** * * @type {CheckoutSessionMoney} * @memberof CheckoutSession */ amount: CheckoutSessionMoney; /** * * @type {CheckoutSessionMoney} * @memberof CheckoutSession */ amountPaid: CheckoutSessionMoney; /** * IDs of all the associated payments. * @type {Array<string>} * @memberof CheckoutSession */ paymentIds: Array<string>; /** * IDs of all the associated payment intents. * @type {Array<string>} * @memberof CheckoutSession */ paymentIntentIds: Array<string>; } export declare const CheckoutSessionTypeEnum: { readonly CheckoutSession: "checkout_session"; }; export declare type CheckoutSessionTypeEnum = typeof CheckoutSessionTypeEnum[keyof typeof CheckoutSessionTypeEnum];