/** * NymOS API 1.9.21 * * The contents of this file are subject to the NymOS License, version 1.0. * It is forbidden the use of the codes included on this file, even partially, * for third parties, such as its copy, without express authorization of the * intelectual property and commercial rights owners. A copy of the license * may be obtained at http://nymos.io/source-license. The intelectual * property and comercial rights of this file and codes belong to NymOS S.A. * * Copyright (c) 2017. All rights reserved. * */ import { Money } from './money.model'; /** * Used while representing amounts where tax, fee, commission or discount may apply. */ export interface Amount { subtotal: Money; tax?: Money; fee?: Money; commission?: Money; discount?: Money; total: Money; }