UNPKG

@getopenpay/client

Version:

OpenPay API TypeScript SDK

132 lines (131 loc) 3.6 kB
/** * OpenPay API * super charge your subscription management. * * The version of the OpenAPI document: 1.2.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { CalendarIntervalEnum } from './CalendarIntervalEnum'; import type { CurrencyEnum } from './CurrencyEnum'; import type { ObjectName } from './ObjectName'; /** * * @export * @interface CheckoutSessionLineItemExternal */ export interface CheckoutSessionLineItemExternal { /** * * @type {number} * @memberof CheckoutSessionLineItemExternal */ amountSubtotalAtom: number; /** * * @type {number} * @memberof CheckoutSessionLineItemExternal */ amountTotalAtom: number; /** * * @type {CalendarIntervalEnum} * @memberof CheckoutSessionLineItemExternal */ billingInterval: CalendarIntervalEnum | null; /** * * @type {number} * @memberof CheckoutSessionLineItemExternal */ billingIntervalCount: number | null; /** * * @type {string} * @memberof CheckoutSessionLineItemExternal */ checkoutSessionId: string | null; /** * DateTime at which the object was created, in 'ISO 8601' format. * @type {Date} * @memberof CheckoutSessionLineItemExternal */ createdAt: Date; /** * * @type {CurrencyEnum} * @memberof CheckoutSessionLineItemExternal */ currency: CurrencyEnum; /** * * @type {object} * @memberof CheckoutSessionLineItemExternal */ customFields: object | null; /** * * @type {string} * @memberof CheckoutSessionLineItemExternal */ description: string | null; /** * * @type {string} * @memberof CheckoutSessionLineItemExternal */ descriptionDetailed: string | null; /** * * @type {string} * @memberof CheckoutSessionLineItemExternal */ id: string; /** * If true, indicates that this object has been deleted * @type {boolean} * @memberof CheckoutSessionLineItemExternal */ isDeleted?: boolean; /** * * @type {ObjectName} * @memberof CheckoutSessionLineItemExternal */ object?: ObjectName; /** * * @type {string} * @memberof CheckoutSessionLineItemExternal */ priceId: string; /** * * @type {string} * @memberof CheckoutSessionLineItemExternal */ productId: string; /** * * @type {number} * @memberof CheckoutSessionLineItemExternal */ quantity: number; /** * DateTime at which the object was updated, in 'ISO 8601' format. * @type {Date} * @memberof CheckoutSessionLineItemExternal */ updatedAt: Date; } /** * Check if a given object implements the CheckoutSessionLineItemExternal interface. */ export declare function instanceOfCheckoutSessionLineItemExternal(value: object): value is CheckoutSessionLineItemExternal; export declare function CheckoutSessionLineItemExternalFromJSON(json: any): CheckoutSessionLineItemExternal; export declare function CheckoutSessionLineItemExternalFromJSONTyped(json: any, ignoreDiscriminator: boolean): CheckoutSessionLineItemExternal; export declare function CheckoutSessionLineItemExternalToJSON(json: any): CheckoutSessionLineItemExternal; export declare function CheckoutSessionLineItemExternalToJSONTyped(value?: CheckoutSessionLineItemExternal | null, ignoreDiscriminator?: boolean): any;