Package io.voucherify.client.model
Class ProductCollectionsItemProductsItem
java.lang.Object
io.voucherify.client.model.ProductCollectionsItemProductsItem
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ProductCollectionsItemProductsItem
extends Object
ProductCollectionsItemProductsItem
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumDenotes the type of the object represented by the ID. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of ProductCollectionsItemProductsItem given an JSON stringgetId()The product ID.Denotes the type of the object represented by the ID.Product ID for SKUs.inthashCode()voidvoidvoidsetProductId(String productId) toJson()Convert an instance of ProductCollectionsItemProductsItem to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_PRODUCT_ID
- See Also:
-
SERIALIZED_NAME_OBJECT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ProductCollectionsItemProductsItem
public ProductCollectionsItemProductsItem()
-
-
Method Details
-
id
-
getId
The product ID.- Returns:
- id
-
setId
-
productId
-
getProductId
Product ID for SKUs.- Returns:
- productId
-
setProductId
-
_object
public ProductCollectionsItemProductsItem _object(ProductCollectionsItemProductsItem.ObjectEnum _object) -
getObject
Denotes the type of the object represented by the ID.- Returns:
- _object
-
setObject
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of ProductCollectionsItemProductsItem given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ProductCollectionsItemProductsItem
- Throws:
IOException- if the JSON string is invalid with respect to ProductCollectionsItemProductsItem
-
toJson
Convert an instance of ProductCollectionsItemProductsItem to an JSON string- Returns:
- JSON string
-