UNPKG

pnz-apicentre-sandbox-sdk

Version:

The sandbox, powered by Middleware New Zealand, is a dedicated environment that mimics an API Provider, as defined in the [Payments NZ API Centre standards](https://paymentsnz.atlassian.net/wiki/spaces/PaymentsNZAPIStandards/overview). This SDK is generat

21 lines (17 loc) 569 B
/** * Account information PNZ-API-CentreLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { lazy, number, object, Schema, string } from '../schema'; import { TotalAmount, totalAmountSchema } from './totalAmount'; export interface Frequency { totalAmount: TotalAmount; period: string; totalCount: number; } export const frequencySchema: Schema<Frequency> = object({ totalAmount: ['TotalAmount', lazy(() => totalAmountSchema)], period: ['Period', string()], totalCount: ['TotalCount', number()], });