public class ProductCode
extends java.lang.Object
implements java.io.Serializable
Describes a product code.
Constructor and Description |
---|
ProductCode() |
Modifier and Type | Method and Description |
---|---|
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.
|
public java.lang.String getProductCodeId()
public void setProductCodeId(java.lang.String productCodeId)
productCodeId
- The product code.public ProductCode withProductCodeId(java.lang.String productCodeId)
Returns a reference to this object so that method calls can be chained together.
productCodeId
- The product code.public java.lang.String getProductCodeType()
Constraints:
Allowed Values: devpay, marketplace
ProductCodeValues
public void setProductCodeType(java.lang.String productCodeType)
Constraints:
Allowed Values: devpay, marketplace
productCodeType
- The type of product code.ProductCodeValues
public ProductCode withProductCodeType(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.