wallee
Version:
TypeScript/JavaScript client for wallee
40 lines (39 loc) • 1.36 kB
TypeScript
/**
*
* @export
* @interface RestCurrency
*/
export interface RestCurrency {
/**
* The name of the currency.
* @type {string}
* @memberof RestCurrency
*/
readonly name?: string;
/**
* The currency's number of decimals. When calculating amounts in this currency, the fraction digits determine the accuracy.
* @type {number}
* @memberof RestCurrency
*/
readonly fractionDigits?: number;
/**
* The currency's three-letter code (ISO 4217 format).
* @type {string}
* @memberof RestCurrency
*/
readonly currencyCode?: string;
/**
* The currency's three-digit code (ISO 4217 format).
* @type {number}
* @memberof RestCurrency
*/
readonly numericCode?: number;
}
/**
* Check if a given object implements the RestCurrency interface.
*/
export declare function instanceOfRestCurrency(value: object): value is RestCurrency;
export declare function RestCurrencyFromJSON(json: any): RestCurrency;
export declare function RestCurrencyFromJSONTyped(json: any, ignoreDiscriminator: boolean): RestCurrency;
export declare function RestCurrencyToJSON(json: any): RestCurrency;
export declare function RestCurrencyToJSONTyped(value?: Omit<RestCurrency, 'name' | 'fractionDigits' | 'currencyCode' | 'numericCode'> | null, ignoreDiscriminator?: boolean): any;