@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.
30 lines • 1.79 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.invoicePaymentSchema = void 0;
var schema_js_1 = require("../schema.js");
var invoicePaymentMethod_js_1 = require("./invoicePaymentMethod.js");
exports.invoicePaymentSchema = (0, schema_js_1.lazy)(function () {
return (0, schema_js_1.expandoObject)({
transactionTime: ['transaction_time', (0, schema_js_1.optional)((0, schema_js_1.string)())],
memo: ['memo', (0, schema_js_1.optional)((0, schema_js_1.string)())],
originalAmount: ['original_amount', (0, schema_js_1.optional)((0, schema_js_1.string)())],
appliedAmount: ['applied_amount', (0, schema_js_1.optional)((0, schema_js_1.string)())],
paymentMethod: ['payment_method', (0, schema_js_1.optional)(invoicePaymentMethod_js_1.invoicePaymentMethodSchema)],
transactionId: ['transaction_id', (0, schema_js_1.optional)((0, schema_js_1.number)())],
prepayment: ['prepayment', (0, schema_js_1.optional)((0, schema_js_1.boolean)())],
gatewayHandle: ['gateway_handle', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
gatewayUsed: ['gateway_used', (0, schema_js_1.optional)((0, schema_js_1.string)())],
gatewayTransactionId: [
'gateway_transaction_id',
(0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)())),
],
receivedOn: ['received_on', (0, schema_js_1.optional)((0, schema_js_1.nullable)((0, schema_js_1.string)()))],
uid: ['uid', (0, schema_js_1.optional)((0, schema_js_1.string)())],
});
});
//# sourceMappingURL=invoicePayment.js.map