Class OrderLabelImpl

java.lang.Object
com.commercetools.history.models.label.OrderLabelImpl
All Implemented Interfaces:
Label, OrderLabel, io.vrap.rmf.base.client.ModelBase

public class OrderLabelImpl extends Object implements OrderLabel, io.vrap.rmf.base.client.ModelBase
OrderLabel
  • 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.history.models.label.OrderLabel

    ORDER_LABEL
  • Constructor Summary

    Constructors
    Constructor
    Description
    create empty instance
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    Email address of the Customer that the Order belongs to.
    User-defined unique identifier of the Order that is unique across a Project.
     
    int
     
    void
    setCustomerEmail(String customerEmail)
    Email address of the Customer that the Order belongs to.
    void
    setOrderNumber(String orderNumber)
    User-defined unique identifier of the Order that is unique across a Project.
     

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.commercetools.history.models.label.Label

    withLabel

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

    reflectionString, reflectionString

    Methods inherited from interface com.commercetools.history.models.label.OrderLabel

    withOrderLabel
  • Constructor Details

    • OrderLabelImpl

      public OrderLabelImpl()
      create empty instance
  • Method Details

    • getType

      public String getType()
      Specified by:
      getType in interface Label
      Specified by:
      getType in interface OrderLabel
      Returns:
      type
    • getCustomerEmail

      public String getCustomerEmail()

      Email address of the Customer that the Order belongs to.

      Specified by:
      getCustomerEmail in interface OrderLabel
      Returns:
      customerEmail
    • getOrderNumber

      public String getOrderNumber()

      User-defined unique identifier of the Order that is unique across a Project.

      Specified by:
      getOrderNumber in interface OrderLabel
      Returns:
      orderNumber
    • setCustomerEmail

      public void setCustomerEmail(String customerEmail)
      Description copied from interface: OrderLabel

      Email address of the Customer that the Order belongs to.

      Specified by:
      setCustomerEmail in interface OrderLabel
      Parameters:
      customerEmail - value to be set
    • setOrderNumber

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

      User-defined unique identifier of the Order that is unique across a Project.

      Specified by:
      setOrderNumber in interface OrderLabel
      Parameters:
      orderNumber - 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