UNPKG

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

38 lines (34 loc) 1.35 kB
/** * Shell Data & Reporting 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 PricingHistory { /** * Pricing History Period Start date and should be the first date of the month. * Format: YYYYMMDD */ fromDate?: string | null; /** * Pricing History Period end date and should be the last date of the period month. * Format: YYYYMMDD */ toDate?: string | null; /** * Pricing History Period Fees Rule ID that is associated to the period of that associated payer. * Example: 8101 */ feesRuleID?: number | null; /** Pricing History Period Fees Rule Description that is associated to the period of that associated payer. */ feesRuleDescription?: string | null; /** Total Quantity for the Pricing History Period that is associated to that payer. */ totalVolume?: number | null; } export const pricingHistorySchema: Schema<PricingHistory> = object({ fromDate: ['FromDate', optional(nullable(string()))], toDate: ['ToDate', optional(nullable(string()))], feesRuleID: ['FeesRuleID', optional(nullable(number()))], feesRuleDescription: ['FeesRuleDescription', optional(nullable(string()))], totalVolume: ['TotalVolume', optional(nullable(number()))], });