Class PickupDetails

    • Method Detail

      • name

        public final String name()

        The name of the person picking up the device.

        Returns:
        The name of the person picking up the device.
      • phoneNumber

        public final String phoneNumber()

        The phone number of the person picking up the device.

        Returns:
        The phone number of the person picking up the device.
      • email

        public final String email()

        The email address of the person picking up the device.

        Returns:
        The email address of the person picking up the device.
      • identificationNumber

        public final String identificationNumber()

        The number on the credential identifying the person picking up the device.

        Returns:
        The number on the credential identifying the person picking up the device.
      • identificationExpirationDate

        public final Instant identificationExpirationDate()

        Expiration date of the credential identifying the person picking up the device.

        Returns:
        Expiration date of the credential identifying the person picking up the device.
      • identificationIssuingOrg

        public final String identificationIssuingOrg()

        Organization that issued the credential identifying the person picking up the device.

        Returns:
        Organization that issued the credential identifying the person picking up the device.
      • devicePickupId

        public final String devicePickupId()

        The unique ID for a device that will be picked up.

        Returns:
        The unique ID for a device that will be picked up.
      • 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)