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
29 lines (25 loc) • 943 B
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 FeeRuleProduct {
/** Product Group Id */
productGroupId?: number | null;
/** Product Group name */
productGroupName?: string | null;
/** Client Product Code */
productCode?: string | null;
/** Product Id */
productId?: number | null;
/** Product name in English */
productName?: string | null;
}
export const feeRuleProductSchema: Schema<FeeRuleProduct> = object({
productGroupId: ['ProductGroupId', optional(nullable(number()))],
productGroupName: ['ProductGroupName', optional(nullable(string()))],
productCode: ['ProductCode', optional(nullable(string()))],
productId: ['ProductId', optional(nullable(number()))],
productName: ['ProductName', optional(nullable(string()))],
});