Package cm.xd.genapi.ynab.model
Class SaveScheduledTransaction
java.lang.Object
cm.xd.genapi.ynab.model.SaveScheduledTransaction
@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 SaveScheduledTransaction
extends Object
SaveScheduledTransaction
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncategoryId(UUID categoryId) booleanflagColor(TransactionFlagColor flagColor) frequency(ScheduledTransactionFrequency frequency) static SaveScheduledTransactionCreate an instance of SaveScheduledTransaction given an JSON stringGet accountIdThe scheduled transaction amount in milliunits format.The category for the scheduled transaction.getDate()The scheduled transaction date in ISO format (e.g.Get flagColorGet frequencygetMemo()Get memoThe payee for the scheduled transaction.The payee name for the the scheduled transaction.inthashCode()voidsetAccountId(UUID accountId) voidvoidsetCategoryId(UUID categoryId) voidvoidsetFlagColor(TransactionFlagColor flagColor) voidsetFrequency(ScheduledTransactionFrequency frequency) voidvoidsetPayeeId(UUID payeeId) voidsetPayeeName(String payeeName) toJson()Convert an instance of SaveScheduledTransaction to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ACCOUNT_ID
- See Also:
-
SERIALIZED_NAME_DATE
- See Also:
-
SERIALIZED_NAME_AMOUNT
- See Also:
-
SERIALIZED_NAME_PAYEE_ID
- See Also:
-
SERIALIZED_NAME_PAYEE_NAME
- See Also:
-
SERIALIZED_NAME_CATEGORY_ID
- See Also:
-
SERIALIZED_NAME_MEMO
- See Also:
-
SERIALIZED_NAME_FLAG_COLOR
- See Also:
-
SERIALIZED_NAME_FREQUENCY
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
SaveScheduledTransaction
public SaveScheduledTransaction()
-
-
Method Details
-
accountId
-
getAccountId
Get accountId- Returns:
- accountId
-
setAccountId
-
date
-
getDate
The scheduled transaction date in ISO format (e.g. 2016-12-01). This should be a future date no more than 5 years into the future.- Returns:
- date
-
setDate
-
amount
-
getAmount
The scheduled transaction amount in milliunits format.- Returns:
- amount
-
setAmount
-
payeeId
-
getPayeeId
The payee for the scheduled transaction. To create a transfer between two accounts, use the account transfer payee pointing to the target account. Account transfer payees are specified as `transfer_payee_id` on the account resource.- Returns:
- payeeId
-
setPayeeId
-
payeeName
-
getPayeeName
The payee name for the the scheduled transaction. If a `payee_name` value is provided and `payee_id` has a null value, the `payee_name` value will be used to resolve the payee by either (1) a payee with the same name or (2) creation of a new payee.- Returns:
- payeeName
-
setPayeeName
-
categoryId
-
getCategoryId
The category for the scheduled transaction. Credit Card Payment categories are not permitted. Creating a split scheduled transaction is not currently supported.- Returns:
- categoryId
-
setCategoryId
-
memo
-
getMemo
Get memo- Returns:
- memo
-
setMemo
-
flagColor
-
getFlagColor
Get flagColor- Returns:
- flagColor
-
setFlagColor
-
frequency
-
getFrequency
Get frequency- Returns:
- frequency
-
setFrequency
-
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 SaveScheduledTransaction
-
fromJson
Create an instance of SaveScheduledTransaction given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SaveScheduledTransaction
- Throws:
IOException- if the JSON string is invalid with respect to SaveScheduledTransaction
-
toJson
Convert an instance of SaveScheduledTransaction to an JSON string- Returns:
- JSON string
-