Class OrderSetCustomerIdActionImpl
java.lang.Object
com.commercetools.api.models.order.OrderSetCustomerIdActionImpl
- All Implemented Interfaces:
OrderSetCustomerIdAction
,OrderUpdateAction
,ResourceUpdateAction<OrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class OrderSetCustomerIdActionImpl
extends Object
implements OrderSetCustomerIdAction, 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.OrderSetCustomerIdAction
SET_CUSTOMER_ID
-
Constructor Summary
-
Method Summary
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.order.OrderSetCustomerIdAction
withOrderSetCustomerIdAction
Methods inherited from interface com.commercetools.api.models.order.OrderUpdateAction
withOrderUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
OrderSetCustomerIdActionImpl
public OrderSetCustomerIdActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceOrderUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<OrderUpdateAction>
- Returns:
- action
-
getCustomerId
id
of an existing Customer. If empty, any existing value is removed.- Specified by:
getCustomerId
in interfaceOrderSetCustomerIdAction
- Returns:
- customerId
-
setCustomerId
Description copied from interface:OrderSetCustomerIdAction
id
of an existing Customer. If empty, any existing value is removed.- Specified by:
setCustomerId
in interfaceOrderSetCustomerIdAction
- Parameters:
customerId
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-