Class OrderPatchImportImpl
java.lang.Object
com.commercetools.importapi.models.order_patches.OrderPatchImportImpl
- All Implemented Interfaces:
OrderPatchImport
,io.vrap.rmf.base.client.ModelBase
public class OrderPatchImportImpl
extends Object
implements OrderPatchImport, io.vrap.rmf.base.client.ModelBase
Representation for an update of an Order. Use this type to import updates for existing Orders in a Project.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Each field referenced must be defined in an already existing order in the project or the import operation state is set tovalidationFailed
.Maps toOrder.orderNumber
, String that uniquely identifies an order, unique across a project.int
hashCode()
void
setFields
(OrderField fields) Each field referenced must be defined in an already existing order in the project or the import operation state is set tovalidationFailed
.void
setOrderNumber
(String orderNumber) Maps toOrder.orderNumber
, String that uniquely identifies an order, unique across a project.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.importapi.models.order_patches.OrderPatchImport
withOrderPatchImport
-
Constructor Details
-
OrderPatchImportImpl
public OrderPatchImportImpl()create empty instance
-
-
Method Details
-
getOrderNumber
Maps to
Order.orderNumber
, String that uniquely identifies an order, unique across a project.- Specified by:
getOrderNumber
in interfaceOrderPatchImport
- Returns:
- orderNumber
-
getFields
Each field referenced must be defined in an already existing order in the project or the import operation state is set to
validationFailed
.- Specified by:
getFields
in interfaceOrderPatchImport
- Returns:
- fields
-
setOrderNumber
Description copied from interface:OrderPatchImport
Maps to
Order.orderNumber
, String that uniquely identifies an order, unique across a project.- Specified by:
setOrderNumber
in interfaceOrderPatchImport
- Parameters:
orderNumber
- value to be set
-
setFields
Description copied from interface:OrderPatchImport
Each field referenced must be defined in an already existing order in the project or the import operation state is set to
validationFailed
.- Specified by:
setFields
in interfaceOrderPatchImport
- Parameters:
fields
- value to be set
-
equals
-
hashCode
public int hashCode()
-