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
-
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.CustomerLabel
CUSTOMER_LABEL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanUser-defined unique identifier of the Customer.Given name (first name) of the Customer.Family name (last name) of the Customer.getType()inthashCode()voidsetCustomerNumber(String customerNumber) User-defined unique identifier of the Customer.voidsetFirstName(String firstName) Given name (first name) of the Customer.voidsetLastName(String lastName) Family name (last name) of the Customer.toString()Methods inherited from interface com.commercetools.history.models.label.CustomerLabel
withCustomerLabelMethods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
CustomerLabelImpl
public CustomerLabelImpl()create empty instance
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceCustomerLabel- Specified by:
getTypein interfaceLabel- Returns:
- type
-
getFirstName
Given name (first name) of the Customer.
- Specified by:
getFirstNamein interfaceCustomerLabel- Returns:
- firstName
-
getLastName
Family name (last name) of the Customer.
- Specified by:
getLastNamein interfaceCustomerLabel- Returns:
- lastName
-
getCustomerNumber
User-defined unique identifier of the Customer.
- Specified by:
getCustomerNumberin interfaceCustomerLabel- Returns:
- customerNumber
-
setFirstName
Description copied from interface:CustomerLabelGiven name (first name) of the Customer.
- Specified by:
setFirstNamein interfaceCustomerLabel- Parameters:
firstName- value to be set
-
setLastName
Description copied from interface:CustomerLabelFamily name (last name) of the Customer.
- Specified by:
setLastNamein interfaceCustomerLabel- Parameters:
lastName- value to be set
-
setCustomerNumber
Description copied from interface:CustomerLabelUser-defined unique identifier of the Customer.
- Specified by:
setCustomerNumberin interfaceCustomerLabel- Parameters:
customerNumber- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-