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
35 lines (31 loc) • 1.49 kB
text/typescript
/**
* 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 PricingCurrentVolume {
/** Bonus or association bonus configuration identifier that is associated to the payer. */
feeRuleId?: number | null;
/** Bonus or association bonus configuration description that is associated to the payer */
feeRuleDescription?: string | null;
/** Pricing current period Pricing Price Rule ID that is associated to the payer. */
priceRuleID?: number | null;
/** Pricing current period pricing rule description that is associated to the payer */
priceRuleDescription?: string | null;
/** Total volume consumption for the current period. */
totalVolume?: number | null;
/**
* Next Fee Rule Creation Date for that is associated to the payer.
* Format: YYYYMMDD
*/
nextFeeCreationDate?: string | null;
}
export const pricingCurrentVolumeSchema: Schema<PricingCurrentVolume> = object({
feeRuleId: ['FeeRuleId', optional(nullable(number()))],
feeRuleDescription: ['FeeRuleDescription', optional(nullable(string()))],
priceRuleID: ['PriceRuleID', optional(nullable(number()))],
priceRuleDescription: ['PriceRuleDescription', optional(nullable(string()))],
totalVolume: ['TotalVolume', optional(nullable(number()))],
nextFeeCreationDate: ['NextFeeCreationDate', optional(nullable(string()))],
});