Package cm.xd.genapi.ynab.model
Class AccountBase
java.lang.Object
cm.xd.genapi.ynab.model.AccountBase
@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 AccountBase
extends Object
AccountBase
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclearedBalance(Long clearedBalance) debtEscrowAmounts(Map<String, Long> debtEscrowAmounts) debtInterestRates(Map<String, Long> debtInterestRates) debtMinimumPayments(Map<String, Long> debtMinimumPayments) debtOriginalBalance(Long debtOriginalBalance) directImportInError(Boolean directImportInError) directImportLinked(Boolean directImportLinked) booleanstatic AccountBaseCreate an instance of AccountBase given an JSON stringThe current available balance of the account in milliunits formatThe current cleared balance of the account in milliunits formatWhether this account is closed or notGet debtEscrowAmountsGet debtInterestRatesGet debtMinimumPaymentsThis field is deprecated and will always be null.Whether or not the account has been deleted.If an account linked to a financial institution (direct_import_linked=true) and the linked connection is not in a healthy state, this will be true.Whether or not the account is linked to a financial institution for automatic transaction import.getId()Get idA date/time specifying when the account was last reconciled.getName()Get namegetNote()Get noteWhether this account is \"on budget\" or notThe payee id which should be used when transferring to this accountgetType()Get typeThe current uncleared balance of the account in milliunits formatinthashCode()lastReconciledAt(OffsetDateTime lastReconciledAt) putDebtEscrowAmountsItem(String key, Long debtEscrowAmountsItem) putDebtInterestRatesItem(String key, Long debtInterestRatesItem) putDebtMinimumPaymentsItem(String key, Long debtMinimumPaymentsItem) voidsetBalance(Long balance) voidsetClearedBalance(Long clearedBalance) voidvoidsetDebtEscrowAmounts(Map<String, Long> debtEscrowAmounts) voidsetDebtInterestRates(Map<String, Long> debtInterestRates) voidsetDebtMinimumPayments(Map<String, Long> debtMinimumPayments) voidsetDebtOriginalBalance(Long debtOriginalBalance) voidsetDeleted(Boolean deleted) voidsetDirectImportInError(Boolean directImportInError) voidsetDirectImportLinked(Boolean directImportLinked) voidvoidsetLastReconciledAt(OffsetDateTime lastReconciledAt) voidvoidvoidsetOnBudget(Boolean onBudget) voidsetTransferPayeeId(UUID transferPayeeId) voidsetType(AccountType type) voidsetUnclearedBalance(Long unclearedBalance) toJson()Convert an instance of AccountBase to an JSON stringtoString()transferPayeeId(UUID transferPayeeId) type(AccountType type) unclearedBalance(Long unclearedBalance) 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_TYPE
- See Also:
-
SERIALIZED_NAME_ON_BUDGET
- See Also:
-
SERIALIZED_NAME_CLOSED
- See Also:
-
SERIALIZED_NAME_NOTE
- See Also:
-
SERIALIZED_NAME_BALANCE
- See Also:
-
SERIALIZED_NAME_CLEARED_BALANCE
- See Also:
-
SERIALIZED_NAME_UNCLEARED_BALANCE
- See Also:
-
SERIALIZED_NAME_TRANSFER_PAYEE_ID
- See Also:
-
SERIALIZED_NAME_DIRECT_IMPORT_LINKED
- See Also:
-
SERIALIZED_NAME_DIRECT_IMPORT_IN_ERROR
- See Also:
-
SERIALIZED_NAME_LAST_RECONCILED_AT
- See Also:
-
SERIALIZED_NAME_DEBT_ORIGINAL_BALANCE
- See Also:
-
SERIALIZED_NAME_DEBT_INTEREST_RATES
- See Also:
-
SERIALIZED_NAME_DEBT_MINIMUM_PAYMENTS
- See Also:
-
SERIALIZED_NAME_DEBT_ESCROW_AMOUNTS
- See Also:
-
SERIALIZED_NAME_DELETED
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AccountBase
public AccountBase()
-
-
Method Details
-
id
-
getId
Get id- Returns:
- id
-
setId
-
name
-
getName
Get name- Returns:
- name
-
setName
-
type
-
getType
Get type- Returns:
- type
-
setType
-
onBudget
-
getOnBudget
Whether this account is \"on budget\" or not- Returns:
- onBudget
-
setOnBudget
-
closed
-
getClosed
Whether this account is closed or not- Returns:
- closed
-
setClosed
-
note
-
getNote
Get note- Returns:
- note
-
setNote
-
balance
-
getBalance
The current available balance of the account in milliunits format- Returns:
- balance
-
setBalance
-
clearedBalance
-
getClearedBalance
The current cleared balance of the account in milliunits format- Returns:
- clearedBalance
-
setClearedBalance
-
unclearedBalance
-
getUnclearedBalance
The current uncleared balance of the account in milliunits format- Returns:
- unclearedBalance
-
setUnclearedBalance
-
transferPayeeId
-
getTransferPayeeId
The payee id which should be used when transferring to this account- Returns:
- transferPayeeId
-
setTransferPayeeId
-
directImportLinked
-
getDirectImportLinked
Whether or not the account is linked to a financial institution for automatic transaction import.- Returns:
- directImportLinked
-
setDirectImportLinked
-
directImportInError
-
getDirectImportInError
If an account linked to a financial institution (direct_import_linked=true) and the linked connection is not in a healthy state, this will be true.- Returns:
- directImportInError
-
setDirectImportInError
-
lastReconciledAt
-
getLastReconciledAt
A date/time specifying when the account was last reconciled.- Returns:
- lastReconciledAt
-
setLastReconciledAt
-
debtOriginalBalance
-
getDebtOriginalBalance
This field is deprecated and will always be null.- Returns:
- debtOriginalBalance
-
setDebtOriginalBalance
-
debtInterestRates
-
putDebtInterestRatesItem
-
getDebtInterestRates
Get debtInterestRates- Returns:
- debtInterestRates
-
setDebtInterestRates
-
debtMinimumPayments
-
putDebtMinimumPaymentsItem
-
getDebtMinimumPayments
Get debtMinimumPayments- Returns:
- debtMinimumPayments
-
setDebtMinimumPayments
-
debtEscrowAmounts
-
putDebtEscrowAmountsItem
-
getDebtEscrowAmounts
Get debtEscrowAmounts- Returns:
- debtEscrowAmounts
-
setDebtEscrowAmounts
-
deleted
-
getDeleted
Whether or not the account has been deleted. Deleted accounts 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 AccountBase
-
fromJson
Create an instance of AccountBase given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AccountBase
- Throws:
IOException- if the JSON string is invalid with respect to AccountBase
-
toJson
Convert an instance of AccountBase to an JSON string- Returns:
- JSON string
-