Skip to main content
Version: SDK 5.0.x

Class Money

An instance represents a monetary amount together with a currency.

Constructors

Constructor

new Money(value: number, currency: string): Money

Parameters

NameTypeDescription
valuenumber-
currencystring-

Returns

Money

Properties

On This Page

Constructors

constructor

Properties

currencyvalue

react-native-justtrack-sdk

  • Loading...

Generated using TypeDoc

Settings

Member Visibility
  • Protected
  • Inherited
  • External

currency

currency: string

The currency for the amount. Needs to be an uppercase 3-letter ISO 4217 string.

value

value: number

The monetary amount. Needs to be a finite value.