Class CustomerSetCustomerNumberActionImpl
java.lang.Object
com.commercetools.api.models.customer.CustomerSetCustomerNumberActionImpl
- All Implemented Interfaces:
CustomerSetCustomerNumberAction
,CustomerUpdateAction
,ResourceUpdateAction<CustomerUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class CustomerSetCustomerNumberActionImpl
extends Object
implements CustomerSetCustomerNumberAction, io.vrap.rmf.base.client.ModelBase
Sets a new ID that can be used to refer to a Customer in a human-reabable way (for use in emails, invoices, etc).
-
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.customer.CustomerSetCustomerNumberAction
SET_CUSTOMER_NUMBER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Value to set.int
hashCode()
void
setCustomerNumber
(String customerNumber) Value to set.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.customer.CustomerSetCustomerNumberAction
withCustomerSetCustomerNumberAction
Methods inherited from interface com.commercetools.api.models.customer.CustomerUpdateAction
withCustomerUpdateAction
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
CustomerSetCustomerNumberActionImpl
public CustomerSetCustomerNumberActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceCustomerUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<CustomerUpdateAction>
- Returns:
- action
-
getCustomerNumber
Value to set. Once set, it cannot be changed.
- Specified by:
getCustomerNumber
in interfaceCustomerSetCustomerNumberAction
- Returns:
- customerNumber
-
setCustomerNumber
Description copied from interface:CustomerSetCustomerNumberAction
Value to set. Once set, it cannot be changed.
- Specified by:
setCustomerNumber
in interfaceCustomerSetCustomerNumberAction
- Parameters:
customerNumber
- value to be set
-
equals
-
hashCode
public int hashCode()
-