@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.
23 lines • 1.17 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.prepaymentSchema = void 0;
var schema_js_1 = require("../schema.js");
var prepaymentMethod_js_1 = require("./prepaymentMethod.js");
exports.prepaymentSchema = (0, schema_js_1.expandoObject)({
id: ['id', (0, schema_js_1.number)()],
subscriptionId: ['subscription_id', (0, schema_js_1.number)()],
amountInCents: ['amount_in_cents', (0, schema_js_1.bigint)()],
remainingAmountInCents: ['remaining_amount_in_cents', (0, schema_js_1.bigint)()],
refundedAmountInCents: ['refunded_amount_in_cents', (0, schema_js_1.optional)((0, schema_js_1.bigint)())],
details: ['details', (0, schema_js_1.optional)((0, schema_js_1.string)())],
external: ['external', (0, schema_js_1.boolean)()],
memo: ['memo', (0, schema_js_1.string)()],
paymentType: ['payment_type', (0, schema_js_1.optional)(prepaymentMethod_js_1.prepaymentMethodSchema)],
createdAt: ['created_at', (0, schema_js_1.string)()],
});
//# sourceMappingURL=prepayment.js.map