UNPKG

@getopenpay/client

Version:

OpenPay API TypeScript SDK

41 lines (40 loc) 1.5 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 { InvoiceExternal } from './InvoiceExternal'; import type { SubscriptionExternal } from './SubscriptionExternal'; /** * * @export * @interface DeleteSubscriptionResponse */ export interface DeleteSubscriptionResponse { /** * * @type {InvoiceExternal} * @memberof DeleteSubscriptionResponse */ invoice?: InvoiceExternal | null; /** * Deleted subscription. * @type {SubscriptionExternal} * @memberof DeleteSubscriptionResponse */ subscription: SubscriptionExternal; } /** * Check if a given object implements the DeleteSubscriptionResponse interface. */ export declare function instanceOfDeleteSubscriptionResponse(value: object): value is DeleteSubscriptionResponse; export declare function DeleteSubscriptionResponseFromJSON(json: any): DeleteSubscriptionResponse; export declare function DeleteSubscriptionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeleteSubscriptionResponse; export declare function DeleteSubscriptionResponseToJSON(json: any): DeleteSubscriptionResponse; export declare function DeleteSubscriptionResponseToJSONTyped(value?: DeleteSubscriptionResponse | null, ignoreDiscriminator?: boolean): any;