Class OrderAcceptEvent

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ACCEPT_EVENT
      Deprecated.
      The name of the transition representing this event
    • Constructor Summary

      Constructors 
      Constructor Description
      OrderAcceptEvent​(java.lang.String orderID)
      Deprecated.
      Creates an OrderAcceptEvent with the event name "Accept" and the provided order ID.
      OrderAcceptEvent​(java.util.List<java.lang.String> orderIDs)
      Deprecated.
      Creates an OrderAcceptEvent with the event name "Accept" and multiple order IDs.
    • Field Detail

      • ACCEPT_EVENT

        public static final java.lang.String ACCEPT_EVENT
        Deprecated.
        The name of the transition representing this event
        See Also:
        Constant Field Values
    • Constructor Detail

      • OrderAcceptEvent

        public OrderAcceptEvent​(java.lang.String orderID)
        Deprecated.
        Creates an OrderAcceptEvent with the event name "Accept" and the provided order ID.
        Parameters:
        orderID - The order id to send (usually the parent order ID).
      • OrderAcceptEvent

        public OrderAcceptEvent​(java.util.List<java.lang.String> orderIDs)
        Deprecated.
        Creates an OrderAcceptEvent with the event name "Accept" and multiple order IDs. This is used when a multi-order strategy has been accepted.
        Parameters:
        orderIDs - The order IDs of each of the orders in the strategy. The list must be ordered according to the semantics of the strategy, for example if the strategy is an IfDoneOCOStrategy the first order ID in the list should be the parent order ID, followed by the two order IDs for the OCO part of the strategy. This list will be sent as a comma separated string on the field "OrderID".