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

    Constructors
    Constructor
    Description
    create empty instance
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    Each field referenced must be defined in an already existing order in the project or the import operation state is set to validationFailed.
    Maps to Order.orderNumber, String that uniquely identifies an order, unique across a project.
    int
     
    void
    Each field referenced must be defined in an already existing order in the project or the import operation state is set to validationFailed.
    void
    setOrderNumber(String orderNumber)
    Maps to Order.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

      public String getOrderNumber()

      Maps to Order.orderNumber, String that uniquely identifies an order, unique across a project.

      Specified by:
      getOrderNumber in interface OrderPatchImport
      Returns:
      orderNumber
    • getFields

      public OrderField 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 interface OrderPatchImport
      Returns:
      fields
    • setOrderNumber

      public void setOrderNumber(String orderNumber)
      Description copied from interface: OrderPatchImport

      Maps to Order.orderNumber, String that uniquely identifies an order, unique across a project.

      Specified by:
      setOrderNumber in interface OrderPatchImport
      Parameters:
      orderNumber - value to be set
    • setFields

      public void setFields(OrderField fields)
      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 interface OrderPatchImport
      Parameters:
      fields - value to be set
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object