Record Class Deployment.EscrowAccount

java.lang.Object
java.lang.Record
cloud.quasarch.akash.impl.model.remote.Deployment.EscrowAccount
Record Components:
id - Unique ID of account.
owner - Account address of owner.
state - Account state.
balance - Deployment.Balance
transferred - Deployment.Transferred
settledAt - Last block that payments were settled.
depositor - Tenants are required to submit a deposit when creating a deployment
funds - Deployment.Funds
Enclosing class:
Deployment

public static record Deployment.EscrowAccount(Deployment.Id id, String owner, String state, Deployment.Balance balance, Deployment.Transferred transferred, String settledAt, String depositor, Deployment.Funds funds) extends Record
Escrow accounts are a mechanism that allow for time-based payments from one account to another without block-by-block micropayments. They also support holding funds for an account until an arbitrary event occurs. More on ...
  • Constructor Details

  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • id

      public Deployment.Id id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • owner

      public String owner()
      Returns the value of the owner record component.
      Returns:
      the value of the owner record component
    • state

      public String state()
      Returns the value of the state record component.
      Returns:
      the value of the state record component
    • balance

      public Deployment.Balance balance()
      Returns the value of the balance record component.
      Returns:
      the value of the balance record component
    • transferred

      public Deployment.Transferred transferred()
      Returns the value of the transferred record component.
      Returns:
      the value of the transferred record component
    • settledAt

      public String settledAt()
      Returns the value of the settledAt record component.
      Returns:
      the value of the settledAt record component
    • depositor

      public String depositor()
      Returns the value of the depositor record component.
      Returns:
      the value of the depositor record component
    • funds

      public Deployment.Funds funds()
      Returns the value of the funds record component.
      Returns:
      the value of the funds record component