@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.
20 lines • 1.07 kB
JavaScript
;
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
exports.__esModule = true;
exports.componentPriceSchema = void 0;
var schema_1 = require("../schema");
exports.componentPriceSchema = (0, schema_1.expandoObject)({
id: ['id', (0, schema_1.optional)((0, schema_1.number)())],
componentId: ['component_id', (0, schema_1.optional)((0, schema_1.number)())],
startingQuantity: ['starting_quantity', (0, schema_1.optional)((0, schema_1.number)())],
endingQuantity: ['ending_quantity', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.number)()))],
unitPrice: ['unit_price', (0, schema_1.optional)((0, schema_1.string)())],
pricePointId: ['price_point_id', (0, schema_1.optional)((0, schema_1.number)())],
formattedUnitPrice: ['formatted_unit_price', (0, schema_1.optional)((0, schema_1.string)())],
segmentId: ['segment_id', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.number)()))]
});
//# sourceMappingURL=componentPrice.js.map