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

29 lines (25 loc) 1.34 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 FinanceCurrency2 { /** Currency ISO Code used for the Finance Widget. */ currencyCode?: string | null; /** Currency Symbol */ currencySymbol?: string | null; /** Factor to be used for converting the amounts in invoice currency to finance widget currency. (If finance currency is same as invoice currency, then the value of this field will be “1” so that the value does not change) */ invoiceExchangeRate?: number | null; /** Factor to be used for converting the amounts in credit limit currency to finance widget currency. (If finance currency is same as credit limit currency, then the value of this field will be “1” so that the value does not change) */ creditLimitExchangeRate?: number | null; } export const financeCurrency2Schema: Schema<FinanceCurrency2> = object({ currencyCode: ['CurrencyCode', optional(nullable(string()))], currencySymbol: ['CurrencySymbol', optional(nullable(string()))], invoiceExchangeRate: ['Invoice_ExchangeRate', optional(nullable(number()))], creditLimitExchangeRate: [ 'CreditLimit_ExchangeRate', optional(nullable(number())), ], });