Class LiquidityPartsDef.LiquidityRiskFields

    • Method Detail

      • getRisk

        @Nullable
        public @Nullable java.math.BigDecimal getRisk()
        Returns:
        How much risk a user has used, defined in the currency specified by RiskCurrency.
      • getRiskLimit

        @Nullable
        public @Nullable java.math.BigDecimal getRiskLimit()
        Returns:
        The maximum risk a user is entitled to, defined in the currency specified by RiskCurrency.
      • getRiskCurrency

        @Nullable
        public @Nullable java.lang.String getRiskCurrency()
        Returns:
        The currency in which the risk is expressed.
      • getFields

        @NotNull
        public @NotNull java.util.Map<java.lang.String,​java.lang.String> getFields()
        Specified by:
        getFields in interface Message
      • getFieldFlags

        @NotNull
        public @NotNull java.util.Map<java.lang.String,​java.util.Collection<java.lang.String>> getFieldFlags()
        Specified by:
        getFieldFlags in interface BuilderMessage
        Returns:
        Get the flags for all fields.
      • getFlagFields

        @NotNull
        public @NotNull java.util.Map<java.lang.String,​java.util.Collection<java.lang.String>> getFlagFields()
        Specified by:
        getFlagFields in interface BuilderMessage
        Returns:
        Get the fields for all flags.
      • toString

        @NotNull
        public @NotNull java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • from

        @NotNull
        public static @NotNull LiquidityPartsDef.LiquidityRiskFields from​(@NotNull
                                                                          @NotNull java.util.Map<java.lang.String,​java.lang.String> fields,
                                                                          @NotNull
                                                                          @NotNull java.lang.String fieldPrefix)