public class ProductCode
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes a product code.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
productCodeId
The product code.
|
private java.lang.String |
productCodeType
The type of product code.
|
Constructor and Description |
---|
ProductCode() |
Modifier and Type | Method and Description |
---|---|
ProductCode |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getProductCodeId()
The product code.
|
java.lang.String |
getProductCodeType()
The type of product code.
|
int |
hashCode() |
void |
setProductCodeId(java.lang.String productCodeId)
The product code.
|
void |
setProductCodeType(ProductCodeValues productCodeType)
The type of product code.
|
void |
setProductCodeType(java.lang.String productCodeType)
The type of product code.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ProductCode |
withProductCodeId(java.lang.String productCodeId)
The product code.
|
ProductCode |
withProductCodeType(ProductCodeValues productCodeType)
The type of product code.
|
ProductCode |
withProductCodeType(java.lang.String productCodeType)
The type of product code.
|
private java.lang.String productCodeId
The product code.
private java.lang.String productCodeType
The type of product code.
public void setProductCodeId(java.lang.String productCodeId)
The product code.
productCodeId
- The product code.public java.lang.String getProductCodeId()
The product code.
public ProductCode withProductCodeId(java.lang.String productCodeId)
The product code.
productCodeId
- The product code.public void setProductCodeType(java.lang.String productCodeType)
The type of product code.
productCodeType
- The type of product code.ProductCodeValues
public java.lang.String getProductCodeType()
The type of product code.
ProductCodeValues
public ProductCode withProductCodeType(java.lang.String productCodeType)
The type of product code.
productCodeType
- The type of product code.ProductCodeValues
public void setProductCodeType(ProductCodeValues productCodeType)
The type of product code.
productCodeType
- The type of product code.ProductCodeValues
public ProductCode withProductCodeType(ProductCodeValues productCodeType)
The type of product code.
productCodeType
- The type of product code.ProductCodeValues
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ProductCode clone()
clone
in class java.lang.Object