Class TokenizationRequest
java.lang.Object
markets.alpaca.client.openapi.trading.model.TokenizationRequest
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class TokenizationRequest
extends Object
implements Serializable
TokenizationRequest
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedAt(OffsetDateTime createdAt) booleanstatic TokenizationRequestCreate an instance of TokenizationRequest given an JSON stringAlpaca account ID associated with this tokenization requestReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get createdAtgetFees()Fees charged for this tokenization requestGet issuerIssuer's account ID associated with this tokenization requestUnique identifier of the tokenization request set by the issuerGet networkgetQty()The quantity to convert for this tokenization request.Get statusUnique identifier of the tokenization request set by AlpacaThe tokenized asset symbolTransaction hash of the completed request on the blockchaingetType()Get typeThe underlying asset symbolGet updatedAtThe wallet address associated with this tokenization requestinthashCode()issuer(TokenizationIssuer issuer) issuerAccount(String issuerAccount) issuerRequestId(String issuerRequestId) network(TokenizationNetwork network) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAccount(String account) voidsetCreatedAt(OffsetDateTime createdAt) voidvoidsetIssuer(TokenizationIssuer issuer) voidsetIssuerAccount(String issuerAccount) voidsetIssuerRequestId(String issuerRequestId) voidsetNetwork(TokenizationNetwork network) voidvoidsetStatus(TokenizationRequestStatus status) voidsetTokenizationRequestId(String tokenizationRequestId) voidsetTokenSymbol(String tokenSymbol) voidvoidvoidsetUnderlyingSymbol(String underlyingSymbol) voidsetUpdatedAt(OffsetDateTime updatedAt) voidsetWalletAddress(String walletAddress) status(TokenizationRequestStatus status) toJson()Convert an instance of TokenizationRequest to an JSON stringtokenizationRequestId(String tokenizationRequestId) tokenSymbol(String tokenSymbol) toString()type(TokenizationRequestType type) underlyingSymbol(String underlyingSymbol) updatedAt(OffsetDateTime updatedAt) 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
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_FEES
- See Also:
-
SERIALIZED_NAME_ISSUER
- See Also:
-
SERIALIZED_NAME_ISSUER_ACCOUNT
- See Also:
-
SERIALIZED_NAME_ISSUER_REQUEST_ID
- See Also:
-
SERIALIZED_NAME_NETWORK
- See Also:
-
SERIALIZED_NAME_QTY
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_TOKEN_SYMBOL
- See Also:
-
SERIALIZED_NAME_TOKENIZATION_REQUEST_ID
- See Also:
-
SERIALIZED_NAME_TX_HASH
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_UNDERLYING_SYMBOL
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
SERIALIZED_NAME_WALLET_ADDRESS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
TokenizationRequest
public TokenizationRequest()
-
-
Method Details
-
account
-
getAccount
Alpaca account ID associated with this tokenization request- Returns:
- account
-
setAccount
-
createdAt
-
getCreatedAt
Get createdAt- Returns:
- createdAt
-
setCreatedAt
-
fees
-
getFees
Fees charged for this tokenization request- Returns:
- fees
-
setFees
-
issuer
-
getIssuer
Get issuer- Returns:
- issuer
-
setIssuer
-
issuerAccount
-
getIssuerAccount
Issuer's account ID associated with this tokenization request- Returns:
- issuerAccount
-
setIssuerAccount
-
issuerRequestId
-
getIssuerRequestId
Unique identifier of the tokenization request set by the issuer- Returns:
- issuerRequestId
-
setIssuerRequestId
-
network
-
getNetwork
Get network- Returns:
- network
-
setNetwork
-
qty
-
getQty
The quantity to convert for this tokenization request. It can be fractional.- Returns:
- qty
-
setQty
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
tokenSymbol
-
getTokenSymbol
The tokenized asset symbol- Returns:
- tokenSymbol
-
setTokenSymbol
-
tokenizationRequestId
-
getTokenizationRequestId
Unique identifier of the tokenization request set by Alpaca- Returns:
- tokenizationRequestId
-
setTokenizationRequestId
-
txHash
-
getTxHash
Transaction hash of the completed request on the blockchain- Returns:
- txHash
-
setTxHash
-
type
-
getType
Get type- Returns:
- type
-
setType
-
underlyingSymbol
-
getUnderlyingSymbol
The underlying asset symbol- Returns:
- underlyingSymbol
-
setUnderlyingSymbol
-
updatedAt
-
getUpdatedAt
Get updatedAt- Returns:
- updatedAt
-
setUpdatedAt
-
walletAddress
-
getWalletAddress
The wallet address associated with this tokenization request- 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 TokenizationRequest 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 TokenizationRequest
-
fromJson
Create an instance of TokenizationRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TokenizationRequest
- Throws:
IOException- if the JSON string is invalid with respect to TokenizationRequest
-
toJson
Convert an instance of TokenizationRequest to an JSON string- Returns:
- JSON string
-