Class StagedOrderSetCustomerIdActionImpl
java.lang.Object
com.commercetools.api.models.order_edit.StagedOrderSetCustomerIdActionImpl
- All Implemented Interfaces:
StagedOrderSetCustomerIdAction
,StagedOrderUpdateAction
,ResourceUpdateAction<StagedOrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class StagedOrderSetCustomerIdActionImpl
extends Object
implements StagedOrderSetCustomerIdAction, io.vrap.rmf.base.client.ModelBase
Setting the Order's customerId
does not recalculate prices or discounts on the Order. If the Customer belongs to a Customer Group, customerGroup
on the Order is updated automatically.
Produces the OrderCustomerSet 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.order_edit.StagedOrderSetCustomerIdAction
SET_CUSTOMER_ID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
id
of an existing Customer.int
hashCode()
void
setCustomerId
(String customerId) id
of an existing Customer.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.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.order_edit.StagedOrderSetCustomerIdAction
withStagedOrderSetCustomerIdAction
Methods inherited from interface com.commercetools.api.models.order.StagedOrderUpdateAction
withStagedOrderUpdateAction
-
Constructor Details
-
StagedOrderSetCustomerIdActionImpl
public StagedOrderSetCustomerIdActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StagedOrderUpdateAction>
- Specified by:
getAction
in interfaceStagedOrderUpdateAction
- Returns:
- action
-
getCustomerId
id
of an existing Customer. If empty, any existing value is removed.- Specified by:
getCustomerId
in interfaceStagedOrderSetCustomerIdAction
- Returns:
- customerId
-
setCustomerId
Description copied from interface:StagedOrderSetCustomerIdAction
id
of an existing Customer. If empty, any existing value is removed.- Specified by:
setCustomerId
in interfaceStagedOrderSetCustomerIdAction
- Parameters:
customerId
- value to be set
-
equals
-
hashCode
public int hashCode()
-