Class Payee

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

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

  • Constructor Details

    • Payee

      public Payee()
  • Method Details

    • id

      public Payee id(@Nonnull UUID id)
    • getId

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

      public void setId(@Nonnull UUID id)
    • name

      public Payee name(@Nonnull String name)
    • getName

      @Nonnull public String getName()
      Get name
      Returns:
      name
    • setName

      public void setName(@Nonnull String name)
    • transferAccountId

      public Payee transferAccountId(@Nullable String transferAccountId)
    • getTransferAccountId

      @Nullable public String getTransferAccountId()
      If a transfer payee, the `account_id` to which this payee transfers to
      Returns:
      transferAccountId
    • setTransferAccountId

      public void setTransferAccountId(@Nullable String transferAccountId)
    • deleted

      public Payee deleted(@Nonnull Boolean deleted)
    • getDeleted

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

      public void setDeleted(@Nonnull Boolean deleted)
    • 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 Payee
    • fromJson

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

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