Package io.voucherify.client.model
Class ApplicableToResultList
java.lang.Object
io.voucherify.client.model.ApplicableToResultList
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ApplicableToResultList
extends Object
ApplicableToResultList
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumThe type of the object represented by JSON.static enumThe type of the object represented by JSON. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription_object(ApplicableToResultList.ObjectEnum _object) addDataItem(ApplicableTo dataItem) data(List<ApplicableTo> data) booleanstatic ApplicableToResultListCreate an instance of ApplicableToResultList given an JSON stringgetData()Contains array of items to which the discount can apply.The type of the object represented by JSON.The type of the object represented by JSON.getTotal()Total number of objects defining included products, SKUs, or product collections.inthashCode()voidsetData(List<ApplicableTo> data) voidvoidvoidtoJson()Convert an instance of ApplicableToResultList to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_DATA
- See Also:
-
SERIALIZED_NAME_TOTAL
- See Also:
-
SERIALIZED_NAME_OBJECT
- See Also:
-
SERIALIZED_NAME_DATA_REF
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ApplicableToResultList
public ApplicableToResultList()
-
-
Method Details
-
data
-
addDataItem
-
getData
Contains array of items to which the discount can apply.- Returns:
- data
-
setData
-
total
-
getTotal
Total number of objects defining included products, SKUs, or product collections. minimum: 0- Returns:
- total
-
setTotal
-
_object
-
getObject
The type of the object represented by JSON.- Returns:
- _object
-
setObject
-
dataRef
-
getDataRef
The type of the object represented by JSON.- Returns:
- dataRef
-
setDataRef
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of ApplicableToResultList given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ApplicableToResultList
- Throws:
IOException- if the JSON string is invalid with respect to ApplicableToResultList
-
toJson
Convert an instance of ApplicableToResultList to an JSON string- Returns:
- JSON string
-