pnz-payments-sdk
Version:
PNZ Payments Account and Transaction API
31 lines (30 loc) • 1.33 kB
TypeScript
/**
* Account and Transaction API SpecificationLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { Schema } from '../schema';
import { Amount } from './amount';
import { BalanceModelTypeEnum } from './balanceModelTypeEnum';
import { CreditDebitIndicatorEnum } from './creditDebitIndicatorEnum';
import { CreditLine } from './creditLine';
/** Balance object schema */
export interface BalanceModel {
/** A unique and immutable identifier used to identify the account resource. This identifier has no meaning to the account owner. */
accountId: string;
/** Amount of money of the cash balance. */
amount: Amount;
/** Indicates whether the balance is a credit or a debit balance. Usage: A zero balance is considered to be a credit balance. */
creditDebitIndicator: CreditDebitIndicatorEnum;
/** Balance type, in a coded form. */
type: BalanceModelTypeEnum;
/**
* Indicates the date (and time) of the balance.
* All dates in the JSON payloads are represented in ISO 8601 date-time format.
* All date-time fields in responses must include the timezone. An example is below:
* 2017-04-05T10:43:07+00:00
*/
dateTime: string;
creditLine?: CreditLine[];
}
export declare const balanceModelSchema: Schema<BalanceModel>;