Package cm.xd.genapi.ynab.model
Class ScheduledSubTransactionBase
java.lang.Object
cm.xd.genapi.ynab.model.ScheduledSubTransactionBase
@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 ScheduledSubTransactionBase
extends Object
ScheduledSubTransactionBase
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncategoryId(UUID categoryId) categoryName(String categoryName) booleanstatic ScheduledSubTransactionBaseCreate an instance of ScheduledSubTransactionBase given an JSON stringThe scheduled subtransaction amount in milliunits 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) voidvoidsetCategoryId(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 ScheduledSubTransactionBase 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:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ScheduledSubTransactionBase
public ScheduledSubTransactionBase()
-
-
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
-
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 ScheduledSubTransactionBase
-
fromJson
Create an instance of ScheduledSubTransactionBase given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ScheduledSubTransactionBase
- Throws:
IOException- if the JSON string is invalid with respect to ScheduledSubTransactionBase
-
toJson
Convert an instance of ScheduledSubTransactionBase to an JSON string- Returns:
- JSON string
-