Package io.voucherify.client.model
Class ClientValidationsValidateResponseBodyRedeemablesItemResult
java.lang.Object
io.voucherify.client.model.ClientValidationsValidateResponseBodyRedeemablesItemResult
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ClientValidationsValidateResponseBodyRedeemablesItemResult
extends Object
ClientValidationsValidateResponseBodyRedeemablesItemResult
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of ClientValidationsValidateResponseBodyRedeemablesItemResult given an JSON stringGet detailsGet discountgetError()Get errorgetGift()Get giftGet loyaltyCardinthashCode()voidvoidvoidvoidvoidtoJson()Convert an instance of ClientValidationsValidateResponseBodyRedeemablesItemResult to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_DISCOUNT
- See Also:
-
SERIALIZED_NAME_GIFT
- See Also:
-
SERIALIZED_NAME_LOYALTY_CARD
- See Also:
-
SERIALIZED_NAME_ERROR
- See Also:
-
SERIALIZED_NAME_DETAILS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ClientValidationsValidateResponseBodyRedeemablesItemResult
public ClientValidationsValidateResponseBodyRedeemablesItemResult()
-
-
Method Details
-
discount
-
getDiscount
Get discount- Returns:
- discount
-
setDiscount
public void setDiscount(ClientValidationsValidateResponseBodyRedeemablesItemResultDiscount discount) -
gift
-
getGift
Get gift- Returns:
- gift
-
setGift
-
loyaltyCard
public ClientValidationsValidateResponseBodyRedeemablesItemResult loyaltyCard(ClientValidationsValidateResponseBodyRedeemablesItemResultLoyaltyCard loyaltyCard) -
getLoyaltyCard
@Nullable public ClientValidationsValidateResponseBodyRedeemablesItemResultLoyaltyCard getLoyaltyCard()Get loyaltyCard- Returns:
- loyaltyCard
-
setLoyaltyCard
public void setLoyaltyCard(ClientValidationsValidateResponseBodyRedeemablesItemResultLoyaltyCard loyaltyCard) -
error
-
getError
Get error- Returns:
- error
-
setError
-
details
-
getDetails
Get details- Returns:
- details
-
setDetails
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static ClientValidationsValidateResponseBodyRedeemablesItemResult fromJson(String jsonString) throws IOException Create an instance of ClientValidationsValidateResponseBodyRedeemablesItemResult given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ClientValidationsValidateResponseBodyRedeemablesItemResult
- Throws:
IOException- if the JSON string is invalid with respect to ClientValidationsValidateResponseBodyRedeemablesItemResult
-
toJson
Convert an instance of ClientValidationsValidateResponseBodyRedeemablesItemResult to an JSON string- Returns:
- JSON string
-