@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.
23 lines (19 loc) • 748 B
text/typescript
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { expandoObject, optional, Schema, string } from '../schema';
export interface CancellationOptions {
/** For your internal use. An indication as to why the subscription is being canceled. */
cancellationMessage?: string;
/** The reason code associated with the cancellation. See the list of reason codes associated with your site. */
reasonCode?: string;
[key: string]: unknown;
}
export const cancellationOptionsSchema: Schema<CancellationOptions> = expandoObject(
{
cancellationMessage: ['cancellation_message', optional(string())],
reasonCode: ['reason_code', optional(string())],
}
);