UNPKG

@getopenpay/client

Version:

OpenPay API TypeScript SDK

76 lines (75 loc) 2.19 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 { ObjectName } from './ObjectName'; /** * * @export * @interface SetupIntentExternal */ export interface SetupIntentExternal { /** * Unique Identifier of the account. * @type {string} * @memberof SetupIntentExternal */ accountId: string; /** * DateTime at which the object was created, in 'ISO 8601' format. * @type {Date} * @memberof SetupIntentExternal */ createdAt: Date; /** * * @type {string} * @memberof SetupIntentExternal */ customerId: string | null; /** * Unique Identifier of the setup intent. * @type {string} * @memberof SetupIntentExternal */ id: string; /** * If true, indicates that this object has been deleted * @type {boolean} * @memberof SetupIntentExternal */ isDeleted?: boolean; /** * * @type {ObjectName} * @memberof SetupIntentExternal */ object?: ObjectName; /** * Payment methods created from this setup intent. * @type {Array<string>} * @memberof SetupIntentExternal */ paymentMethodIds: Array<string>; /** * DateTime at which the object was updated, in 'ISO 8601' format. * @type {Date} * @memberof SetupIntentExternal */ updatedAt: Date; } /** * Check if a given object implements the SetupIntentExternal interface. */ export declare function instanceOfSetupIntentExternal(value: object): value is SetupIntentExternal; export declare function SetupIntentExternalFromJSON(json: any): SetupIntentExternal; export declare function SetupIntentExternalFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetupIntentExternal; export declare function SetupIntentExternalToJSON(json: any): SetupIntentExternal; export declare function SetupIntentExternalToJSONTyped(value?: SetupIntentExternal | null, ignoreDiscriminator?: boolean): any;