UNPKG

@getopenpay/client

Version:

OpenPay API TypeScript SDK

47 lines (46 loc) 1.75 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 CreateSubscriptionResponse */ export interface CreateSubscriptionResponse { /** * List of subscriptions created. * @type {Array<SubscriptionExternal>} * @memberof CreateSubscriptionResponse */ created: Array<SubscriptionExternal>; /** * List of invoices created * @type {Array<InvoiceExternal>} * @memberof CreateSubscriptionResponse */ invoices: Array<InvoiceExternal>; /** * List of successful processor IDs used for creating the subscriptions * @type {Array<string>} * @memberof CreateSubscriptionResponse */ processorsUsed: Array<string>; } /** * Check if a given object implements the CreateSubscriptionResponse interface. */ export declare function instanceOfCreateSubscriptionResponse(value: object): value is CreateSubscriptionResponse; export declare function CreateSubscriptionResponseFromJSON(json: any): CreateSubscriptionResponse; export declare function CreateSubscriptionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateSubscriptionResponse; export declare function CreateSubscriptionResponseToJSON(json: any): CreateSubscriptionResponse; export declare function CreateSubscriptionResponseToJSONTyped(value?: CreateSubscriptionResponse | null, ignoreDiscriminator?: boolean): any;