Class ChangeAddressRequest

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

public class ChangeAddressRequest extends Object
ChangeAddressRequest represents the DTO request containing the objects used to update an existing address.
  • Constructor Details

    • ChangeAddressRequest

      public ChangeAddressRequest()
    • ChangeAddressRequest

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

    • builder

      public static ChangeAddressRequest.Builder builder()
    • getStreet

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

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

      public String getApartmentNr()
      The new apartment number
    • getZip

      public String getZip()
      The new zip code
    • getCity

      public String getCity()
      The city name
    • getFloor

      public Integer getFloor()
      The floor number
    • getGeoLocation

      public Boolean getGeoLocation()
    • setGeoLocation

      public void setGeoLocation(Boolean geoLocation)