Package com.commercetools.api.models.me
Class MyOrderFromCartDraftImpl
java.lang.Object
com.commercetools.api.models.me.MyOrderFromCartDraftImpl
- All Implemented Interfaces:
MyOrderFromCartDraft
,io.vrap.rmf.base.client.Draft<MyOrderFromCartDraft>
,io.vrap.rmf.base.client.ModelBase
public class MyOrderFromCartDraftImpl
extends Object
implements MyOrderFromCartDraft, io.vrap.rmf.base.client.ModelBase
MyOrderFromCartDraft
-
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 TypeMethodDescriptionboolean
getId()
id
of the Cart from which the Order is created.Currentversion
of the Cart from which the Order is created.int
hashCode()
void
id
of the Cart from which the Order is created.void
setVersion
(Long version) Currentversion
of the Cart from which the Order is created.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.me.MyOrderFromCartDraft
withMyOrderFromCartDraft
-
Constructor Details
-
MyOrderFromCartDraftImpl
public MyOrderFromCartDraftImpl()create empty instance
-
-
Method Details
-
getId
id
of the Cart from which the Order is created.- Specified by:
getId
in interfaceMyOrderFromCartDraft
- Returns:
- id
-
getVersion
Current
version
of the Cart from which the Order is created.- Specified by:
getVersion
in interfaceMyOrderFromCartDraft
- Returns:
- version
-
setId
Description copied from interface:MyOrderFromCartDraft
id
of the Cart from which the Order is created.- Specified by:
setId
in interfaceMyOrderFromCartDraft
- Parameters:
id
- value to be set
-
setVersion
Description copied from interface:MyOrderFromCartDraft
Current
version
of the Cart from which the Order is created.- Specified by:
setVersion
in interfaceMyOrderFromCartDraft
- Parameters:
version
- value to be set
-
equals
-
hashCode
public int hashCode()
-