Class QuoteChangeCustomerActionImpl
java.lang.Object
com.commercetools.api.models.quote.QuoteChangeCustomerActionImpl
- All Implemented Interfaces:
QuoteChangeCustomerAction
,QuoteUpdateAction
,ResourceUpdateAction<QuoteUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class QuoteChangeCustomerActionImpl
extends Object
implements QuoteChangeCustomerAction, io.vrap.rmf.base.client.ModelBase
Changes the owner of a Quote to a different Customer. Customer Group is not updated. This update action produces the Quote Customer Changed 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.quote.QuoteChangeCustomerAction
CHANGE_CUSTOMER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
New Customer to own the Quote.int
hashCode()
void
setCustomer
(CustomerResourceIdentifier customer) New Customer to own the Quote.toString()
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.quote.QuoteChangeCustomerAction
withQuoteChangeCustomerAction
Methods inherited from interface com.commercetools.api.models.quote.QuoteUpdateAction
withQuoteUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
QuoteChangeCustomerActionImpl
public QuoteChangeCustomerActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceQuoteUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<QuoteUpdateAction>
- Returns:
- action
-
getCustomer
New Customer to own the Quote.
- Specified by:
getCustomer
in interfaceQuoteChangeCustomerAction
- Returns:
- customer
-
setCustomer
Description copied from interface:QuoteChangeCustomerAction
New Customer to own the Quote.
- Specified by:
setCustomer
in interfaceQuoteChangeCustomerAction
- Parameters:
customer
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-