/** * NOTE: This class is auto generated by DANA Indonesia. * Do not edit the class manually. */ import type { ValidationErrorContext } from '../../runtime'; /** * * @export * @interface Money */ export interface Money { /** * Value of amount. Following ISO-4217, for IDR the value includes 2 decimal digits separated with point e.g. ,IDR 10.000,- will be placed with 10000.00 * @type {string} * @memberof Money */ value: string; /** * Currency. Following ISO-4217 * @type {string} * @memberof Money */ currency: string; } /** * Check if a given object implements the Money interface. */ export declare function instanceOfMoney(value: object): value is Money; export declare function MoneyFromJSON(json: any): Money; export declare function MoneyFromJSONTyped(json: any, ignoreDiscriminator: boolean): Money; export declare function MoneyToJSON(json: any): Money; export declare function MoneyToJSONTyped(value?: Money | null, ignoreDiscriminator?: boolean): any; export declare function validateMoney(value: Money): ValidationErrorContext[];