@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.
26 lines • 1.19 kB
TypeScript
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { Schema } from '../schema';
import { CreateAllocation } from './createAllocation';
import { CreditType } from './creditType';
export interface PreviewAllocationsRequest {
allocations: CreateAllocation[];
/** To calculate proration amounts for a future time. Only within a current subscription period. Only ISO8601 format is supported. */
effectiveProrationDate?: string;
/**
* 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;
[key: string]: unknown;
}
export declare const previewAllocationsRequestSchema: Schema<PreviewAllocationsRequest>;
//# sourceMappingURL=previewAllocationsRequest.d.ts.map