Module Values.PurchaseOfferingRequestSource

Represents a request for a purchase offering.

Sourcetype nonrec t = {
  1. offeringId : OfferingIdentifier.t;
    (*

    The ID of the offering.

    *)
  2. quantity : Integer.t;
    (*

    The number of device slots to purchase in an offering request.

    *)
  3. offeringPromotionId : OfferingPromotionIdentifier.t option;
    (*

    The ID of the offering promotion to be applied to the purchase.

    *)
}
Sourceval context_ : string
Sourceval make : ?offeringPromotionId:??? -> offeringId:OfferingIdentifier.t -> quantity:Integer.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `String of OfferingIdentifier.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