Record Class PontesPaymentClaimIdentity

java.lang.Object
java.lang.Record
net.finmath.pontes.erc7573.PontesPaymentClaimIdentity
All Implemented Interfaces:
Serializable

public record PontesPaymentClaimIdentity(UUID xvpTransactionId, String domain, BigInteger chainId, String oracleProxy, String receiverContract, BigInteger consumerId, String transactionSha256, String executionKeySha256, Instant timeout) extends Record implements Serializable
Immutable authenticated identity bound to a UUID-level payment claim.
See Also:
  • Constructor Details

    • PontesPaymentClaimIdentity

      public PontesPaymentClaimIdentity(UUID xvpTransactionId, String domain, BigInteger chainId, String oracleProxy, String receiverContract, BigInteger consumerId, String transactionSha256, String executionKeySha256, Instant timeout)
      Creates an instance of a PontesPaymentClaimIdentity record class.
      Parameters:
      xvpTransactionId - the value for the xvpTransactionId record component
      domain - the value for the domain record component
      chainId - the value for the chainId record component
      oracleProxy - the value for the oracleProxy record component
      receiverContract - the value for the receiverContract record component
      consumerId - the value for the consumerId record component
      transactionSha256 - the value for the transactionSha256 record component
      executionKeySha256 - the value for the executionKeySha256 record component
      timeout - the value for the timeout record component
  • Method Details

    • from

      public static PontesPaymentClaimIdentity from(PontesReference reference)
    • 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.
    • xvpTransactionId

      public UUID xvpTransactionId()
      Returns the value of the xvpTransactionId record component.
      Returns:
      the value of the xvpTransactionId record component
    • domain

      public String domain()
      Returns the value of the domain record component.
      Returns:
      the value of the domain record component
    • chainId

      public BigInteger chainId()
      Returns the value of the chainId record component.
      Returns:
      the value of the chainId record component
    • oracleProxy

      public String oracleProxy()
      Returns the value of the oracleProxy record component.
      Returns:
      the value of the oracleProxy record component
    • receiverContract

      public String receiverContract()
      Returns the value of the receiverContract record component.
      Returns:
      the value of the receiverContract record component
    • consumerId

      public BigInteger consumerId()
      Returns the value of the consumerId record component.
      Returns:
      the value of the consumerId record component
    • transactionSha256

      public String transactionSha256()
      Returns the value of the transactionSha256 record component.
      Returns:
      the value of the transactionSha256 record component
    • executionKeySha256

      public String executionKeySha256()
      Returns the value of the executionKeySha256 record component.
      Returns:
      the value of the executionKeySha256 record component
    • timeout

      public Instant timeout()
      Returns the value of the timeout record component.
      Returns:
      the value of the timeout record component