Class ScheduledTransactionSummary

java.lang.Object
cm.xd.genapi.ynab.model.ScheduledTransactionSummary

@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 ScheduledTransactionSummary extends Object
ScheduledTransactionSummary
  • Field Details

  • Constructor Details

    • ScheduledTransactionSummary

      public ScheduledTransactionSummary()
  • Method Details

    • id

      public ScheduledTransactionSummary id(@Nonnull UUID id)
    • getId

      @Nonnull public UUID getId()
      Get id
      Returns:
      id
    • setId

      public void setId(@Nonnull UUID id)
    • dateFirst

      public ScheduledTransactionSummary dateFirst(@Nonnull LocalDate dateFirst)
    • getDateFirst

      @Nonnull public LocalDate getDateFirst()
      The first date for which the Scheduled Transaction was scheduled.
      Returns:
      dateFirst
    • setDateFirst

      public void setDateFirst(@Nonnull LocalDate dateFirst)
    • dateNext

      public ScheduledTransactionSummary dateNext(@Nonnull LocalDate dateNext)
    • getDateNext

      @Nonnull public LocalDate getDateNext()
      The next date for which the Scheduled Transaction is scheduled.
      Returns:
      dateNext
    • setDateNext

      public void setDateNext(@Nonnull LocalDate dateNext)
    • frequency

    • getFrequency

      @Nonnull public ScheduledTransactionSummary.FrequencyEnum getFrequency()
      Get frequency
      Returns:
      frequency
    • setFrequency

      public void setFrequency(@Nonnull ScheduledTransactionSummary.FrequencyEnum frequency)
    • amount

      public ScheduledTransactionSummary amount(@Nonnull Long amount)
    • getAmount

      @Nonnull public Long getAmount()
      The scheduled transaction amount in milliunits format
      Returns:
      amount
    • setAmount

      public void setAmount(@Nonnull Long amount)
    • memo

      public ScheduledTransactionSummary memo(@Nullable String memo)
    • getMemo

      @Nullable public String getMemo()
      Get memo
      Returns:
      memo
    • setMemo

      public void setMemo(@Nullable String memo)
    • flagColor

      public ScheduledTransactionSummary flagColor(@Nullable TransactionFlagColor flagColor)
    • getFlagColor

      @Nullable public TransactionFlagColor getFlagColor()
      Get flagColor
      Returns:
      flagColor
    • setFlagColor

      public void setFlagColor(@Nullable TransactionFlagColor flagColor)
    • flagName

      public ScheduledTransactionSummary flagName(@Nullable String flagName)
    • getFlagName

      @Nullable public String getFlagName()
      The customized name of a transaction flag
      Returns:
      flagName
    • setFlagName

      public void setFlagName(@Nullable String flagName)
    • accountId

      public ScheduledTransactionSummary accountId(@Nonnull UUID accountId)
    • getAccountId

      @Nonnull public UUID getAccountId()
      Get accountId
      Returns:
      accountId
    • setAccountId

      public void setAccountId(@Nonnull UUID accountId)
    • payeeId

      public ScheduledTransactionSummary payeeId(@Nullable UUID payeeId)
    • getPayeeId

      @Nullable public UUID getPayeeId()
      Get payeeId
      Returns:
      payeeId
    • setPayeeId

      public void setPayeeId(@Nullable UUID payeeId)
    • categoryId

      public ScheduledTransactionSummary categoryId(@Nullable UUID categoryId)
    • getCategoryId

      @Nullable public UUID getCategoryId()
      Get categoryId
      Returns:
      categoryId
    • setCategoryId

      public void setCategoryId(@Nullable UUID categoryId)
    • transferAccountId

      public ScheduledTransactionSummary transferAccountId(@Nullable UUID transferAccountId)
    • getTransferAccountId

      @Nullable public UUID getTransferAccountId()
      If a transfer, the account_id which the scheduled transaction transfers to
      Returns:
      transferAccountId
    • setTransferAccountId

      public void setTransferAccountId(@Nullable UUID transferAccountId)
    • deleted

      public ScheduledTransactionSummary deleted(@Nonnull Boolean deleted)
    • getDeleted

      @Nonnull public Boolean getDeleted()
      Whether or not the scheduled transaction has been deleted. Deleted scheduled transactions will only be included in delta requests.
      Returns:
      deleted
    • setDeleted

      public void setDeleted(@Nonnull Boolean deleted)
    • amountFormatted

      public ScheduledTransactionSummary amountFormatted(@Nullable String amountFormatted)
    • getAmountFormatted

      @Nullable public String getAmountFormatted()
      The scheduled transaction amount formatted in the plan's currency format
      Returns:
      amountFormatted
    • setAmountFormatted

      public void setAmountFormatted(@Nullable String amountFormatted)
    • amountCurrency

      public ScheduledTransactionSummary amountCurrency(@Nullable Double amountCurrency)
    • getAmountCurrency

      @Nullable public Double getAmountCurrency()
      The scheduled transaction amount as a decimal currency amount
      Returns:
      amountCurrency
    • setAmountCurrency

      public void setAmountCurrency(@Nullable Double amountCurrency)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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 ScheduledTransactionSummary
    • fromJson

      public static ScheduledTransactionSummary fromJson(String jsonString) throws IOException
      Create an instance of ScheduledTransactionSummary given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of ScheduledTransactionSummary
      Throws:
      IOException - if the JSON string is invalid with respect to ScheduledTransactionSummary
    • toJson

      public String toJson()
      Convert an instance of ScheduledTransactionSummary to an JSON string
      Returns:
      JSON string