public class ProductCode extends Object implements Serializable
Describes a product code.
Constructor and Description |
---|
ProductCode() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getProductCodeId()
The product code.
|
String |
getProductCodeType()
The type of product code.
|
int |
hashCode() |
void |
setProductCodeId(String productCodeId)
The product code.
|
void |
setProductCodeType(ProductCodeValues productCodeType)
The type of product code.
|
void |
setProductCodeType(String productCodeType)
The type of product code.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ProductCode |
withProductCodeId(String productCodeId)
The product code.
|
ProductCode |
withProductCodeType(ProductCodeValues productCodeType)
The type of product code.
|
ProductCode |
withProductCodeType(String productCodeType)
The type of product code.
|
public String getProductCodeId()
public void setProductCodeId(String productCodeId)
productCodeId
- The product code.public ProductCode withProductCodeId(String productCodeId)
Returns a reference to this object so that method calls can be chained together.
productCodeId
- The product code.public String getProductCodeType()
Constraints:
Allowed Values: devpay, marketplace
ProductCodeValues
public void setProductCodeType(String productCodeType)
Constraints:
Allowed Values: devpay, marketplace
productCodeType
- The type of product code.ProductCodeValues
public ProductCode withProductCodeType(String productCodeType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: devpay, marketplace
productCodeType
- The type of product code.ProductCodeValues
public void setProductCodeType(ProductCodeValues productCodeType)
Constraints:
Allowed Values: devpay, marketplace
productCodeType
- The type of product code.ProductCodeValues
public ProductCode withProductCodeType(ProductCodeValues productCodeType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: devpay, marketplace
productCodeType
- The type of product code.ProductCodeValues
public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.