java.lang.Object
com.fiap.tech_challenge.parte1.ms_users.entities.Address

public class Address extends Object
Represents a physical address associated with a user.
  • Constructor Details

    • Address

      public Address()
      Default constructor for Address.
  • Method Details

    • getId

      public UUID getId()
      Returns the unique identifier of this address.
      Returns:
      the UUID of the address
    • getZipcode

      public String getZipcode()
      Returns the postal code (zipcode) of this address.
      Returns:
      the zipcode as a String
    • getStreet

      public String getStreet()
      Returns the street name of this address.
      Returns:
      the street name as a String
    • getNumber

      public int getNumber()
      Returns the street number of this address.
      Returns:
      the street number as an int
    • getComplement

      public String getComplement()
      Returns the complement information of this address (e.g., apartment, suite).
      Returns:
      the complement as a String, or null if none
    • getNeighborhood

      public String getNeighborhood()
      Returns the neighborhood of this address.
      Returns:
      the neighborhood as a String
    • getCity

      public String getCity()
      Returns the city where this address is located.
      Returns:
      the city as a String
    • getState

      public String getState()
      Returns the state where this address is located.
      Returns:
      the state as a String
    • getUserId

      public String getUserId()
      Returns the identifier of the user associated with this address.
      Returns:
      the user ID as a String