ynab
Version:
Official JavaScript client for the YNAB API. API documentation available at https://api.ynab.com. Generated from server specification version 1.76.0
70 lines (69 loc) • 1.96 kB
TypeScript
/**
* YNAB API Endpoints
* Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com
*
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
/**
* The currency format setting for the budget. In some cases the format will not be available and will be specified as null.
* @export
* @interface CurrencyFormat
*/
export interface CurrencyFormat {
/**
*
* @type {string}
* @memberof CurrencyFormat
*/
iso_code: string;
/**
*
* @type {string}
* @memberof CurrencyFormat
*/
example_format: string;
/**
*
* @type {number}
* @memberof CurrencyFormat
*/
decimal_digits: number;
/**
*
* @type {string}
* @memberof CurrencyFormat
*/
decimal_separator: string;
/**
*
* @type {boolean}
* @memberof CurrencyFormat
*/
symbol_first: boolean;
/**
*
* @type {string}
* @memberof CurrencyFormat
*/
group_separator: string;
/**
*
* @type {string}
* @memberof CurrencyFormat
*/
currency_symbol: string;
/**
*
* @type {boolean}
* @memberof CurrencyFormat
*/
display_symbol: boolean;
}
/**
* Check if a given object implements the CurrencyFormat interface.
*/
export declare function instanceOfCurrencyFormat(value: object): value is CurrencyFormat;
export declare function CurrencyFormatFromJSON(json: any): CurrencyFormat;
export declare function CurrencyFormatFromJSONTyped(json: any, ignoreDiscriminator: boolean): CurrencyFormat;
export declare function CurrencyFormatToJSON(json: any): CurrencyFormat;
export declare function CurrencyFormatToJSONTyped(value?: CurrencyFormat | null, ignoreDiscriminator?: boolean): any;