Package cm.xd.genapi.ynab.model
Class Payee
java.lang.Object
cm.xd.genapi.ynab.model.Payee
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-04-26T18:05:30.720340+02:00[Europe/Stockholm]",
comments="Generator version: 7.21.0")
public class Payee
extends Object
Payee
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic PayeeCreate an instance of Payee given an JSON stringWhether or not the payee has been deleted.getId()Get idgetName()Get nameIf a transfer payee, the `account_id` to which this payee transfers tointhashCode()voidsetDeleted(Boolean deleted) voidvoidvoidsetTransferAccountId(String transferAccountId) toJson()Convert an instance of Payee to an JSON stringtoString()transferAccountId(String transferAccountId) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_TRANSFER_ACCOUNT_ID
- See Also:
-
SERIALIZED_NAME_DELETED
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Payee
public Payee()
-
-
Method Details
-
id
-
getId
Get id- Returns:
- id
-
setId
-
name
-
getName
Get name- Returns:
- name
-
setName
-
transferAccountId
-
getTransferAccountId
If a transfer payee, the `account_id` to which this payee transfers to- Returns:
- transferAccountId
-
setTransferAccountId
-
deleted
-
getDeleted
Whether or not the payee has been deleted. Deleted payees will only be included in delta requests.- Returns:
- deleted
-
setDeleted
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to Payee
-
fromJson
Create an instance of Payee given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Payee
- Throws:
IOException- if the JSON string is invalid with respect to Payee
-
toJson
Convert an instance of Payee to an JSON string- Returns:
- JSON string
-