/** * Shell Data & Reporting APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { number, object, optional, Schema, string } from '../schema.js'; export interface MultiPricedTransactionRequestAccountsItems { /** * Payer Id of the selected payer. * Optional if PayerNumber is passed else Mandatory * Example: 123456 */ payerId?: number; /** * Payer Number (Ex: GB000000123) of the selected payer. * Optional if PayerId is passed else Mandatory * Example: GB000000123 */ payerNumber?: string; /** Account Id of the selected account. */ accountId?: number; /** Account Number (ex: GB000000123) of the selected account. */ accountNumber?: string; } export const multiPricedTransactionRequestAccountsItemsSchema: Schema = object( { payerId: ['PayerId', optional(number())], payerNumber: ['PayerNumber', optional(string())], accountId: ['AccountId', optional(number())], accountNumber: ['AccountNumber', optional(string())], } );