Updated on 2026-08-14
This commit is contained in:
parent
2ff236ef2f
commit
2a5a05fe83
5 changed files with 20 additions and 8 deletions
|
|
@ -79,8 +79,11 @@ data class ExchangeItemResponse(
|
|||
val createdAt: String,
|
||||
|
||||
/** Transaction last-update timestamp in ISO-8601 format */
|
||||
// todo txHistory uncomment
|
||||
/*
|
||||
@Json(name = "updatedAt")
|
||||
val updatedAt: String,
|
||||
*/
|
||||
|
||||
/** Pay-in expiration timestamp in ISO-8601 format */
|
||||
@Json(name = "payTill")
|
||||
|
|
|
|||
|
|
@ -44,8 +44,11 @@ data class OnrampItemResponse(
|
|||
val createdAt: String,
|
||||
|
||||
/** Transaction last-update timestamp in ISO-8601 format */
|
||||
// todo txHistory uncomment
|
||||
/*
|
||||
@Json(name = "updatedAt")
|
||||
val updatedAt: String,
|
||||
*/
|
||||
// endregion
|
||||
|
||||
// region fromAsset (fiat) info
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ fun ExchangeItemResponse.toEntity(ownerAddress: String): ExpressExchangeEntity {
|
|||
refundNetwork = refundNetwork,
|
||||
refundContractAddress = refundContractAddress,
|
||||
createdAt = createdAt,
|
||||
updatedAt = updatedAt,
|
||||
updatedAt = ""/*updatedAt*/, // todo txHistory uncomment
|
||||
payTill = payTill,
|
||||
averageDuration = averageDuration,
|
||||
from = ExpressExchangeEntity.AssetEmbedded(
|
||||
|
|
@ -62,7 +62,7 @@ fun OnrampItemResponse.toEntity(ownerAddress: String): ExpressOnrampEntity {
|
|||
externalTxUrl = externalTxUrl,
|
||||
payoutHash = payoutHash,
|
||||
createdAt = createdAt,
|
||||
updatedAt = updatedAt,
|
||||
updatedAt = ""/*updatedAt*/, // todo txHistory uncomment,
|
||||
fromCurrencyCode = fromCurrencyCode,
|
||||
fromAmount = fromAmount,
|
||||
fromPrecision = fromPrecision,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue