Package io.voucherify.client.model
Class RedemptionRewardResultParametersProduct
java.lang.Object
io.voucherify.client.model.RedemptionRewardResultParametersProduct
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class RedemptionRewardResultParametersProduct
extends Object
Defines the product redeemed 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 RedemptionRewardResultParametersProduct given an JSON stringgetId()Unique product ID, assigned by Voucherify.getSkuId()Unique identifier of the SKU.inthashCode()voidvoidtoJson()Convert an instance of RedemptionRewardResultParametersProduct to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_SKU_ID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
RedemptionRewardResultParametersProduct
public RedemptionRewardResultParametersProduct()
-
-
Method Details
-
id
-
getId
Unique product ID, assigned by Voucherify.- Returns:
- id
-
setId
-
skuId
-
getSkuId
Unique identifier of the SKU. It is assigned by Voucherify.- Returns:
- skuId
-
setSkuId
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static RedemptionRewardResultParametersProduct fromJson(String jsonString) throws IOException Create an instance of RedemptionRewardResultParametersProduct given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RedemptionRewardResultParametersProduct
- Throws:
IOException- if the JSON string is invalid with respect to RedemptionRewardResultParametersProduct
-
toJson
Convert an instance of RedemptionRewardResultParametersProduct to an JSON string- Returns:
- JSON string
-