@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.
21 lines • 1.02 kB
TypeScript
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { Schema } from '../schema.js';
import { BillingSchedule } from './billingSchedule.js';
import { ComponentCustomPrice } from './componentCustomPrice.js';
export interface CreateUsage {
/** integer by default or decimal number if fractional quantities are enabled for the component */
quantity?: number;
pricePointId?: string;
memo?: string;
/** This attribute is particularly useful when you need to align billing events for different components on distinct schedules within a subscription. This only works for site with Multifrequency enabled. */
billingSchedule?: BillingSchedule;
/** Create or update custom pricing unique to the subscription. Used in place of `price_point_id`. */
customPrice?: ComponentCustomPrice;
[key: string]: unknown;
}
export declare const createUsageSchema: Schema<CreateUsage>;
//# sourceMappingURL=createUsage.d.ts.map