Module Values_0.USDSource

Represents an amount of money in United States dollars.

Sourcetype nonrec t = {
  1. dollars : Dollars.t option;
    (*

    The whole number of dollars in the amount.

    *)
  2. cents : Cents.t option;
    (*

    The fractional portion, in cents, of the amount.

    *)
  3. tenthFractionsOfACent : TenthFractionsOfACent.t option;
    (*

    Fractions of a cent, in tenths.

    *)
}
Sourceval make : ?dollars:??? -> ?cents:??? -> ?tenthFractionsOfACent:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Dollars.t ]) 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