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
25 lines (21 loc) • 660 B
text/typescript
/**
* Account information PNZ-API-CentreLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { lazy, object, Schema, string } from '../schema';
import { Amount, amountSchema } from './amount';
export interface Balance20 {
accountId: string;
amount: Amount;
creditDebitIndicator: string;
type: string;
dateTime: string;
}
export const balance20Schema: Schema<Balance20> = object({
accountId: ['AccountId', string()],
amount: ['Amount', lazy(() => amountSchema)],
creditDebitIndicator: ['CreditDebitIndicator', string()],
type: ['Type', string()],
dateTime: ['DateTime', string()],
});