Built-in dimensions

The built-in dimensions are as follows:

  • gw.pl.currency.MonetaryAmount
  • gw.api.financials.CurrencyAmount

Both classes have a numeric component and a currency from the Currency typelist. For example, you can instantiate each of them as follows:

var ma = new MonetaryAmount(3, Currency.TC_USD)
var ca = new CurrencyAmount(3, Currency.TC_USD)