@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.
31 lines • 1.78 kB
JavaScript
;
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
exports.__esModule = true;
exports.renewalPreviewLineItemSchema = void 0;
var schema_1 = require("../schema");
var lineItemKind_1 = require("./lineItemKind");
var lineItemTransactionType_1 = require("./lineItemTransactionType");
exports.renewalPreviewLineItemSchema = (0, schema_1.expandoObject)({
transactionType: [
'transaction_type',
(0, schema_1.optional)(lineItemTransactionType_1.lineItemTransactionTypeSchema),
],
kind: ['kind', (0, schema_1.optional)(lineItemKind_1.lineItemKindSchema)],
amountInCents: ['amount_in_cents', (0, schema_1.optional)((0, schema_1.bigint)())],
memo: ['memo', (0, schema_1.optional)((0, schema_1.string)())],
discountAmountInCents: ['discount_amount_in_cents', (0, schema_1.optional)((0, schema_1.bigint)())],
taxableAmountInCents: ['taxable_amount_in_cents', (0, schema_1.optional)((0, schema_1.bigint)())],
productId: ['product_id', (0, schema_1.optional)((0, schema_1.number)())],
productName: ['product_name', (0, schema_1.optional)((0, schema_1.string)())],
componentId: ['component_id', (0, schema_1.optional)((0, schema_1.number)())],
componentHandle: ['component_handle', (0, schema_1.optional)((0, schema_1.string)())],
componentName: ['component_name', (0, schema_1.optional)((0, schema_1.string)())],
productHandle: ['product_handle', (0, schema_1.optional)((0, schema_1.string)())],
periodRangeStart: ['period_range_start', (0, schema_1.optional)((0, schema_1.string)())],
periodRangeEnd: ['period_range_end', (0, schema_1.optional)((0, schema_1.string)())]
});
//# sourceMappingURL=renewalPreviewLineItem.js.map