Class UpdateAddress

    • Method Detail

      • address1

        public final String address1()

        The first line of a customer address.

        Returns:
        The first line of a customer address.
      • address2

        public final String address2()

        The second line of a customer address.

        Returns:
        The second line of a customer address.
      • address3

        public final String address3()

        The third line of a customer address.

        Returns:
        The third line of a customer address.
      • address4

        public final String address4()

        The fourth line of a customer address.

        Returns:
        The fourth line of a customer address.
      • city

        public final String city()

        The city in which a customer lives.

        Returns:
        The city in which a customer lives.
      • county

        public final String county()

        The county in which a customer lives.

        Returns:
        The county in which a customer lives.
      • state

        public final String state()

        The state in which a customer lives.

        Returns:
        The state in which a customer lives.
      • province

        public final String province()

        The province in which a customer lives.

        Returns:
        The province in which a customer lives.
      • country

        public final String country()

        The country in which a customer lives.

        Returns:
        The country in which a customer lives.
      • postalCode

        public final String postalCode()

        The postal code of a customer address.

        Returns:
        The postal code of a customer address.
      • 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)