Class BonusPayment

    • Method Detail

      • workerId

        public final String workerId()

        The ID of the Worker to whom the bonus was paid.

        Returns:
        The ID of the Worker to whom the bonus was paid.
      • bonusAmount

        public final String bonusAmount()
        Returns the value of the BonusAmount property for this object.
        Returns:
        The value of the BonusAmount property for this object.
      • assignmentId

        public final String assignmentId()

        The ID of the assignment associated with this bonus payment.

        Returns:
        The ID of the assignment associated with this bonus payment.
      • reason

        public final String reason()

        The Reason text given when the bonus was granted, if any.

        Returns:
        The Reason text given when the bonus was granted, if any.
      • grantTime

        public final Instant grantTime()

        The date and time of when the bonus was granted.

        Returns:
        The date and time of when the bonus was granted.
      • 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)