Module Values.OrderSummarySource

A summary of line items in your order.

Sourcetype nonrec t = {
  1. outpostId : OutpostIdOnly.t option;
    (*

    The ID of the Outpost.

    *)
  2. orderId : OrderId.t option;
    (*

    The ID of the order.

    *)
  3. orderType : OrderType.t option;
    (*

    The type of order.

    *)
  4. status : OrderStatus.t option;
    (*

    The status of the order. PREPARING - Order is received and is being prepared. IN_PROGRESS - Order is either being built, shipped, or installed. For more information, see the LineItem status. COMPLETED - Order is complete. CANCELLED - Order is cancelled. ERROR - Customer should contact support. The following statuses are deprecated: RECEIVED, PENDING, PROCESSING, INSTALLING, and FULFILLED.

    *)
  5. lineItemCountsByStatus : LineItemStatusCounts.t option;
    (*

    The status of all line items in the order.

    *)
  6. orderSubmissionDate : ISO8601Timestamp.t option;
    (*

    The submission date for the order.

    *)
  7. orderFulfilledDate : ISO8601Timestamp.t option;
    (*

    The fulfilment date for the order.

    *)
}
Sourceval make : ?outpostId:??? -> ?orderId:??? -> ?orderType:??? -> ?status:??? -> ?lineItemCountsByStatus:??? -> ?orderSubmissionDate:??? -> ?orderFulfilledDate:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Map of ([> `Enum of string ] * [> `Integer of LineItemQuantity.t ]) list | `String of OutpostIdOnly.t | `Timestamp of ISO8601Timestamp.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