com.coinbase.cdp.types
Method Details
getTransferId
Optional<String> - The ID of the transfer. Required when validateOnly is false.
getStatus
Optional<TransferStatus>
getSource
getTarget
getSourceAmount
Optional<String> - The amount of the source asset that will be transferred out, as a decimal string in standard unit denomination.
getSourceAsset
Optional<Asset> - The asset symbol of the source amount.
getTargetAmount
Optional<String> - The amount of the target asset received, as a decimal string in standard unit denomination. May be omitted in the quoted state if the value cannot be guaranteed; see estimate.targetAmount for the expected value. Populated with the actual executed amount once the transfer completes.
getTargetAsset
Optional<Asset> - The asset symbol of the target amount.
getExchangeRate
Optional<TransferExchangeRate> - Exchange rate information for currency conversion. The rate indicates how much of the target asset is equivalent to one unit of the source asset. May be omitted in the quoted state if the rate cannot be guaranteed; see estimate.exchangeRate for the expected rate. Populated with the actual executed rate once the transfer completes.
getFees
Optional<TransferFees> - The fees associated with this transfer. Different transfer types have different fee structures. May be omitted in the quoted state if the fees cannot be guaranteed; see estimate.fees for the expected fees. Populated with the actual fees once the transfer completes.
getEstimate
Optional<TransferEstimate>
getCompletedAt
Optional<OffsetDateTime> - The date and time the transfer was completed.
getFailureReason
Optional<String> - The reason for failure, if the transfer failed. Only present when status is failed.
getExpiresAt
Optional<OffsetDateTime> - The date and time when this transfer will expire if not executed. Only present for quoted status. A new transfer must be created to obtain an updated quote after expiration. Required when validateOnly is false.
getExecutedAt
Optional<OffsetDateTime> - The date and time the transfer was executed and moved to processing. Only present when status has progressed beyond quoted.
getCreatedAt
Optional<OffsetDateTime> - The date and time the transfer was created. Required when validateOnly is false.
getUpdatedAt
Optional<OffsetDateTime> - The date and time the transfer was last updated. Required when validateOnly is false.
getMetadata
Optional<Metadata>
getDetails
Optional<TransferDetails>
equals
[equals](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals\(java.lang.Object\) "class or interface in java.lang") in class [Object](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html "class or interface in java.lang")
Parameters:
other - Object
Returns:
boolean
getAdditionalProperties
Map<String,Object>
hashCode
[hashCode](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode\(\) "class or interface in java.lang") in class [Object](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html "class or interface in java.lang")
Returns:
int
toString
[toString](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString\(\) "class or interface in java.lang") in class [Object](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html "class or interface in java.lang")
Returns:
String
builder
SourceStage