Package cm.xd.genapi.ynab.model
Class ScheduledSubTransaction
java.lang.Object
cm.xd.genapi.ynab.model.ScheduledSubTransaction
@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 ScheduledSubTransaction
extends Object
ScheduledSubTransaction
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionamountCurrency(Double amountCurrency) amountFormatted(String amountFormatted) categoryId(UUID categoryId) categoryName(String categoryName) booleanstatic ScheduledSubTransactionCreate an instance of ScheduledSubTransaction given an JSON stringThe scheduled subtransaction amount in milliunits formatThe scheduled subtransaction amount as a decimal currency amountThe scheduled subtransaction amount formatted in the plan's currency formatGet categoryIdGet categoryNameWhether or not the scheduled subtransaction has been deleted.getId()Get idgetMemo()Get memoGet payeeIdGet payeeNameGet scheduledTransactionIdIf a transfer, the account_id which the scheduled subtransaction transfers tointhashCode()scheduledTransactionId(UUID scheduledTransactionId) voidvoidsetAmountCurrency(Double amountCurrency) voidsetAmountFormatted(String amountFormatted) voidsetCategoryId(UUID categoryId) voidsetCategoryName(String categoryName) voidsetDeleted(Boolean deleted) voidvoidvoidsetPayeeId(UUID payeeId) voidsetPayeeName(String payeeName) voidsetScheduledTransactionId(UUID scheduledTransactionId) voidsetTransferAccountId(UUID transferAccountId) toJson()Convert an instance of ScheduledSubTransaction 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_SCHEDULED_TRANSACTION_ID
- See Also:
-
SERIALIZED_NAME_AMOUNT
- See Also:
-
SERIALIZED_NAME_MEMO
- See Also:
-
SERIALIZED_NAME_PAYEE_ID
- See Also:
-
SERIALIZED_NAME_PAYEE_NAME
- See Also:
-
SERIALIZED_NAME_CATEGORY_ID
- See Also:
-
SERIALIZED_NAME_CATEGORY_NAME
- 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:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ScheduledSubTransaction
public ScheduledSubTransaction()
-
-
Method Details
-
id
-
getId
Get id- Returns:
- id
-
setId
-
scheduledTransactionId
-
getScheduledTransactionId
Get scheduledTransactionId- Returns:
- scheduledTransactionId
-
setScheduledTransactionId
-
amount
-
getAmount
The scheduled subtransaction amount in milliunits format- Returns:
- amount
-
setAmount
-
memo
-
getMemo
Get memo- Returns:
- memo
-
setMemo
-
payeeId
-
getPayeeId
Get payeeId- Returns:
- payeeId
-
setPayeeId
-
payeeName
-
getPayeeName
Get payeeName- Returns:
- payeeName
-
setPayeeName
-
categoryId
-
getCategoryId
Get categoryId- Returns:
- categoryId
-
setCategoryId
-
categoryName
-
getCategoryName
Get categoryName- Returns:
- categoryName
-
setCategoryName
-
transferAccountId
-
getTransferAccountId
If a transfer, the account_id which the scheduled subtransaction transfers to- Returns:
- transferAccountId
-
setTransferAccountId
-
deleted
-
getDeleted
Whether or not the scheduled subtransaction has been deleted. Deleted scheduled subtransactions will only be included in delta requests.- Returns:
- deleted
-
setDeleted
-
amountFormatted
-
getAmountFormatted
The scheduled subtransaction amount formatted in the plan's currency format- Returns:
- amountFormatted
-
setAmountFormatted
-
amountCurrency
-
getAmountCurrency
The scheduled subtransaction amount as a decimal currency amount- Returns:
- amountCurrency
-
setAmountCurrency
-
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 ScheduledSubTransaction
-
fromJson
Create an instance of ScheduledSubTransaction given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ScheduledSubTransaction
- Throws:
IOException- if the JSON string is invalid with respect to ScheduledSubTransaction
-
toJson
Convert an instance of ScheduledSubTransaction to an JSON string- Returns:
- JSON string
-