Class ReturnItemImpl
java.lang.Object
com.commercetools.history.models.common.ReturnItemImpl
- All Implemented Interfaces:
ReturnItem,io.vrap.rmf.base.client.ModelBase
ReturnItem
-
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 TypeMethodDescriptionbooleangetId()getType()inthashCode()voidsetComment(String comment) set commentvoidsetCreatedAt(String createdAt) set createdAtvoidset idvoidsetLastModifiedAt(String lastModifiedAt) set lastModifiedAtvoidsetPaymentState(ReturnPaymentState paymentState) set paymentStatevoidsetQuantity(Integer quantity) set quantityvoidsetShipmentState(ReturnShipmentState shipmentState) set shipmentStatevoidset typeMethods 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.ReturnItem
withReturnItem
-
Constructor Details
-
ReturnItemImpl
public ReturnItemImpl()create empty instance
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceReturnItem- Returns:
- id
-
getQuantity
- Specified by:
getQuantityin interfaceReturnItem- Returns:
- quantity
-
getType
- Specified by:
getTypein interfaceReturnItem- Returns:
- type
-
getComment
- Specified by:
getCommentin interfaceReturnItem- Returns:
- comment
-
getShipmentState
- Specified by:
getShipmentStatein interfaceReturnItem- Returns:
- shipmentState
-
getPaymentState
- Specified by:
getPaymentStatein interfaceReturnItem- Returns:
- paymentState
-
getLastModifiedAt
- Specified by:
getLastModifiedAtin interfaceReturnItem- Returns:
- lastModifiedAt
-
getCreatedAt
- Specified by:
getCreatedAtin interfaceReturnItem- Returns:
- createdAt
-
setId
Description copied from interface:ReturnItemset id- Specified by:
setIdin interfaceReturnItem- Parameters:
id- value to be set
-
setQuantity
Description copied from interface:ReturnItemset quantity- Specified by:
setQuantityin interfaceReturnItem- Parameters:
quantity- value to be set
-
setType
Description copied from interface:ReturnItemset type- Specified by:
setTypein interfaceReturnItem- Parameters:
type- value to be set
-
setComment
Description copied from interface:ReturnItemset comment- Specified by:
setCommentin interfaceReturnItem- Parameters:
comment- value to be set
-
setShipmentState
Description copied from interface:ReturnItemset shipmentState- Specified by:
setShipmentStatein interfaceReturnItem- Parameters:
shipmentState- value to be set
-
setPaymentState
Description copied from interface:ReturnItemset paymentState- Specified by:
setPaymentStatein interfaceReturnItem- Parameters:
paymentState- value to be set
-
setLastModifiedAt
Description copied from interface:ReturnItemset lastModifiedAt- Specified by:
setLastModifiedAtin interfaceReturnItem- Parameters:
lastModifiedAt- value to be set
-
setCreatedAt
Description copied from interface:ReturnItemset createdAt- Specified by:
setCreatedAtin interfaceReturnItem- Parameters:
createdAt- value to be set
-
equals
-
hashCode
-