Class DisplayFormatOptions

    • Method Detail

      • useBlankCellFormat

        public final Boolean useBlankCellFormat()

        A Boolean value that indicates whether to use blank cell format.

        Returns:
        A Boolean value that indicates whether to use blank cell format.
      • blankCellFormat

        public final String blankCellFormat()

        Determines the blank cell format.

        Returns:
        Determines the blank cell format.
      • dateFormat

        public final String dateFormat()

        Determines the DateTime format.

        Returns:
        Determines the DateTime format.
      • groupingSeparator

        public final String groupingSeparator()

        Determines the grouping separator.

        Returns:
        Determines the grouping separator.
      • useGrouping

        public final Boolean useGrouping()

        A Boolean value that indicates whether to use grouping.

        Returns:
        A Boolean value that indicates whether to use grouping.
      • fractionDigits

        public final Integer fractionDigits()

        Determines the number of fraction digits.

        Returns:
        Determines the number of fraction digits.
      • prefix

        public final String prefix()

        The prefix value for a display format.

        Returns:
        The prefix value for a display format.
      • suffix

        public final String suffix()

        The suffix value for a display format.

        Returns:
        The suffix value for a display format.
      • unitScaler

        public final NumberScale unitScaler()

        The unit scaler. Valid values for this structure are: NONE, AUTO, THOUSANDS, MILLIONS, BILLIONS, and TRILLIONS.

        If the service returns an enum value that is not available in the current SDK version, unitScaler will return NumberScale.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from unitScalerAsString().

        Returns:
        The unit scaler. Valid values for this structure are: NONE, AUTO, THOUSANDS, MILLIONS, BILLIONS, and TRILLIONS.
        See Also:
        NumberScale
      • unitScalerAsString

        public final String unitScalerAsString()

        The unit scaler. Valid values for this structure are: NONE, AUTO, THOUSANDS, MILLIONS, BILLIONS, and TRILLIONS.

        If the service returns an enum value that is not available in the current SDK version, unitScaler will return NumberScale.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from unitScalerAsString().

        Returns:
        The unit scaler. Valid values for this structure are: NONE, AUTO, THOUSANDS, MILLIONS, BILLIONS, and TRILLIONS.
        See Also:
        NumberScale
      • negativeFormat

        public final NegativeFormat negativeFormat()

        The negative format.

        Returns:
        The negative format.
      • currencySymbol

        public final String currencySymbol()

        The currency symbol, such as USD.

        Returns:
        The currency symbol, such as USD.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)