Module Values.ReservationOfferingSource

The class of offering for the reservation. The offering class determines the payment schedule for the reservation.

Sourcetype nonrec t = {
  1. currencyCode : CurrencyCode.t option;
    (*

    The currency code for the offering.

    *)
  2. duration : Duration.t option;
    (*

    The duration, in seconds, for which the reservation reserves the RPUs.

    *)
  3. hourlyCharge : Charge.t option;
    (*

    The rate you are charged for each hour the reservation is active.

    *)
  4. offeringId : OfferingId.t option;
    (*

    The offering identifier.

    *)
  5. offeringType : OfferingType.t option;
    (*

    Determines the payment schedule for the reservation.

    *)
  6. upfrontCharge : Charge.t option;
    (*

    The up-front price you are charged for the reservation.

    *)
}
Sourceval make : ?currencyCode:??? -> ?duration:??? -> ?hourlyCharge:??? -> ?offeringId:??? -> ?offeringType:??? -> ?upfrontCharge:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of Charge.t | `Enum of string | `Integer of Duration.t | `String of CurrencyCode.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