Module Values.MonetaryValueSource

Specifies payments details.

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

    Specifies the payment amount.

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

    Specifies the payment currency. Accepted values are USD (US Dollars) and EUR (Euros). If the AWS Partition is aws-eusc (AWS European Sovereign Cloud), the currency code must be EUR.

    *)
}
Sourceval context_ : string
Sourceval make : amount:MonetaryValueAmountString.t -> currencyCode:CurrencyCode.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of MonetaryValueAmountString.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