data-and-reporting-sdk
Version:
Data And Reporting product consists of API's which provides details of transaction and invoice informations about shell cards. The Shell Card Transaction and Invoice API is REST-based and employs Basic authentication in Version 1 and Oauth authentication
36 lines (32 loc) • 1.09 kB
text/typescript
/**
* 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';
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<MultiPricedTransactionRequestAccountsItems> = object(
{
payerId: ['PayerId', optional(number())],
payerNumber: ['PayerNumber', optional(string())],
accountId: ['AccountId', optional(number())],
accountNumber: ['AccountNumber', optional(string())],
}
);