Package io.voucherify.client.model
Class VoucherBalanceRelatedObject
java.lang.Object
io.voucherify.client.model.VoucherBalanceRelatedObject
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class VoucherBalanceRelatedObject
extends Object
Defines the resource that is being modified with the values that are returned in the balance object.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumThe object being modified, i.e. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic VoucherBalanceRelatedObjectCreate an instance of VoucherBalanceRelatedObject given an JSON stringgetId()Identifies the voucher that is being modified.getType()The object being modified, i.e.inthashCode()voidvoidtoJson()Convert an instance of VoucherBalanceRelatedObject to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
VoucherBalanceRelatedObject
public VoucherBalanceRelatedObject()
-
-
Method Details
-
id
-
getId
Identifies the voucher that is being modified. The ID is assigned by the Voucherify API.- Returns:
- id
-
setId
-
type
-
getType
The object being modified, i.e. voucher.- Returns:
- type
-
setType
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of VoucherBalanceRelatedObject given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of VoucherBalanceRelatedObject
- Throws:
IOException- if the JSON string is invalid with respect to VoucherBalanceRelatedObject
-
toJson
Convert an instance of VoucherBalanceRelatedObject to an JSON string- Returns:
- JSON string
-