Name | Type | Description | Notes |
---|---|---|---|
TransactionId | string | The transaction ID. | |
CoboId | Pointer to string | The Cobo ID, which can be used to track a transaction. | [optional] |
RequestId | Pointer to string | The request ID that is used to track a transaction request. The request ID is provided by you and must be unique within your organization. | [optional] |
WalletId | string | For deposit transactions, this property represents the wallet ID of the transaction destination. For transactions of other types, this property represents the wallet ID of the transaction source. | |
Type | Pointer to TransactionType | [optional] | |
Status | TransactionStatus | ||
SubStatus | Pointer to TransactionSubStatus | [optional] | |
FailedReason | Pointer to string | (This property is applicable to approval failures and signature failures only) The reason why the transaction failed. | [optional] |
ChainId | Pointer to string | The chain ID, which is the unique identifier of a blockchain. You can retrieve the IDs of all the chains you can use by calling List enabled chains. | [optional] |
TokenId | Pointer to string | The token ID, which is the unique identifier of a token. You can retrieve the IDs of all the tokens you can use by calling List enabled tokens. | [optional] |
AssetId | Pointer to string | (This concept applies to Exchange Wallets only) The asset ID. An asset ID is the unique identifier of the asset held within your linked exchange account. | [optional] |
Source | TransactionSource | ||
Destination | TransactionDestination | ||
Result | Pointer to TransactionResult | [optional] | |
Fee | Pointer to TransactionFee | [optional] | |
Initiator | Pointer to string | The transaction initiator. | [optional] |
InitiatorType | TransactionInitiatorType | ||
ConfirmedNum | Pointer to int32 | The number of confirmations this transaction has received. | [optional] |
ConfirmingThreshold | Pointer to int32 | The minimum number of confirmations required to deem a transaction secure. The common threshold is 6 for a Bitcoin transaction. | [optional] |
TransactionHash | Pointer to string | The transaction hash. | [optional] |
BlockInfo | Pointer to TransactionBlockInfo | [optional] | |
RawTxInfo | Pointer to TransactionRawTxInfo | [optional] | |
Replacement | Pointer to TransactionReplacement | [optional] | |
Category | Pointer to []string | A custom transaction category for you to identify your transfers more easily. | [optional] |
Description | Pointer to string | The description for your transaction. | [optional] |
IsLoop | Pointer to bool | Whether the transaction was executed as a Cobo Loop transfer. - `true`: The transaction was executed as a Cobo Loop transfer. - `false`: The transaction was not executed as a Cobo Loop transfer. | [optional] |
CreatedTimestamp | Pointer to int64 | The time when the transaction was created, in Unix timestamp format, measured in milliseconds. | [optional] |
UpdatedTimestamp | Pointer to int64 | The time when the transaction was updated, in Unix timestamp format, measured in milliseconds. | [optional] |
func NewTransaction(transactionId string, walletId string, status TransactionStatus, source TransactionSource, destination TransactionDestination, initiatorType TransactionInitiatorType, ) *Transaction
NewTransaction instantiates a new Transaction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTransactionWithDefaults() *Transaction
NewTransactionWithDefaults instantiates a new Transaction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *Transaction) GetTransactionId() string
GetTransactionId returns the TransactionId field if non-nil, zero value otherwise.
func (o *Transaction) GetTransactionIdOk() (*string, bool)
GetTransactionIdOk returns a tuple with the TransactionId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Transaction) SetTransactionId(v string)
SetTransactionId sets TransactionId field to given value.
func (o *Transaction) GetCoboId() string
GetCoboId returns the CoboId field if non-nil, zero value otherwise.
func (o *Transaction) GetCoboIdOk() (*string, bool)
GetCoboIdOk returns a tuple with the CoboId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Transaction) SetCoboId(v string)
SetCoboId sets CoboId field to given value.
func (o *Transaction) HasCoboId() bool
HasCoboId returns a boolean if a field has been set.
func (o *Transaction) GetRequestId() string
GetRequestId returns the RequestId field if non-nil, zero value otherwise.
func (o *Transaction) GetRequestIdOk() (*string, bool)
GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Transaction) SetRequestId(v string)
SetRequestId sets RequestId field to given value.
func (o *Transaction) HasRequestId() bool
HasRequestId returns a boolean if a field has been set.
func (o *Transaction) GetWalletId() string
GetWalletId returns the WalletId field if non-nil, zero value otherwise.
func (o *Transaction) GetWalletIdOk() (*string, bool)
GetWalletIdOk returns a tuple with the WalletId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Transaction) SetWalletId(v string)
SetWalletId sets WalletId field to given value.
func (o *Transaction) GetType() TransactionType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *Transaction) GetTypeOk() (*TransactionType, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Transaction) SetType(v TransactionType)
SetType sets Type field to given value.
func (o *Transaction) HasType() bool
HasType returns a boolean if a field has been set.
func (o *Transaction) GetStatus() TransactionStatus
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *Transaction) GetStatusOk() (*TransactionStatus, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Transaction) SetStatus(v TransactionStatus)
SetStatus sets Status field to given value.
func (o *Transaction) GetSubStatus() TransactionSubStatus
GetSubStatus returns the SubStatus field if non-nil, zero value otherwise.
func (o *Transaction) GetSubStatusOk() (*TransactionSubStatus, bool)
GetSubStatusOk returns a tuple with the SubStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Transaction) SetSubStatus(v TransactionSubStatus)
SetSubStatus sets SubStatus field to given value.
func (o *Transaction) HasSubStatus() bool
HasSubStatus returns a boolean if a field has been set.
func (o *Transaction) GetFailedReason() string
GetFailedReason returns the FailedReason field if non-nil, zero value otherwise.
func (o *Transaction) GetFailedReasonOk() (*string, bool)
GetFailedReasonOk returns a tuple with the FailedReason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Transaction) SetFailedReason(v string)
SetFailedReason sets FailedReason field to given value.
func (o *Transaction) HasFailedReason() bool
HasFailedReason returns a boolean if a field has been set.
func (o *Transaction) GetChainId() string
GetChainId returns the ChainId field if non-nil, zero value otherwise.
func (o *Transaction) GetChainIdOk() (*string, bool)
GetChainIdOk returns a tuple with the ChainId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Transaction) SetChainId(v string)
SetChainId sets ChainId field to given value.
func (o *Transaction) HasChainId() bool
HasChainId returns a boolean if a field has been set.
func (o *Transaction) GetTokenId() string
GetTokenId returns the TokenId field if non-nil, zero value otherwise.
func (o *Transaction) GetTokenIdOk() (*string, bool)
GetTokenIdOk returns a tuple with the TokenId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Transaction) SetTokenId(v string)
SetTokenId sets TokenId field to given value.
func (o *Transaction) HasTokenId() bool
HasTokenId returns a boolean if a field has been set.
func (o *Transaction) GetAssetId() string
GetAssetId returns the AssetId field if non-nil, zero value otherwise.
func (o *Transaction) GetAssetIdOk() (*string, bool)
GetAssetIdOk returns a tuple with the AssetId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Transaction) SetAssetId(v string)
SetAssetId sets AssetId field to given value.
func (o *Transaction) HasAssetId() bool
HasAssetId returns a boolean if a field has been set.
func (o *Transaction) GetSource() TransactionSource
GetSource returns the Source field if non-nil, zero value otherwise.
func (o *Transaction) GetSourceOk() (*TransactionSource, bool)
GetSourceOk returns a tuple with the Source field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Transaction) SetSource(v TransactionSource)
SetSource sets Source field to given value.
func (o *Transaction) GetDestination() TransactionDestination
GetDestination returns the Destination field if non-nil, zero value otherwise.
func (o *Transaction) GetDestinationOk() (*TransactionDestination, bool)
GetDestinationOk returns a tuple with the Destination field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Transaction) SetDestination(v TransactionDestination)
SetDestination sets Destination field to given value.
func (o *Transaction) GetResult() TransactionResult
GetResult returns the Result field if non-nil, zero value otherwise.
func (o *Transaction) GetResultOk() (*TransactionResult, bool)
GetResultOk returns a tuple with the Result field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Transaction) SetResult(v TransactionResult)
SetResult sets Result field to given value.
func (o *Transaction) HasResult() bool
HasResult returns a boolean if a field has been set.
func (o *Transaction) GetFee() TransactionFee
GetFee returns the Fee field if non-nil, zero value otherwise.
func (o *Transaction) GetFeeOk() (*TransactionFee, bool)
GetFeeOk returns a tuple with the Fee field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Transaction) SetFee(v TransactionFee)
SetFee sets Fee field to given value.
func (o *Transaction) HasFee() bool
HasFee returns a boolean if a field has been set.
func (o *Transaction) GetInitiator() string
GetInitiator returns the Initiator field if non-nil, zero value otherwise.
func (o *Transaction) GetInitiatorOk() (*string, bool)
GetInitiatorOk returns a tuple with the Initiator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Transaction) SetInitiator(v string)
SetInitiator sets Initiator field to given value.
func (o *Transaction) HasInitiator() bool
HasInitiator returns a boolean if a field has been set.
func (o *Transaction) GetInitiatorType() TransactionInitiatorType
GetInitiatorType returns the InitiatorType field if non-nil, zero value otherwise.
func (o *Transaction) GetInitiatorTypeOk() (*TransactionInitiatorType, bool)
GetInitiatorTypeOk returns a tuple with the InitiatorType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Transaction) SetInitiatorType(v TransactionInitiatorType)
SetInitiatorType sets InitiatorType field to given value.
func (o *Transaction) GetConfirmedNum() int32
GetConfirmedNum returns the ConfirmedNum field if non-nil, zero value otherwise.
func (o *Transaction) GetConfirmedNumOk() (*int32, bool)
GetConfirmedNumOk returns a tuple with the ConfirmedNum field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Transaction) SetConfirmedNum(v int32)
SetConfirmedNum sets ConfirmedNum field to given value.
func (o *Transaction) HasConfirmedNum() bool
HasConfirmedNum returns a boolean if a field has been set.
func (o *Transaction) GetConfirmingThreshold() int32
GetConfirmingThreshold returns the ConfirmingThreshold field if non-nil, zero value otherwise.
func (o *Transaction) GetConfirmingThresholdOk() (*int32, bool)
GetConfirmingThresholdOk returns a tuple with the ConfirmingThreshold field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Transaction) SetConfirmingThreshold(v int32)
SetConfirmingThreshold sets ConfirmingThreshold field to given value.
func (o *Transaction) HasConfirmingThreshold() bool
HasConfirmingThreshold returns a boolean if a field has been set.
func (o *Transaction) GetTransactionHash() string
GetTransactionHash returns the TransactionHash field if non-nil, zero value otherwise.
func (o *Transaction) GetTransactionHashOk() (*string, bool)
GetTransactionHashOk returns a tuple with the TransactionHash field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Transaction) SetTransactionHash(v string)
SetTransactionHash sets TransactionHash field to given value.
func (o *Transaction) HasTransactionHash() bool
HasTransactionHash returns a boolean if a field has been set.
func (o *Transaction) GetBlockInfo() TransactionBlockInfo
GetBlockInfo returns the BlockInfo field if non-nil, zero value otherwise.
func (o *Transaction) GetBlockInfoOk() (*TransactionBlockInfo, bool)
GetBlockInfoOk returns a tuple with the BlockInfo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Transaction) SetBlockInfo(v TransactionBlockInfo)
SetBlockInfo sets BlockInfo field to given value.
func (o *Transaction) HasBlockInfo() bool
HasBlockInfo returns a boolean if a field has been set.
func (o *Transaction) GetRawTxInfo() TransactionRawTxInfo
GetRawTxInfo returns the RawTxInfo field if non-nil, zero value otherwise.
func (o *Transaction) GetRawTxInfoOk() (*TransactionRawTxInfo, bool)
GetRawTxInfoOk returns a tuple with the RawTxInfo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Transaction) SetRawTxInfo(v TransactionRawTxInfo)
SetRawTxInfo sets RawTxInfo field to given value.
func (o *Transaction) HasRawTxInfo() bool
HasRawTxInfo returns a boolean if a field has been set.
func (o *Transaction) GetReplacement() TransactionReplacement
GetReplacement returns the Replacement field if non-nil, zero value otherwise.
func (o *Transaction) GetReplacementOk() (*TransactionReplacement, bool)
GetReplacementOk returns a tuple with the Replacement field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Transaction) SetReplacement(v TransactionReplacement)
SetReplacement sets Replacement field to given value.
func (o *Transaction) HasReplacement() bool
HasReplacement returns a boolean if a field has been set.
func (o *Transaction) GetCategory() []string
GetCategory returns the Category field if non-nil, zero value otherwise.
func (o *Transaction) GetCategoryOk() (*[]string, bool)
GetCategoryOk returns a tuple with the Category field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Transaction) SetCategory(v []string)
SetCategory sets Category field to given value.
func (o *Transaction) HasCategory() bool
HasCategory returns a boolean if a field has been set.
func (o *Transaction) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *Transaction) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Transaction) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *Transaction) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *Transaction) GetIsLoop() bool
GetIsLoop returns the IsLoop field if non-nil, zero value otherwise.
func (o *Transaction) GetIsLoopOk() (*bool, bool)
GetIsLoopOk returns a tuple with the IsLoop field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Transaction) SetIsLoop(v bool)
SetIsLoop sets IsLoop field to given value.
func (o *Transaction) HasIsLoop() bool
HasIsLoop returns a boolean if a field has been set.
func (o *Transaction) GetCreatedTimestamp() int64
GetCreatedTimestamp returns the CreatedTimestamp field if non-nil, zero value otherwise.
func (o *Transaction) GetCreatedTimestampOk() (*int64, bool)
GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Transaction) SetCreatedTimestamp(v int64)
SetCreatedTimestamp sets CreatedTimestamp field to given value.
func (o *Transaction) HasCreatedTimestamp() bool
HasCreatedTimestamp returns a boolean if a field has been set.
func (o *Transaction) GetUpdatedTimestamp() int64
GetUpdatedTimestamp returns the UpdatedTimestamp field if non-nil, zero value otherwise.
func (o *Transaction) GetUpdatedTimestampOk() (*int64, bool)
GetUpdatedTimestampOk returns a tuple with the UpdatedTimestamp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Transaction) SetUpdatedTimestamp(v int64)
SetUpdatedTimestamp sets UpdatedTimestamp field to given value.
func (o *Transaction) HasUpdatedTimestamp() bool
HasUpdatedTimestamp returns a boolean if a field has been set.