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