Class DeliveryItemImpl

java.lang.Object
com.commercetools.api.models.order.DeliveryItemImpl
All Implemented Interfaces:
DeliveryItem, io.vrap.rmf.base.client.ModelBase

public class DeliveryItemImpl extends Object implements DeliveryItem, io.vrap.rmf.base.client.ModelBase
DeliveryItem
  • 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
     
    id of the LineItem or CustomLineItem delivered.
    Number of Line Items or Custom Line Items delivered.
    int
     
    void
    id of the LineItem or CustomLineItem delivered.
    void
    setQuantity(Long quantity)
    Number of Line Items or Custom Line Items delivered.
     

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.commercetools.api.models.order.DeliveryItem

    withDeliveryItem

    Methods inherited from interface io.vrap.rmf.base.client.ModelBase

    reflectionString, reflectionString
  • Constructor Details

    • DeliveryItemImpl

      public DeliveryItemImpl()
      create empty instance
  • Method Details

    • getId

      public String getId()

      id of the LineItem or CustomLineItem delivered.

      Specified by:
      getId in interface DeliveryItem
      Returns:
      id
    • getQuantity

      public Long getQuantity()

      Number of Line Items or Custom Line Items delivered.

      Specified by:
      getQuantity in interface DeliveryItem
      Returns:
      quantity
    • setId

      public void setId(String id)
      Description copied from interface: DeliveryItem

      id of the LineItem or CustomLineItem delivered.

      Specified by:
      setId in interface DeliveryItem
      Parameters:
      id - value to be set
    • setQuantity

      public void setQuantity(Long quantity)
      Description copied from interface: DeliveryItem

      Number of Line Items or Custom Line Items delivered.

      Specified by:
      setQuantity in interface DeliveryItem
      Parameters:
      quantity - value to be set
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object