Class TokenizationMintCallback

java.lang.Object
markets.alpaca.client.openapi.broker.model.TokenizationMintCallback
All Implemented Interfaces:
Serializable

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.23.0") public class TokenizationMintCallback extends Object implements Serializable
TokenizationMintCallback
See Also:
  • Field Details

  • Constructor Details

    • TokenizationMintCallback

      public TokenizationMintCallback()
  • Method Details

    • accountId

      public TokenizationMintCallback accountId(@Nullable UUID accountId)
    • getAccountId

      @Nullable public UUID getAccountId()
      Alpaca account ID (UUID) of the Authorized Participant. Exactly one of `client_id` or `account_id` must be provided, matching the identifier used on the original mint request.
      Returns:
      accountId
    • setAccountId

      public void setAccountId(@Nullable UUID accountId)
    • clientId

      public TokenizationMintCallback clientId(@Nullable String clientId)
    • getClientId

      @Nullable public String getClientId()
      Customer's client identifier on the issuer's platform. Exactly one of `client_id` or `account_id` must be provided, matching the identifier used on the original mint request.
      Returns:
      clientId
    • setClientId

      public void setClientId(@Nullable String clientId)
    • network

      public TokenizationMintCallback network(@Nullable TokenizationNetwork network)
    • getNetwork

      @Nullable public TokenizationNetwork getNetwork()
      Get network
      Returns:
      network
    • setNetwork

      public void setNetwork(@Nullable TokenizationNetwork network)
    • tokenizationRequestId

      public TokenizationMintCallback tokenizationRequestId(@Nonnull UUID tokenizationRequestId)
    • getTokenizationRequestId

      @Nonnull public UUID getTokenizationRequestId()
      Unique identifier of the tokenization request
      Returns:
      tokenizationRequestId
    • setTokenizationRequestId

      public void setTokenizationRequestId(@Nonnull UUID tokenizationRequestId)
    • txHash

      public TokenizationMintCallback txHash(@Nonnull String txHash)
    • getTxHash

      @Nonnull public String getTxHash()
      Transaction hash of the completed request on the blockchain
      Returns:
      txHash
    • setTxHash

      public void setTxHash(@Nonnull String txHash)
    • walletAddress

      public TokenizationMintCallback walletAddress(@Nullable String walletAddress)
    • getWalletAddress

      @Nullable public String getWalletAddress()
      The wallet address to receive the tokenized asset
      Returns:
      walletAddress
    • setWalletAddress

      public void setWalletAddress(@Nullable String walletAddress)
    • putAdditionalProperty

      public TokenizationMintCallback putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - name of the property
      value - value of the property
      Returns:
      the TokenizationMintCallback instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • 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 TokenizationMintCallback
    • fromJson

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

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