Class BillScenarioSummary

    • Method Detail

      • id

        public final String id()

        The unique identifier of the bill scenario.

        Returns:
        The unique identifier of the bill scenario.
      • name

        public final String name()

        The name of the bill scenario.

        Returns:
        The name of the bill scenario.
      • billInterval

        public final BillInterval billInterval()

        The time period covered by the bill scenario.

        Returns:
        The time period covered by the bill scenario.
      • createdAt

        public final Instant createdAt()

        The timestamp when the bill scenario was created.

        Returns:
        The timestamp when the bill scenario was created.
      • expiresAt

        public final Instant expiresAt()

        The timestamp when the bill scenario will expire.

        Returns:
        The timestamp when the bill scenario will expire.
      • failureMessage

        public final String failureMessage()

        An error message if the bill scenario creation or processing failed.

        Returns:
        An error message if the bill scenario creation or processing failed.
      • 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)