Class ReservationImpl
java.lang.Object
com.commercetools.history.models.common.ReservationImpl
- All Implemented Interfaces:
Reservation,io.vrap.rmf.base.client.ModelBase
public class ReservationImpl
extends Object
implements Reservation, io.vrap.rmf.base.client.ModelBase
Reservation
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetOwner()inthashCode()voidsetCheckoutStartedAt(String checkoutStartedAt) set checkoutStartedAtvoidsetCreatedAt(String createdAt) set createdAtvoidset ownervoidsetQuantity(Integer quantity) set quantityMethods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionStringMethods inherited from interface com.commercetools.history.models.common.Reservation
withReservation
-
Constructor Details
-
ReservationImpl
public ReservationImpl()create empty instance
-
-
Method Details
-
getQuantity
- Specified by:
getQuantityin interfaceReservation- Returns:
- quantity
-
getOwner
- Specified by:
getOwnerin interfaceReservation- Returns:
- owner
-
getCreatedAt
- Specified by:
getCreatedAtin interfaceReservation- Returns:
- createdAt
-
getCheckoutStartedAt
- Specified by:
getCheckoutStartedAtin interfaceReservation- Returns:
- checkoutStartedAt
-
setQuantity
Description copied from interface:Reservationset quantity- Specified by:
setQuantityin interfaceReservation- Parameters:
quantity- value to be set
-
setOwner
Description copied from interface:Reservationset owner- Specified by:
setOwnerin interfaceReservation- Parameters:
owner- value to be set
-
setCreatedAt
Description copied from interface:Reservationset createdAt- Specified by:
setCreatedAtin interfaceReservation- Parameters:
createdAt- value to be set
-
setCheckoutStartedAt
Description copied from interface:Reservationset checkoutStartedAt- Specified by:
setCheckoutStartedAtin interfaceReservation- Parameters:
checkoutStartedAt- value to be set
-
equals
-
hashCode
-