Class StagedOrderAddReturnInfoActionImpl
java.lang.Object
com.commercetools.api.models.order_edit.StagedOrderAddReturnInfoActionImpl
- All Implemented Interfaces:
StagedOrderAddReturnInfoAction
,StagedOrderUpdateAction
,ResourceUpdateAction<StagedOrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class StagedOrderAddReturnInfoActionImpl
extends Object
implements StagedOrderAddReturnInfoAction, io.vrap.rmf.base.client.ModelBase
Produces the Return Info Added Message.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.api.models.order_edit.StagedOrderAddReturnInfoAction
ADD_RETURN_INFO
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getItems()
Items to be returned.Value to set.Value to set.int
hashCode()
void
setItems
(ReturnItemDraft... items) Items to be returned.void
setItems
(List<ReturnItemDraft> items) Items to be returned.void
setReturnDate
(ZonedDateTime returnDate) Value to set.void
setReturnTrackingId
(String returnTrackingId) Value to set.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.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.order_edit.StagedOrderAddReturnInfoAction
withStagedOrderAddReturnInfoAction
Methods inherited from interface com.commercetools.api.models.order.StagedOrderUpdateAction
withStagedOrderUpdateAction
-
Constructor Details
-
StagedOrderAddReturnInfoActionImpl
public StagedOrderAddReturnInfoActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StagedOrderUpdateAction>
- Specified by:
getAction
in interfaceStagedOrderUpdateAction
- Returns:
- action
-
getReturnTrackingId
Value to set.
- Specified by:
getReturnTrackingId
in interfaceStagedOrderAddReturnInfoAction
- Returns:
- returnTrackingId
-
getItems
Items to be returned. Must not be empty.
- Specified by:
getItems
in interfaceStagedOrderAddReturnInfoAction
- Returns:
- items
-
getReturnDate
Value to set. If not set, it defaults to the current date and time.
- Specified by:
getReturnDate
in interfaceStagedOrderAddReturnInfoAction
- Returns:
- returnDate
-
setReturnTrackingId
Description copied from interface:StagedOrderAddReturnInfoAction
Value to set.
- Specified by:
setReturnTrackingId
in interfaceStagedOrderAddReturnInfoAction
- Parameters:
returnTrackingId
- value to be set
-
setItems
Description copied from interface:StagedOrderAddReturnInfoAction
Items to be returned. Must not be empty.
- Specified by:
setItems
in interfaceStagedOrderAddReturnInfoAction
- Parameters:
items
- values to be set
-
setItems
Description copied from interface:StagedOrderAddReturnInfoAction
Items to be returned. Must not be empty.
- Specified by:
setItems
in interfaceStagedOrderAddReturnInfoAction
- Parameters:
items
- values to be set
-
setReturnDate
Description copied from interface:StagedOrderAddReturnInfoAction
Value to set. If not set, it defaults to the current date and time.
- Specified by:
setReturnDate
in interfaceStagedOrderAddReturnInfoAction
- Parameters:
returnDate
- value to be set
-
equals
-
hashCode
public int hashCode()
-