Package com.dzidzi.dto.serviceResponse
Class ServiceResponse
java.lang.Object
com.dzidzi.dto.merge.EntityId
com.dzidzi.dto.serviceResponse.ServiceResponseEntityApi
com.dzidzi.dto.serviceResponse.ServiceResponse
Represents a service response of the Api.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionServiceResponse(UUID id, long responseDate, EntityComposition customerService, EntityComposition user, EntityComposition courier, RestaurantEntityApi restaurant, String details, ServiceTicketEntityApi serviceTicket) -
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceResponse.Builderbuilder()TheCourierwho made the responseTheCustomerServicewho made the responseThe response detailsTheRestaurantwho made the responseThe service ticket related to the responsegetUser()TheUserwho made the responsevoidsetCourier(EntityComposition courier) TheCourierwho made the responsevoidsetCustomerService(EntityComposition customerService) TheCustomerServicewho made the responsevoidsetRestaurant(RestaurantEntityApi restaurant) TheRestaurantwho made the responsevoidsetServiceTicket(ServiceTicketEntityApi serviceTicket) The service ticket related to the responsevoidsetUser(EntityComposition user) TheUserwho made the responseMethods inherited from class com.dzidzi.dto.serviceResponse.ServiceResponseEntityApi
getResponseDate
-
Constructor Details
-
ServiceResponse
public ServiceResponse(UUID id, long responseDate, EntityComposition customerService, EntityComposition user, EntityComposition courier, RestaurantEntityApi restaurant, String details, ServiceTicketEntityApi serviceTicket)
-
-
Method Details
-
builder
-
getCustomerService
TheCustomerServicewho made the response -
getUser
TheUserwho made the response -
getRestaurant
TheRestaurantwho made the response -
getCourier
TheCourierwho made the response -
getDetails
The response details -
getServiceTicket
The service ticket related to the response -
setCustomerService
TheCustomerServicewho made the response -
setUser
TheUserwho made the response -
setRestaurant
TheRestaurantwho made the response -
setCourier
TheCourierwho made the response -
setServiceTicket
The service ticket related to the response
-