Class TokenizationRedeemRequest
java.lang.Object
markets.alpaca.client.openapi.broker.model.TokenizationRedeemRequest
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class TokenizationRedeemRequest
extends Object
implements Serializable
TokenizationRedeemRequest
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic TokenizationRedeemRequestCreate an instance of TokenizationRedeemRequest given an JSON stringAlpaca account ID (UUID) of the Authorized Participant.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Customer's client identifier on the issuer's platform.Unique identifier of the redemption request set by the issuerGet networkgetQty()The quantity to convert into the underlying asset.The tokenized asset symbolTransaction hash of the completed request on the blockchainThe underlying asset symbolThe address where the redeemed tokens were originally heldinthashCode()issuerRequestId(String issuerRequestId) network(TokenizationNetwork network) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAccountId(UUID accountId) voidsetClientId(String clientId) voidsetIssuerRequestId(String issuerRequestId) voidsetNetwork(TokenizationNetwork network) voidvoidsetTokenSymbol(String tokenSymbol) voidvoidsetUnderlyingSymbol(String underlyingSymbol) voidsetWalletAddress(String walletAddress) toJson()Convert an instance of TokenizationRedeemRequest to an JSON stringtokenSymbol(String tokenSymbol) toString()underlyingSymbol(String underlyingSymbol) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues foundwalletAddress(String walletAddress)
-
Field Details
-
SERIALIZED_NAME_ACCOUNT_ID
- See Also:
-
SERIALIZED_NAME_CLIENT_ID
- See Also:
-
SERIALIZED_NAME_ISSUER_REQUEST_ID
- See Also:
-
SERIALIZED_NAME_NETWORK
- See Also:
-
SERIALIZED_NAME_QTY
- See Also:
-
SERIALIZED_NAME_TOKEN_SYMBOL
- See Also:
-
SERIALIZED_NAME_TX_HASH
- See Also:
-
SERIALIZED_NAME_UNDERLYING_SYMBOL
- See Also:
-
SERIALIZED_NAME_WALLET_ADDRESS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
TokenizationRedeemRequest
public TokenizationRedeemRequest()
-
-
Method Details
-
accountId
-
getAccountId
Alpaca account ID (UUID) of the Authorized Participant. Exactly one of `client_id` or `account_id` must be provided to identify the Authorized Participant whose account will receive the underlying asset.- Returns:
- accountId
-
setAccountId
-
clientId
-
getClientId
Customer's client identifier on the issuer's platform. Exactly one of `client_id` or `account_id` must be provided to identify the Authorized Participant whose account will receive the underlying asset.- Returns:
- clientId
-
setClientId
-
issuerRequestId
-
getIssuerRequestId
Unique identifier of the redemption request set by the issuer- Returns:
- issuerRequestId
-
setIssuerRequestId
-
network
-
getNetwork
Get network- Returns:
- network
-
setNetwork
-
qty
-
getQty
The quantity to convert into the underlying asset. It can be fractional.- Returns:
- qty
-
setQty
-
tokenSymbol
-
getTokenSymbol
The tokenized asset symbol- Returns:
- tokenSymbol
-
setTokenSymbol
-
txHash
-
getTxHash
Transaction hash of the completed request on the blockchain- Returns:
- txHash
-
setTxHash
-
underlyingSymbol
-
getUnderlyingSymbol
The underlying asset symbol- Returns:
- underlyingSymbol
-
setUnderlyingSymbol
-
walletAddress
-
getWalletAddress
The address where the redeemed tokens were originally held- Returns:
- walletAddress
-
setWalletAddress
-
putAdditionalProperty
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 propertyvalue- value of the property- Returns:
- the TokenizationRedeemRequest instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
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 TokenizationRedeemRequest
-
fromJson
Create an instance of TokenizationRedeemRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TokenizationRedeemRequest
- Throws:
IOException- if the JSON string is invalid with respect to TokenizationRedeemRequest
-
toJson
Convert an instance of TokenizationRedeemRequest to an JSON string- Returns:
- JSON string
-