pnz-payments-sdk
Version:
PNZ Payments Account and Transaction API
25 lines (21 loc) • 730 B
text/typescript
/**
* Account and Transaction API SpecificationLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { object, Schema, string } from '../schema';
import {
StatementRateTypeEnum,
statementRateTypeEnumSchema,
} from './statementRateTypeEnum';
/** Set of elements used to provide details of a generic rate related to the statement resource. */
export interface StatementRate {
/** Rate associated with the statement rate type. */
rate: string;
/** Statement rate type, in a coded form. */
type: StatementRateTypeEnum;
}
export const statementRateSchema: Schema<StatementRate> = object({
rate: ['Rate', string()],
type: ['Type', statementRateTypeEnumSchema],
});