UNPKG

pnz-payments-sdk

Version:

PNZ Payments Account and Transaction API

25 lines (21 loc) 752 B
/** * Account and Transaction API SpecificationLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { number, object, Schema } from '../schema'; import { StatementValueTypeEnum, statementValueTypeEnumSchema, } from './statementValueTypeEnum'; /** Set of elements used to provide details of a generic number value related to the statement resource. */ export interface StatementValue { /** Value associated with the statement value type. */ value: number; /** Statement value type, in a coded form. */ type: StatementValueTypeEnum; } export const statementValueSchema: Schema<StatementValue> = object({ value: ['Value', number()], type: ['Type', statementValueTypeEnumSchema], });