UNPKG

@getopenpay/client

Version:

OpenPay API TypeScript SDK

45 lines (44 loc) 1.42 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. */ /** * * @export * @interface PayInvoiceRequest */ export interface PayInvoiceRequest { /** * * @type {string} * @memberof PayInvoiceRequest */ comment?: string | null; /** * Boolean representing whether an invoice is paid outside of OpenPay. This will result in no charge being made. Defaults to false. * @type {boolean} * @memberof PayInvoiceRequest */ paidOutOfBand?: boolean; /** * * @type {string} * @memberof PayInvoiceRequest */ paymentMethodId?: string | null; } /** * Check if a given object implements the PayInvoiceRequest interface. */ export declare function instanceOfPayInvoiceRequest(value: object): value is PayInvoiceRequest; export declare function PayInvoiceRequestFromJSON(json: any): PayInvoiceRequest; export declare function PayInvoiceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PayInvoiceRequest; export declare function PayInvoiceRequestToJSON(json: any): PayInvoiceRequest; export declare function PayInvoiceRequestToJSONTyped(value?: PayInvoiceRequest | null, ignoreDiscriminator?: boolean): any;