Class TrustTokenOperationDone

java.lang.Object
io.webfolder.cdp.event.network.TrustTokenOperationDone

public class TrustTokenOperationDone extends Object
Fired exactly once for each Trust Token operation Depending on the type of the operation and whether the operation succeeded or failed, the event is fired before the corresponding request was sent or after the response was received
  • Constructor Details

    • TrustTokenOperationDone

      public TrustTokenOperationDone()
  • Method Details

    • getStatus

      public TrustTokenStatus getStatus()
      Detailed success or error status of the operation. 'AlreadyExists' also signifies a successful operation, as the result of the operation already exists und thus, the operation was abort preemptively (e.g. a cache hit).
    • setStatus

      public void setStatus(TrustTokenStatus status)
      Detailed success or error status of the operation. 'AlreadyExists' also signifies a successful operation, as the result of the operation already exists und thus, the operation was abort preemptively (e.g. a cache hit).
    • getType

      public TrustTokenOperationType getType()
    • setType

      public void setType(TrustTokenOperationType type)
    • getRequestId

      public String getRequestId()
    • setRequestId

      public void setRequestId(String requestId)
    • getTopLevelOrigin

      public String getTopLevelOrigin()
      Top level origin. The context in which the operation was attempted.
    • setTopLevelOrigin

      public void setTopLevelOrigin(String topLevelOrigin)
      Top level origin. The context in which the operation was attempted.
    • getIssuerOrigin

      public String getIssuerOrigin()
      Origin of the issuer in case of a "Issuance" or "Redemption" operation.
    • setIssuerOrigin

      public void setIssuerOrigin(String issuerOrigin)
      Origin of the issuer in case of a "Issuance" or "Redemption" operation.
    • getIssuedTokenCount

      public Integer getIssuedTokenCount()
      The number of obtained Trust Tokens on a successful "Issuance" operation.
    • setIssuedTokenCount

      public void setIssuedTokenCount(Integer issuedTokenCount)
      The number of obtained Trust Tokens on a successful "Issuance" operation.