Package io.voucherify.client.model
Class RedemptionsGetResponseBodyGift
java.lang.Object
io.voucherify.client.model.RedemptionsGetResponseBodyGift
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class RedemptionsGetResponseBodyGift
extends Object
RedemptionsGetResponseBodyGift
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SERIALIZED_NAME_AMOUNT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
RedemptionsGetResponseBodyGift
public RedemptionsGetResponseBodyGift()
-
-
Method Details
-
amount
-
getAmount
Amount subtracted from the gift card as a result of the redemption. The amount is expressed as the smallest currency unit (e.g. 100 cents for $1.00). and Amount returned to the gift card as a result of the redemption rollback and expressed as a negative integer. The amount is expressed as the smallest currency unit (e.g. -100 cents for $1.00 returned).- Returns:
- amount
-
setAmount
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of RedemptionsGetResponseBodyGift given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RedemptionsGetResponseBodyGift
- Throws:
IOException- if the JSON string is invalid with respect to RedemptionsGetResponseBodyGift
-
toJson
Convert an instance of RedemptionsGetResponseBodyGift to an JSON string- Returns:
- JSON string
-