UNPKG

card-management-sdk

Version:

The Shell Card Management API is REST-based and employs OAUTH 2.0,Basic and ApiKey authentication. The API endpoints accept JSON-encoded request bodies, return JSON-encoded responses and use standard HTTP response codes. All resources are located in the S

35 lines (31 loc) 1.25 kB
/** * Shell Card Management APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { nullable, number, object, optional, Schema, string } from '../schema'; export interface Payers { /** Collecting Company Id of the payer */ colCoId?: number | null; /** * Collecting Company Code (Shell Code) of the selected payer. * Mandatory for serviced OUs such as Romania, Latvia, Lithuania, Estonia, Ukraine etc. It is optional for other countries if ColCoID is provided. */ colCoCode?: number | null; /** Payer id of the customer. */ payerId?: number | null; /** Payer Number of the customer. */ payerNumber?: string | null; /** Payer Name of the customer. */ payerName?: string | null; /** Payer Group identifier of the customer */ payerGroupId?: number | null; } export const payersSchema: Schema<Payers> = object({ colCoId: ['ColCoId', optional(nullable(number()))], colCoCode: ['ColCoCode', optional(nullable(number()))], payerId: ['PayerId', optional(nullable(number()))], payerNumber: ['PayerNumber', optional(nullable(string()))], payerName: ['PayerName', optional(nullable(string()))], payerGroupId: ['PayerGroupId', optional(nullable(number()))], });