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