@maxio-com/advanced-billing-sdk
Version:
Ultimate billing and pricing flexibility for B2B SaaS. Maxio integrates directly into your product, so you can seamlessly manage your product catalog, bill customers, and collect payments.
24 lines (20 loc) • 775 B
text/typescript
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { expandoObject, Schema, string } from '../schema.js';
/** Example schema for an `change_invoice_collection_method` event */
export interface ChangeInvoiceCollectionMethodEventData {
/** The previous collection method of the invoice. */
fromCollectionMethod: string;
/** The new collection method of the invoice. */
toCollectionMethod: string;
[key: string]: unknown;
}
export const changeInvoiceCollectionMethodEventDataSchema: Schema<ChangeInvoiceCollectionMethodEventData> = expandoObject(
{
fromCollectionMethod: ['from_collection_method', string()],
toCollectionMethod: ['to_collection_method', string()],
}
);