@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.
25 lines • 1.15 kB
JavaScript
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { boolean, expandoObject, lazy, nullable, number, optional, string, } from '../schema.js';
import { invoicePaymentMethodSchema, } from './invoicePaymentMethod.js';
export const invoicePaymentSchema = lazy(() => expandoObject({
transactionTime: ['transaction_time', optional(string())],
memo: ['memo', optional(string())],
originalAmount: ['original_amount', optional(string())],
appliedAmount: ['applied_amount', optional(string())],
paymentMethod: ['payment_method', optional(invoicePaymentMethodSchema)],
transactionId: ['transaction_id', optional(number())],
prepayment: ['prepayment', optional(boolean())],
gatewayHandle: ['gateway_handle', optional(nullable(string()))],
gatewayUsed: ['gateway_used', optional(string())],
gatewayTransactionId: [
'gateway_transaction_id',
optional(nullable(string())),
],
receivedOn: ['received_on', optional(nullable(string()))],
uid: ['uid', optional(string())],
}));
//# sourceMappingURL=invoicePayment.js.map