Class QuoteSetCustomTypeActionImpl
java.lang.Object
com.commercetools.api.models.quote.QuoteSetCustomTypeActionImpl
- All Implemented Interfaces:
QuoteSetCustomTypeAction
,QuoteUpdateAction
,ResourceUpdateAction<QuoteUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class QuoteSetCustomTypeActionImpl
extends Object
implements QuoteSetCustomTypeAction, io.vrap.rmf.base.client.ModelBase
QuoteSetCustomTypeAction
-
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.quote.QuoteSetCustomTypeAction
SET_CUSTOM_TYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Sets the Custom Fields fields for the Quote.getType()
Defines the Type that extends the Quote with Custom Fields.int
hashCode()
void
setFields
(FieldContainer fields) Sets the Custom Fields fields for the Quote.void
Defines the Type that extends the Quote with Custom Fields.toString()
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.quote.QuoteSetCustomTypeAction
withQuoteSetCustomTypeAction
Methods inherited from interface com.commercetools.api.models.quote.QuoteUpdateAction
withQuoteUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
QuoteSetCustomTypeActionImpl
public QuoteSetCustomTypeActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceQuoteUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<QuoteUpdateAction>
- Returns:
- action
-
getType
Defines the Type that extends the Quote with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Quote.
- Specified by:
getType
in interfaceQuoteSetCustomTypeAction
- Returns:
- type
-
getFields
Sets the Custom Fields fields for the Quote.
- Specified by:
getFields
in interfaceQuoteSetCustomTypeAction
- Returns:
- fields
-
setType
Description copied from interface:QuoteSetCustomTypeAction
Defines the Type that extends the Quote with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Quote.
- Specified by:
setType
in interfaceQuoteSetCustomTypeAction
- Parameters:
type
- value to be set
-
setFields
Description copied from interface:QuoteSetCustomTypeAction
Sets the Custom Fields fields for the Quote.
- Specified by:
setFields
in interfaceQuoteSetCustomTypeAction
- Parameters:
fields
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-