@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.
43 lines • 2.13 kB
TypeScript
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { Schema } from '../schema.js';
import { AllocationPreviewItemPreviousQuantity } from './containers/allocationPreviewItemPreviousQuantity.js';
import { AllocationPreviewItemQuantity } from './containers/allocationPreviewItemQuantity.js';
import { CreditType } from './creditType.js';
import { IntervalUnit } from './intervalUnit.js';
export interface AllocationPreviewItem {
componentId?: number;
subscriptionId?: number;
quantity?: AllocationPreviewItemQuantity;
previousQuantity?: AllocationPreviewItemPreviousQuantity;
memo?: string | null;
timestamp?: string | null;
prorationUpgradeScheme?: string;
prorationDowngradeScheme?: string;
accrueCharge?: boolean;
/**
* The type of credit to be created when upgrading/downgrading. Defaults to the component and then site setting if one is not provided.
* Available values: `full`, `prorated`, `none`.
*/
upgradeCharge?: CreditType | null;
/**
* The type of credit to be created when upgrading/downgrading. Defaults to the component and then site setting if one is not provided.
* Available values: `full`, `prorated`, `none`.
*/
downgradeCredit?: CreditType | null;
pricePointId?: number;
/** The numerical interval. i.e. an interval of ‘30’ coupled with an interval_unit of day would mean this component price point would renew every 30 days. This property is only available for sites with Multifrequency enabled. */
interval?: number;
/** A string representing the interval unit for this component price point, either month or day. This property is only available for sites with Multifrequency enabled. */
intervalUnit?: IntervalUnit | null;
previousPricePointId?: number;
pricePointHandle?: string;
pricePointName?: string;
componentHandle?: string | null;
[key: string]: unknown;
}
export declare const allocationPreviewItemSchema: Schema<AllocationPreviewItem>;
//# sourceMappingURL=allocationPreviewItem.d.ts.map