pnz-payments-sdk
Version:
PNZ Payments Account and Transaction API
41 lines • 1.8 kB
JavaScript
/**
* Account and Transaction API SpecificationLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { lazy, object, optional, string } from '../schema';
import { creditorAccountSchema } from './creditorAccount';
import { creditorAgentSchema } from './creditorAgent';
import { finalPaymentAmountSchema, } from './finalPaymentAmount';
import { firstPaymentAmountSchema, } from './firstPaymentAmount';
import { nextPaymentAmountSchema, } from './nextPaymentAmount';
import { referenceSchema } from './reference';
import { standingOrderStatusCodeEnumSchema, } from './standingOrderStatusCodeEnum';
export const standingOrderModelSchema = object({
accountId: ['AccountId', string()],
standingOrderId: ['StandingOrderId', optional(string())],
frequency: ['Frequency', string()],
reference: ['Reference', optional(lazy(() => referenceSchema))],
firstPaymentDateTime: ['FirstPaymentDateTime', optional(string())],
firstPaymentAmount: [
'FirstPaymentAmount',
optional(lazy(() => firstPaymentAmountSchema)),
],
nextPaymentDateTime: ['NextPaymentDateTime', string()],
nextPaymentAmount: ['NextPaymentAmount', lazy(() => nextPaymentAmountSchema)],
finalPaymentDateTime: ['FinalPaymentDateTime', optional(string())],
finalPaymentAmount: [
'FinalPaymentAmount',
optional(lazy(() => finalPaymentAmountSchema)),
],
standingOrderStatusCode: [
'StandingOrderStatusCode',
optional(standingOrderStatusCodeEnumSchema),
],
creditorAgent: ['CreditorAgent', optional(lazy(() => creditorAgentSchema))],
creditorAccount: [
'CreditorAccount',
optional(lazy(() => creditorAccountSchema)),
],
});
//# sourceMappingURL=standingOrderModel.js.map