Class OrderAddReturnInfoActionImpl
java.lang.Object
com.commercetools.api.models.order.OrderAddReturnInfoActionImpl
- All Implemented Interfaces:
OrderAddReturnInfoAction
,OrderUpdateAction
,ResourceUpdateAction<OrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class OrderAddReturnInfoActionImpl
extends Object
implements OrderAddReturnInfoAction, 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.OrderAddReturnInfoAction
ADD_RETURN_INFO
-
Constructor Summary
-
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.toString()
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.order.OrderAddReturnInfoAction
withOrderAddReturnInfoAction
Methods inherited from interface com.commercetools.api.models.order.OrderUpdateAction
withOrderUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
OrderAddReturnInfoActionImpl
public OrderAddReturnInfoActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceOrderUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<OrderUpdateAction>
- Returns:
- action
-
getReturnTrackingId
Value to set.
- Specified by:
getReturnTrackingId
in interfaceOrderAddReturnInfoAction
- Returns:
- returnTrackingId
-
getItems
Items to be returned. Must not be empty.
- Specified by:
getItems
in interfaceOrderAddReturnInfoAction
- Returns:
- items
-
getReturnDate
Value to set. If not set, it defaults to the current date and time.
- Specified by:
getReturnDate
in interfaceOrderAddReturnInfoAction
- Returns:
- returnDate
-
setReturnTrackingId
Description copied from interface:OrderAddReturnInfoAction
Value to set.
- Specified by:
setReturnTrackingId
in interfaceOrderAddReturnInfoAction
- Parameters:
returnTrackingId
- value to be set
-
setItems
Description copied from interface:OrderAddReturnInfoAction
Items to be returned. Must not be empty.
- Specified by:
setItems
in interfaceOrderAddReturnInfoAction
- Parameters:
items
- values to be set
-
setItems
Description copied from interface:OrderAddReturnInfoAction
Items to be returned. Must not be empty.
- Specified by:
setItems
in interfaceOrderAddReturnInfoAction
- Parameters:
items
- values to be set
-
setReturnDate
Description copied from interface:OrderAddReturnInfoAction
Value to set. If not set, it defaults to the current date and time.
- Specified by:
setReturnDate
in interfaceOrderAddReturnInfoAction
- Parameters:
returnDate
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-