Class CustomFieldValues.Builder

  • Enclosing class:
    CustomFieldValues

    public static class CustomFieldValues.Builder
    extends java.lang.Object
    Helper class that is used to construct a CustomFieldValues object.
    • Method Detail

      • withTradingProtocol

        public CustomFieldValues.Builder withTradingProtocol​(java.lang.String tradingProtocol)
        Add the trading protocol.
      • withClientTimePriceOnScreen

        public CustomFieldValues.Builder withClientTimePriceOnScreen​(java.lang.String clientTimePriceOnScreen)
        Add the time the price was displayed on the client's screen.
      • withClientTimePriceClicked

        public CustomFieldValues.Builder withClientTimePriceClicked​(java.lang.String clientTimePriceClicked)
        Add the time the client clicked on the price.
      • withServerTimePriceReceived

        public CustomFieldValues.Builder withServerTimePriceReceived​(java.lang.String serverTimePriceReceived)
        Add the time the server received the price.
      • withServerTimeTradeReceived

        public CustomFieldValues.Builder withServerTimeTradeReceived​(java.lang.String serverTimeTradeReceived)
        Add the time the server received the trade.
      • withServerTimeConnectionReceived

        public CustomFieldValues.Builder withServerTimeConnectionReceived​(java.lang.String serverTimeConnectionReceived)
        Add the time the server received a connection.
      • withServerTimeWaitingForConnection

        public CustomFieldValues.Builder withServerTimeWaitingForConnection​(java.lang.String serverTimeWaitingForConnection)
        Add the time the server has spent waiting for a connection.
      • withServerTimeSettingUpTrade

        public CustomFieldValues.Builder withServerTimeSettingUpTrade​(java.lang.String serverTimeSettingUpTrade)
        Add the time the server took setting up the trade.
      • withServerTimeTradeSubmitted

        public CustomFieldValues.Builder withServerTimeTradeSubmitted​(java.lang.String serverTimeTradeSubmitted)
        Add the time the server submitted the trade.
      • withLastEditedBy

        public CustomFieldValues.Builder withLastEditedBy​(java.lang.String lastEditor)
        Add the last edited by.
      • withValue

        public CustomFieldValues.Builder withValue​(java.lang.String key,
                                                   java.lang.String value)
        Add a custom key/value pair.
      • withValues

        public CustomFieldValues.Builder withValues​(java.util.Map<java.lang.String,​java.lang.String> values)
        Add a map of custom key/values.