@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.
29 lines • 1.25 kB
JavaScript
;
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
exports.__esModule = true;
exports.refundInvoiceEventDataSchema = void 0;
var schema_1 = require("../schema");
var creditNote_1 = require("./creditNote");
var invoiceConsolidationLevel_1 = require("./invoiceConsolidationLevel");
exports.refundInvoiceEventDataSchema = (0, schema_1.expandoObject)({
applyCredit: ['apply_credit', (0, schema_1.boolean)()],
consolidationLevel: [
'consolidation_level',
(0, schema_1.optional)(invoiceConsolidationLevel_1.invoiceConsolidationLevelSchema),
],
creditNoteAttributes: [
'credit_note_attributes',
(0, schema_1.lazy)(function () { return creditNote_1.creditNoteSchema; }),
],
memo: ['memo', (0, schema_1.optional)((0, schema_1.string)())],
originalAmount: ['original_amount', (0, schema_1.optional)((0, schema_1.string)())],
paymentId: ['payment_id', (0, schema_1.number)()],
refundAmount: ['refund_amount', (0, schema_1.string)()],
refundId: ['refund_id', (0, schema_1.number)()],
transactionTime: ['transaction_time', (0, schema_1.string)()]
});
//# sourceMappingURL=refundInvoiceEventData.js.map