UNPKG

pnz-payments-sdk

Version:

PNZ Payments Account and Transaction API

63 lines (62 loc) 3.28 kB
/** * Account and Transaction API SpecificationLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { Schema } from '../schema'; import { StatementAmount } from './statementAmount'; import { StatementBenefit } from './statementBenefit'; import { StatementDateTime } from './statementDateTime'; import { StatementFee } from './statementFee'; import { StatementInterest } from './statementInterest'; import { StatementRate } from './statementRate'; import { StatementTypeEnum } from './statementTypeEnum'; import { StatementValue } from './statementValue'; export interface Statement { /** A unique and immutable identifier used to identify the account resource. This identifier has no meaning to the account owner. */ accountId: string; /** Unique identifier for the statement resource within an servicing institution. This identifier is both unique and immutable. */ statementId?: string; /** Unique reference for the statement. This reference may be optionally populated if available. */ statementReference?: string; /** Statement type, in a coded form. */ type: StatementTypeEnum; /** * Date and time at which the statement period starts. * 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 */ startDateTime: string; /** * Date and time at which the statement period ends. * 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 */ endDateTime: string; /** * Date and time at which the resource was created. * 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 */ creationDateTime: string; /** Other descriptions that may be available for the statement resource. */ statementDescription?: string[]; /** Set of elements used to provide details of a benefit or reward amount for the statement resource. */ statementBenefit?: StatementBenefit[]; /** Set of elements used to provide details of a fee for the statement resource. */ statementFee?: StatementFee[]; /** Set of elements used to provide details of a generic interest amount related to the statement resource. */ statementInterest?: StatementInterest[]; /** Set of elements used to provide details of a generic date time for the statement resource. */ statementDateTime?: StatementDateTime[]; /** Set of elements used to provide details of a generic rate related to the statement resource. */ statementRate?: StatementRate[]; /** Set of elements used to provide details of a generic number value related to the statement resource. */ statementValue?: StatementValue[]; /** Set of elements used to provide details of a generic amount for the statement resource. */ statementAmount?: StatementAmount[]; } export declare const statementSchema: Schema<Statement>;