export interface Money {
  amount: number;
  currencyCode: Currency;
}

export type Currency = "GEL" | "USD" | "EUR" | "UZS";

export enum CurrencyCode {
  GEL = 981,
  USD = 840,
  EUR = 978,
  UZS = 860
}

export class Amount implements Money {
  constructor(public amount: number, public currencyCode: Currency) {}
}
