@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.08 kB
JavaScript
;
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
exports.__esModule = true;
exports.prepaymentSchema = void 0;
var schema_1 = require("../schema");
var prepaymentMethod_1 = require("./prepaymentMethod");
exports.prepaymentSchema = (0, schema_1.expandoObject)({
id: ['id', (0, schema_1.number)()],
subscriptionId: ['subscription_id', (0, schema_1.number)()],
amountInCents: ['amount_in_cents', (0, schema_1.bigint)()],
remainingAmountInCents: ['remaining_amount_in_cents', (0, schema_1.bigint)()],
refundedAmountInCents: ['refunded_amount_in_cents', (0, schema_1.optional)((0, schema_1.bigint)())],
details: ['details', (0, schema_1.optional)((0, schema_1.string)())],
external: ['external', (0, schema_1.boolean)()],
memo: ['memo', (0, schema_1.string)()],
paymentType: ['payment_type', (0, schema_1.optional)(prepaymentMethod_1.prepaymentMethodSchema)],
createdAt: ['created_at', (0, schema_1.string)()]
});
//# sourceMappingURL=prepayment.js.map