Package io.voucherify.client.model
Class VoucherTransactionDetailsBalanceRelatedObject
java.lang.Object
io.voucherify.client.model.VoucherTransactionDetailsBalanceRelatedObject
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class VoucherTransactionDetailsBalanceRelatedObject
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 TypeMethodDescriptionbooleanCreate an instance of VoucherTransactionDetailsBalanceRelatedObject given an JSON stringgetId()Identifies the voucher that is being modified.getType()The object being modified, i.e.inthashCode()voidvoidtoJson()Convert an instance of VoucherTransactionDetailsBalanceRelatedObject to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
VoucherTransactionDetailsBalanceRelatedObject
public VoucherTransactionDetailsBalanceRelatedObject()
-
-
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
public static VoucherTransactionDetailsBalanceRelatedObject fromJson(String jsonString) throws IOException Create an instance of VoucherTransactionDetailsBalanceRelatedObject given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of VoucherTransactionDetailsBalanceRelatedObject
- Throws:
IOException- if the JSON string is invalid with respect to VoucherTransactionDetailsBalanceRelatedObject
-
toJson
Convert an instance of VoucherTransactionDetailsBalanceRelatedObject to an JSON string- Returns:
- JSON string
-