@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.
27 lines • 1.42 kB
TypeScript
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { Schema } from '../schema.js';
import { ComponentCustomPrice } from './componentCustomPrice.js';
import { CreateSubscriptionComponentAllocatedQuantity } from './containers/createSubscriptionComponentAllocatedQuantity.js';
import { CreateSubscriptionComponentComponentId } from './containers/createSubscriptionComponentComponentId.js';
import { CreateSubscriptionComponentPricePointId } from './containers/createSubscriptionComponentPricePointId.js';
export interface CreateSubscriptionComponent {
componentId?: CreateSubscriptionComponentComponentId;
/** Used for on/off components only. */
enabled?: boolean;
/** Used for metered and events based components. */
unitBalance?: number;
/** Used for quantity based components. */
allocatedQuantity?: CreateSubscriptionComponentAllocatedQuantity;
/** Deprecated. Use `allocated_quantity` instead. */
quantity?: number;
pricePointId?: CreateSubscriptionComponentPricePointId;
/** Create or update custom pricing unique to the subscription. Used in place of `price_point_id`. */
customPrice?: ComponentCustomPrice;
[key: string]: unknown;
}
export declare const createSubscriptionComponentSchema: Schema<CreateSubscriptionComponent>;
//# sourceMappingURL=createSubscriptionComponent.d.ts.map