Package com.commercetools.api.models.me
Class MyOrderFromQuoteDraftImpl
java.lang.Object
com.commercetools.api.models.me.MyOrderFromQuoteDraftImpl
- All Implemented Interfaces:
MyOrderFromQuoteDraft
,io.vrap.rmf.base.client.Draft<MyOrderFromQuoteDraft>
,io.vrap.rmf.base.client.ModelBase
public class MyOrderFromQuoteDraftImpl
extends Object
implements MyOrderFromQuoteDraft, io.vrap.rmf.base.client.ModelBase
MyOrderFromQuoteDraft
-
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
getId()
id
of the Quote from which the Order is created.Set totrue
, if thequoteState
of the referenced Quote should be set toAccepted
.Currentversion
of the Quote from which the Order is created.int
hashCode()
void
id
of the Quote from which the Order is created.void
setQuoteStateToAccepted
(Boolean quoteStateToAccepted) Set totrue
, if thequoteState
of the referenced Quote should be set toAccepted
.void
setVersion
(Long version) Currentversion
of the Quote 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.MyOrderFromQuoteDraft
withMyOrderFromQuoteDraft
-
Constructor Details
-
MyOrderFromQuoteDraftImpl
public MyOrderFromQuoteDraftImpl()create empty instance
-
-
Method Details
-
getId
id
of the Quote from which the Order is created.- Specified by:
getId
in interfaceMyOrderFromQuoteDraft
- Returns:
- id
-
getVersion
Current
version
of the Quote from which the Order is created.- Specified by:
getVersion
in interfaceMyOrderFromQuoteDraft
- Returns:
- version
-
getQuoteStateToAccepted
Set to
true
, if thequoteState
of the referenced Quote should be set toAccepted
.- Specified by:
getQuoteStateToAccepted
in interfaceMyOrderFromQuoteDraft
- Returns:
- quoteStateToAccepted
-
setId
Description copied from interface:MyOrderFromQuoteDraft
id
of the Quote from which the Order is created.- Specified by:
setId
in interfaceMyOrderFromQuoteDraft
- Parameters:
id
- value to be set
-
setVersion
Description copied from interface:MyOrderFromQuoteDraft
Current
version
of the Quote from which the Order is created.- Specified by:
setVersion
in interfaceMyOrderFromQuoteDraft
- Parameters:
version
- value to be set
-
setQuoteStateToAccepted
Description copied from interface:MyOrderFromQuoteDraft
Set to
true
, if thequoteState
of the referenced Quote should be set toAccepted
.- Specified by:
setQuoteStateToAccepted
in interfaceMyOrderFromQuoteDraft
- Parameters:
quoteStateToAccepted
- value to be set
-
equals
-
hashCode
public int hashCode()
-