Module Values.MonetaryAmountSource

A number that represents the monetary amount for an offering or transaction.

Sourcetype nonrec t = {
  1. amount : Double.t option;
    (*

    The numerical amount of an offering or transaction.

    *)
  2. currencyCode : CurrencyCode.t option;
    (*

    The currency code of a monetary amount. For example, USD means U.S. dollars.

    *)
}
Sourceval make : ?amount:??? -> ?currencyCode:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of Double.t | `Enum of string ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t