Package com.dzidzi.dto.address
Class AddAddressRequest
java.lang.Object
com.dzidzi.dto.address.AddAddressRequest
AddAddressRequest represents the DTO request containing the objects used to create a new address.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AddAddressRequest.Builderbuilder()The apartment numbergetCity()The city namegetFloor()The floor numberThe house number of the addressThe street name of the addressgetZip()The zip codevoidsetApartmentNr(String apartmentNr) The apartment numbervoidThe city namevoidThe floor numbervoidsetGeoLocation(Boolean geoLocation) voidsetHouseNumber(String houseNumber) The house number of the addressvoidThe street name of the 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 newAddAddressRequestinstance.- Parameters:
street- The street name of the addresshouseNumber- The house number of the addressapartmentNr- The apartment numberzip- The zip codecity- The city namefloor- The floor numbergeoLocation-
-
-
Method Details
-
builder
-
getStreet
The street name of the address -
getHouseNumber
The house number of the address -
getApartmentNr
The apartment number -
getZip
The zip code -
getCity
The city name -
getFloor
The floor number -
getGeoLocation
-
setStreet
The street name of the address -
setHouseNumber
The house number of the address -
setApartmentNr
The apartment number -
setCity
The city name -
setFloor
The floor number -
setGeoLocation
-