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
65 lines (61 loc) • 2.26 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 FeeItemSummaryAllOf0 {
/** Fee type group in under which the Fee item is generated. */
feeTypeGroup?: string | null;
/** Fee Type Id ID Description */
feeTypeId?: string | null;
/** Product Id */
productId?: number | null;
/** Product Code */
productCode?: string | null;
/** Product Name */
productName?: string | null;
/** Product Group Id */
productGroupId?: number | null;
/** Product Group Name */
productGroupName?: string | null;
/** Total Quantity */
totalQuantity?: number | null;
/** Total Net amount in invoice currency */
totalInvoiceNetAmount?: number | null;
/** Total Gross amount in invoice currency */
totalInvoiceGrossAmount?: number | null;
/** Total VAT amount in invoice currency */
totalInvoiceVATAmount?: number | null;
/** ISO 4217 currency code of the country */
invoiceCurrencyCode?: string | null;
/** Currency symbol of the Invoice Currency Code */
invoiceCurrencySymbol?: string | null;
}
export const feeItemSummaryAllOf0Schema: Schema<FeeItemSummaryAllOf0> = object({
feeTypeGroup: ['FeeTypeGroup', optional(nullable(string()))],
feeTypeId: ['FeeTypeId', optional(nullable(string()))],
productId: ['ProductId', optional(nullable(number()))],
productCode: ['ProductCode', optional(nullable(string()))],
productName: ['ProductName', optional(nullable(string()))],
productGroupId: ['ProductGroupId', optional(nullable(number()))],
productGroupName: ['ProductGroupName', optional(nullable(string()))],
totalQuantity: ['TotalQuantity', optional(nullable(number()))],
totalInvoiceNetAmount: [
'TotalInvoiceNetAmount',
optional(nullable(number())),
],
totalInvoiceGrossAmount: [
'TotalInvoiceGrossAmount',
optional(nullable(number())),
],
totalInvoiceVATAmount: [
'TotalInvoiceVATAmount',
optional(nullable(number())),
],
invoiceCurrencyCode: ['InvoiceCurrencyCode', optional(nullable(string()))],
invoiceCurrencySymbol: [
'InvoiceCurrencySymbol',
optional(nullable(string())),
],
});