Package com.commercetools.api.models.me
Class MyCustomerSetFirstNameActionImpl
java.lang.Object
com.commercetools.api.models.me.MyCustomerSetFirstNameActionImpl
- All Implemented Interfaces:
MyCustomerSetFirstNameAction
,MyCustomerUpdateAction
,ResourceUpdateAction<MyCustomerUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class MyCustomerSetFirstNameActionImpl
extends Object
implements MyCustomerSetFirstNameAction, io.vrap.rmf.base.client.ModelBase
Setting the first name of the Customer produces the CustomerFirstNameSetMessage.
-
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.me.MyCustomerSetFirstNameAction
SET_FIRST_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Value to set.int
hashCode()
void
setFirstName
(String firstName) Value to set.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.MyCustomerSetFirstNameAction
withMyCustomerSetFirstNameAction
Methods inherited from interface com.commercetools.api.models.me.MyCustomerUpdateAction
withMyCustomerUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
MyCustomerSetFirstNameActionImpl
public MyCustomerSetFirstNameActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceMyCustomerUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<MyCustomerUpdateAction>
- Returns:
- action
-
getFirstName
Value to set. If empty, any existing value is removed.
- Specified by:
getFirstName
in interfaceMyCustomerSetFirstNameAction
- Returns:
- firstName
-
setFirstName
Description copied from interface:MyCustomerSetFirstNameAction
Value to set. If empty, any existing value is removed.
- Specified by:
setFirstName
in interfaceMyCustomerSetFirstNameAction
- Parameters:
firstName
- value to be set
-
equals
-
hashCode
-