@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.
18 lines • 826 B
JavaScript
;
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
exports.__esModule = true;
exports.failedPaymentEventDataSchema = void 0;
var schema_1 = require("../schema");
var invoicePaymentMethodType_1 = require("./invoicePaymentMethodType");
exports.failedPaymentEventDataSchema = (0, schema_1.expandoObject)({
amountInCents: ['amount_in_cents', (0, schema_1.number)()],
appliedAmount: ['applied_amount', (0, schema_1.number)()],
memo: ['memo', (0, schema_1.optional)((0, schema_1.nullable)((0, schema_1.string)()))],
paymentMethod: ['payment_method', invoicePaymentMethodType_1.invoicePaymentMethodTypeSchema],
transactionId: ['transaction_id', (0, schema_1.number)()]
});
//# sourceMappingURL=failedPaymentEventData.js.map