UNPKG

@getopenpay/client

Version:

OpenPay API TypeScript SDK

94 lines (93 loc) 2.43 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 DisputeExternal */ export interface DisputeExternal { /** * Unique identifier for the account. * @type {string} * @memberof DisputeExternal */ accountId: string; /** * DateTime at which the object was created, in 'ISO 8601' format. * @type {Date} * @memberof DisputeExternal */ createdAt: Date; /** * Unique identifier of the dispute. * @type {string} * @memberof DisputeExternal */ id: string; /** * If true, indicates that this object has been deleted * @type {boolean} * @memberof DisputeExternal */ isDeleted?: boolean; /** * * @type {object} * @memberof DisputeExternal */ metadata?: object | null; /** * * @type {ObjectName} * @memberof DisputeExternal */ object?: ObjectName; /** * The payment intent id. * @type {string} * @memberof DisputeExternal */ paymentIntentId: string; /** * * @type {string} * @memberof DisputeExternal */ reason?: string | null; /** * There dispute id. * @type {string} * @memberof DisputeExternal */ theirDisputeId: string; /** * Their payment intent id * @type {string} * @memberof DisputeExternal */ theirPaymentIntentId: string; /** * DateTime at which the object was updated, in 'ISO 8601' format. * @type {Date} * @memberof DisputeExternal */ updatedAt: Date; } /** * Check if a given object implements the DisputeExternal interface. */ export declare function instanceOfDisputeExternal(value: object): value is DisputeExternal; export declare function DisputeExternalFromJSON(json: any): DisputeExternal; export declare function DisputeExternalFromJSONTyped(json: any, ignoreDiscriminator: boolean): DisputeExternal; export declare function DisputeExternalToJSON(json: any): DisputeExternal; export declare function DisputeExternalToJSONTyped(value?: DisputeExternal | null, ignoreDiscriminator?: boolean): any;