Package cm.xd.genapi.ynab.model
Class ScheduledTransactionDetail
java.lang.Object
cm.xd.genapi.ynab.model.ScheduledTransactionDetail
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-04-13T16:11:17.024752+02:00[Europe/Stockholm]",
comments="Generator version: 7.21.0")
public class ScheduledTransactionDetail
extends Object
ScheduledTransactionDetail
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumGets or Sets frequency -
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 Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountName(String accountName) addSubtransactionsItem(ScheduledSubTransaction subtransactionsItem) amountCurrency(Double amountCurrency) amountFormatted(String amountFormatted) categoryId(UUID categoryId) categoryName(String categoryName) booleanflagColor(TransactionFlagColor flagColor) static ScheduledTransactionDetailCreate an instance of ScheduledTransactionDetail given an JSON stringGet accountIdGet accountNameThe scheduled transaction amount in milliunits formatThe scheduled transaction amount as a decimal currency amountThe scheduled transaction amount formatted in the plan's currency formatGet categoryIdThe name of the category.The first date for which the Scheduled Transaction was scheduled.The next date for which the Scheduled Transaction is scheduled.Whether or not the scheduled transaction has been deleted.Get flagColorThe customized name of a transaction flagGet frequencygetId()Get idgetMemo()Get memoGet payeeIdGet payeeNameIf a split scheduled transaction, the subtransactions.If a transfer, the account_id which the scheduled transaction transfers tointhashCode()voidsetAccountId(UUID accountId) voidsetAccountName(String accountName) voidvoidsetAmountCurrency(Double amountCurrency) voidsetAmountFormatted(String amountFormatted) voidsetCategoryId(UUID categoryId) voidsetCategoryName(String categoryName) voidsetDateFirst(LocalDate dateFirst) voidsetDateNext(LocalDate dateNext) voidsetDeleted(Boolean deleted) voidsetFlagColor(TransactionFlagColor flagColor) voidsetFlagName(String flagName) voidvoidvoidvoidsetPayeeId(UUID payeeId) voidsetPayeeName(String payeeName) voidsetSubtransactions(List<ScheduledSubTransaction> subtransactions) voidsetTransferAccountId(UUID transferAccountId) subtransactions(List<ScheduledSubTransaction> subtransactions) toJson()Convert an instance of ScheduledTransactionDetail to an JSON stringtoString()transferAccountId(UUID 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_DATE_FIRST
- See Also:
-
SERIALIZED_NAME_DATE_NEXT
- See Also:
-
SERIALIZED_NAME_FREQUENCY
- See Also:
-
SERIALIZED_NAME_AMOUNT
- See Also:
-
SERIALIZED_NAME_MEMO
- See Also:
-
SERIALIZED_NAME_FLAG_COLOR
- See Also:
-
SERIALIZED_NAME_FLAG_NAME
- See Also:
-
SERIALIZED_NAME_ACCOUNT_ID
- See Also:
-
SERIALIZED_NAME_PAYEE_ID
- See Also:
-
SERIALIZED_NAME_CATEGORY_ID
- See Also:
-
SERIALIZED_NAME_TRANSFER_ACCOUNT_ID
- See Also:
-
SERIALIZED_NAME_DELETED
- See Also:
-
SERIALIZED_NAME_AMOUNT_FORMATTED
- See Also:
-
SERIALIZED_NAME_AMOUNT_CURRENCY
- See Also:
-
SERIALIZED_NAME_ACCOUNT_NAME
- See Also:
-
SERIALIZED_NAME_PAYEE_NAME
- See Also:
-
SERIALIZED_NAME_CATEGORY_NAME
- See Also:
-
SERIALIZED_NAME_SUBTRANSACTIONS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ScheduledTransactionDetail
public ScheduledTransactionDetail()
-
-
Method Details
-
id
-
getId
Get id- Returns:
- id
-
setId
-
dateFirst
-
getDateFirst
The first date for which the Scheduled Transaction was scheduled.- Returns:
- dateFirst
-
setDateFirst
-
dateNext
-
getDateNext
The next date for which the Scheduled Transaction is scheduled.- Returns:
- dateNext
-
setDateNext
-
frequency
public ScheduledTransactionDetail frequency(@Nonnull ScheduledTransactionDetail.FrequencyEnum frequency) -
getFrequency
Get frequency- Returns:
- frequency
-
setFrequency
-
amount
-
getAmount
The scheduled transaction amount in milliunits format- Returns:
- amount
-
setAmount
-
memo
-
getMemo
Get memo- Returns:
- memo
-
setMemo
-
flagColor
-
getFlagColor
Get flagColor- Returns:
- flagColor
-
setFlagColor
-
flagName
-
getFlagName
The customized name of a transaction flag- Returns:
- flagName
-
setFlagName
-
accountId
-
getAccountId
Get accountId- Returns:
- accountId
-
setAccountId
-
payeeId
-
getPayeeId
Get payeeId- Returns:
- payeeId
-
setPayeeId
-
categoryId
-
getCategoryId
Get categoryId- Returns:
- categoryId
-
setCategoryId
-
transferAccountId
-
getTransferAccountId
If a transfer, the account_id which the scheduled transaction transfers to- Returns:
- transferAccountId
-
setTransferAccountId
-
deleted
-
getDeleted
Whether or not the scheduled transaction has been deleted. Deleted scheduled transactions will only be included in delta requests.- Returns:
- deleted
-
setDeleted
-
amountFormatted
-
getAmountFormatted
The scheduled transaction amount formatted in the plan's currency format- Returns:
- amountFormatted
-
setAmountFormatted
-
amountCurrency
-
getAmountCurrency
The scheduled transaction amount as a decimal currency amount- Returns:
- amountCurrency
-
setAmountCurrency
-
accountName
-
getAccountName
Get accountName- Returns:
- accountName
-
setAccountName
-
payeeName
-
getPayeeName
Get payeeName- Returns:
- payeeName
-
setPayeeName
-
categoryName
-
getCategoryName
The name of the category. If a split scheduled transaction, this will be 'Split'.- Returns:
- categoryName
-
setCategoryName
-
subtransactions
public ScheduledTransactionDetail subtransactions(@Nonnull List<ScheduledSubTransaction> subtransactions) -
addSubtransactionsItem
public ScheduledTransactionDetail addSubtransactionsItem(ScheduledSubTransaction subtransactionsItem) -
getSubtransactions
If a split scheduled transaction, the subtransactions.- Returns:
- subtransactions
-
setSubtransactions
-
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 ScheduledTransactionDetail
-
fromJson
Create an instance of ScheduledTransactionDetail given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ScheduledTransactionDetail
- Throws:
IOException- if the JSON string is invalid with respect to ScheduledTransactionDetail
-
toJson
Convert an instance of ScheduledTransactionDetail to an JSON string- Returns:
- JSON string
-