Package io.voucherify.client.model
Class ProductCollectionsCreateRequestBodyProductsItem
java.lang.Object
io.voucherify.client.model.ProductCollectionsCreateRequestBodyProductsItem
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ProductCollectionsCreateRequestBodyProductsItem
extends Object
ProductCollectionsCreateRequestBodyProductsItem
-
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 ProductCollectionsCreateRequestBodyProductsItem 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 ProductCollectionsCreateRequestBodyProductsItem 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
-
ProductCollectionsCreateRequestBodyProductsItem
public ProductCollectionsCreateRequestBodyProductsItem()
-
-
Method Details
-
id
-
getId
The product ID.- Returns:
- id
-
setId
-
productId
-
getProductId
Product ID for SKUs.- Returns:
- productId
-
setProductId
-
_object
-
getObject
Denotes the type of the object represented by the ID.- Returns:
- _object
-
setObject
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static ProductCollectionsCreateRequestBodyProductsItem fromJson(String jsonString) throws IOException Create an instance of ProductCollectionsCreateRequestBodyProductsItem given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ProductCollectionsCreateRequestBodyProductsItem
- Throws:
IOException- if the JSON string is invalid with respect to ProductCollectionsCreateRequestBodyProductsItem
-
toJson
Convert an instance of ProductCollectionsCreateRequestBodyProductsItem to an JSON string- Returns:
- JSON string
-