Module Values.OrderSource

Information about an order.

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

    The ID of the Outpost in the order.

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

    The ID of the order.

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

    The status of the order. PREPARING - Order is received and being prepared. IN_PROGRESS - Order is either being built or shipped. To get more details, see the line item status. DELIVERED - Order was delivered to the Outpost site. COMPLETED - Order is complete. CANCELLED - Order is cancelled. ERROR - Customer should contact support. The following status are deprecated: RECEIVED, PENDING, PROCESSING, INSTALLING, and FULFILLED.

    *)
  4. lineItems : LineItemListDefinition.t option;
    (*

    The line items for the order

    *)
  5. paymentOption : PaymentOption.t option;
    (*

    The payment option for the order.

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

    The submission date for the order.

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

    The fulfillment date of the order.

    *)
  8. paymentTerm : PaymentTerm.t option;
    (*

    The payment term.

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

    The type of order.

    *)
}
Sourceval make : ?outpostId:??? -> ?orderId:??? -> ?status:??? -> ?lineItems:??? -> ?paymentOption:??? -> ?orderSubmissionDate:??? -> ?orderFulfilledDate:??? -> ?paymentTerm:??? -> ?orderType:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `Integer of LineItemQuantity.t | `List of [> `Structure of (string * [> `List of [> `String of MacAddress.t ] list | `String of AssetId.t ]) list ] list | `String of SkuCode.t | `Structure of (string * [> `Enum of string | `String of TrackingId.t ]) list ]) list ] 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