Package io.voucherify.client.model
Class SkusListForProduct
java.lang.Object
io.voucherify.client.model.SkusListForProduct
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class SkusListForProduct
extends Object
Contains information about child SKUs.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDataItem(Sku dataItem) booleanstatic SkusListForProductCreate an instance of SkusListForProduct given an JSON stringgetData()A dictionary that contains an array of SKUs.Identifies the name of the JSON property that contains the array of SKUs.The type of the object represented by JSON.getTotal()Total number of SKUs in the product.inthashCode()voidvoidsetDataRef(String dataRef) voidvoidtoJson()Convert an instance of SkusListForProduct to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_OBJECT
- See Also:
-
SERIALIZED_NAME_DATA_REF
- See Also:
-
SERIALIZED_NAME_DATA
- See Also:
-
SERIALIZED_NAME_TOTAL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
SkusListForProduct
public SkusListForProduct()
-
-
Method Details
-
_object
-
getObject
The type of the object represented by JSON. This object stores information about SKUs.- Returns:
- _object
-
setObject
-
dataRef
-
getDataRef
Identifies the name of the JSON property that contains the array of SKUs.- Returns:
- dataRef
-
setDataRef
-
data
-
addDataItem
-
getData
A dictionary that contains an array of SKUs.- Returns:
- data
-
setData
-
total
-
getTotal
Total number of SKUs in the product.- Returns:
- total
-
setTotal
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of SkusListForProduct given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SkusListForProduct
- Throws:
IOException- if the JSON string is invalid with respect to SkusListForProduct
-
toJson
Convert an instance of SkusListForProduct to an JSON string- Returns:
- JSON string
-