Class AddAddressRequest

java.lang.Object
com.dzidzi.dto.address.AddAddressRequest

public class AddAddressRequest extends Object
AddAddressRequest represents the DTO request containing the objects used to create a new address.
  • Constructor Details

    • AddAddressRequest

      public AddAddressRequest()
    • AddAddressRequest

      @ConstructorProperties({"street","houseNumber","apartmentNr","zip","city","floor","geoLocation"}) public AddAddressRequest(String street, String houseNumber, String apartmentNr, String zip, String city, Integer floor, Boolean geoLocation)
      Creates a new AddAddressRequest instance.
      Parameters:
      street - The street name of the address
      houseNumber - The house number of the address
      apartmentNr - The apartment number
      zip - The zip code
      city - The city name
      floor - The floor number
      geoLocation -
  • Method Details

    • builder

      public static AddAddressRequest.Builder builder()
    • getStreet

      public String getStreet()
      The street name of the address
    • getHouseNumber

      public String getHouseNumber()
      The house number of the address
    • getApartmentNr

      public String getApartmentNr()
      The apartment number
    • getZip

      public String getZip()
      The zip code
    • getCity

      public String getCity()
      The city name
    • getFloor

      public Integer getFloor()
      The floor number
    • getGeoLocation

      public Boolean getGeoLocation()
    • setStreet

      public void setStreet(String street)
      The street name of the address
    • setHouseNumber

      public void setHouseNumber(String houseNumber)
      The house number of the address
    • setApartmentNr

      public void setApartmentNr(String apartmentNr)
      The apartment number
    • setCity

      public void setCity(String city)
      The city name
    • setFloor

      public void setFloor(Integer floor)
      The floor number
    • setGeoLocation

      public void setGeoLocation(Boolean geoLocation)