Module Values.MonetaryAmountSource

The monetary amount of the credit.

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

    The aggregated monetary amount of credits earned.

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

    The unit that the monetary amount is given in.

    *)
}
Sourceval make : ?amount:??? -> ?unit:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of GenericDouble.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