@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) • 856 B
text/typescript
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import {
boolean,
expandoObject,
nullable,
optional,
Schema,
} from '../schema.js';
export interface ActivateSubscriptionRequest {
/** You may choose how to handle the activation failure. `true` means do not change the subscription’s state and billing period. `false` means to continue through with the activation and enter an end of life state. If this parameter is omitted or `null` is passed it will default to value set in the site settings (default: `true`) */
revertOnFailure?: boolean | null;
[key: string]: unknown;
}
export const activateSubscriptionRequestSchema: Schema<ActivateSubscriptionRequest> = expandoObject(
{ revertOnFailure: ['revert_on_failure', optional(nullable(boolean()))] }
);