Class CustomerLabelImpl

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

public class CustomerLabelImpl extends Object implements CustomerLabel, io.vrap.rmf.base.client.ModelBase
CustomerLabel
  • Constructor Details

    • CustomerLabelImpl

      public CustomerLabelImpl()
      create empty instance
  • Method Details

    • getType

      public String getType()
      Specified by:
      getType in interface CustomerLabel
      Specified by:
      getType in interface Label
      Returns:
      type
    • getFirstName

      public String getFirstName()

      Given name (first name) of the Customer.

      Specified by:
      getFirstName in interface CustomerLabel
      Returns:
      firstName
    • getLastName

      public String getLastName()

      Family name (last name) of the Customer.

      Specified by:
      getLastName in interface CustomerLabel
      Returns:
      lastName
    • getCustomerNumber

      public String getCustomerNumber()

      User-defined unique identifier of the Customer.

      Specified by:
      getCustomerNumber in interface CustomerLabel
      Returns:
      customerNumber
    • setFirstName

      public void setFirstName(String firstName)
      Description copied from interface: CustomerLabel

      Given name (first name) of the Customer.

      Specified by:
      setFirstName in interface CustomerLabel
      Parameters:
      firstName - value to be set
    • setLastName

      public void setLastName(String lastName)
      Description copied from interface: CustomerLabel

      Family name (last name) of the Customer.

      Specified by:
      setLastName in interface CustomerLabel
      Parameters:
      lastName - value to be set
    • setCustomerNumber

      public void setCustomerNumber(String customerNumber)
      Description copied from interface: CustomerLabel

      User-defined unique identifier of the Customer.

      Specified by:
      setCustomerNumber in interface CustomerLabel
      Parameters:
      customerNumber - 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