Class ReturnInfoImpl
java.lang.Object
com.commercetools.api.models.order.ReturnInfoImpl
- All Implemented Interfaces:
ReturnInfo
,io.vrap.rmf.base.client.ModelBase
Stores information about returns connected to an Order.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getItems()
Information on the Line Items or Custom Line Items returned.Date and time (UTC) the return is initiated.User-defined identifier to track the return.int
hashCode()
void
setItems
(ReturnItem... items) Information on the Line Items or Custom Line Items returned.void
setItems
(List<ReturnItem> items) Information on the Line Items or Custom Line Items returned.void
setReturnDate
(ZonedDateTime returnDate) Date and time (UTC) the return is initiated.void
setReturnTrackingId
(String returnTrackingId) User-defined identifier to track the return.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.order.ReturnInfo
withReturnInfo
-
Constructor Details
-
ReturnInfoImpl
public ReturnInfoImpl()create empty instance
-
-
Method Details
-
getItems
Information on the Line Items or Custom Line Items returned.
- Specified by:
getItems
in interfaceReturnInfo
- Returns:
- items
-
getReturnTrackingId
User-defined identifier to track the return.
- Specified by:
getReturnTrackingId
in interfaceReturnInfo
- Returns:
- returnTrackingId
-
getReturnDate
Date and time (UTC) the return is initiated.
- Specified by:
getReturnDate
in interfaceReturnInfo
- Returns:
- returnDate
-
setItems
Description copied from interface:ReturnInfo
Information on the Line Items or Custom Line Items returned.
- Specified by:
setItems
in interfaceReturnInfo
- Parameters:
items
- values to be set
-
setItems
Description copied from interface:ReturnInfo
Information on the Line Items or Custom Line Items returned.
- Specified by:
setItems
in interfaceReturnInfo
- Parameters:
items
- values to be set
-
setReturnTrackingId
Description copied from interface:ReturnInfo
User-defined identifier to track the return.
- Specified by:
setReturnTrackingId
in interfaceReturnInfo
- Parameters:
returnTrackingId
- value to be set
-
setReturnDate
Description copied from interface:ReturnInfo
Date and time (UTC) the return is initiated.
- Specified by:
setReturnDate
in interfaceReturnInfo
- Parameters:
returnDate
- value to be set
-
equals
-
hashCode
public int hashCode()
-