Class ReturnInfoDraftImpl
java.lang.Object
com.commercetools.api.models.order.ReturnInfoDraftImpl
- All Implemented Interfaces:
ReturnInfoDraft
,io.vrap.rmf.base.client.Draft<ReturnInfoDraft>
,io.vrap.rmf.base.client.ModelBase
public class ReturnInfoDraftImpl
extends Object
implements ReturnInfoDraft, io.vrap.rmf.base.client.ModelBase
ReturnInfoDraft
-
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 for tracking the return.int
hashCode()
void
setItems
(ReturnItemDraft... items) Information on the Line Items or Custom Line Items returned.void
setItems
(List<ReturnItemDraft> 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 for tracking the return.toString()
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.order.ReturnInfoDraft
withReturnInfoDraft
-
Constructor Details
-
ReturnInfoDraftImpl
public ReturnInfoDraftImpl()create empty instance
-
-
Method Details
-
getItems
Information on the Line Items or Custom Line Items returned.
- Specified by:
getItems
in interfaceReturnInfoDraft
- Returns:
- items
-
getReturnTrackingId
User-defined identifier for tracking the return.
- Specified by:
getReturnTrackingId
in interfaceReturnInfoDraft
- Returns:
- returnTrackingId
-
getReturnDate
Date and time (UTC) the return is initiated.
- Specified by:
getReturnDate
in interfaceReturnInfoDraft
- Returns:
- returnDate
-
setItems
Description copied from interface:ReturnInfoDraft
Information on the Line Items or Custom Line Items returned.
- Specified by:
setItems
in interfaceReturnInfoDraft
- Parameters:
items
- values to be set
-
setItems
Description copied from interface:ReturnInfoDraft
Information on the Line Items or Custom Line Items returned.
- Specified by:
setItems
in interfaceReturnInfoDraft
- Parameters:
items
- values to be set
-
setReturnTrackingId
Description copied from interface:ReturnInfoDraft
User-defined identifier for tracking the return.
- Specified by:
setReturnTrackingId
in interfaceReturnInfoDraft
- Parameters:
returnTrackingId
- value to be set
-
setReturnDate
Description copied from interface:ReturnInfoDraft
Date and time (UTC) the return is initiated.
- Specified by:
setReturnDate
in interfaceReturnInfoDraft
- Parameters:
returnDate
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-