Package io.voucherify.client.model
Class RewardsUpdateRequestBodyParametersProduct
java.lang.Object
io.voucherify.client.model.RewardsUpdateRequestBodyParametersProduct
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class RewardsUpdateRequestBodyParametersProduct
extends Object
Define the product given as a reward.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of RewardsUpdateRequestBodyParametersProduct given an JSON stringgetId()Unique product ID, assigned by Voucherify, given as a reward.getSkuId()Unique SKU ID, assigned by Voucherify, of the SKU given as a reward.inthashCode()voidvoidtoJson()Convert an instance of RewardsUpdateRequestBodyParametersProduct to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_SKU_ID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
RewardsUpdateRequestBodyParametersProduct
public RewardsUpdateRequestBodyParametersProduct()
-
-
Method Details
-
id
-
getId
Unique product ID, assigned by Voucherify, given as a reward.- Returns:
- id
-
setId
-
skuId
-
getSkuId
Unique SKU ID, assigned by Voucherify, of the SKU given as a reward.- Returns:
- skuId
-
setSkuId
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static RewardsUpdateRequestBodyParametersProduct fromJson(String jsonString) throws IOException Create an instance of RewardsUpdateRequestBodyParametersProduct given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RewardsUpdateRequestBodyParametersProduct
- Throws:
IOException- if the JSON string is invalid with respect to RewardsUpdateRequestBodyParametersProduct
-
toJson
Convert an instance of RewardsUpdateRequestBodyParametersProduct to an JSON string- Returns:
- JSON string
-