Updated on 2026-08-14
This commit is contained in:
parent
6d3a1d6e89
commit
99a8c6623b
15 changed files with 328 additions and 171 deletions
|
|
@ -0,0 +1,15 @@
|
|||
package com.tangem.domain.visa.model
|
||||
|
||||
import org.joda.time.DateTime
|
||||
import java.math.BigDecimal
|
||||
|
||||
data class TangemPayTxHistoryItem(
|
||||
val id: String,
|
||||
val date: DateTime?,
|
||||
val amount: BigDecimal?,
|
||||
val merchantName: String?,
|
||||
val status: String?,
|
||||
val currency: String?,
|
||||
) {
|
||||
val timeStampInMillis: Long = date?.millis ?: 0
|
||||
}
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
package com.tangem.domain.tangempay.model
|
||||
|
||||
import com.tangem.domain.visa.model.VisaTxHistoryItem
|
||||
import com.tangem.domain.visa.model.TangemPayTxHistoryItem
|
||||
import com.tangem.pagination.BatchFlow
|
||||
import com.tangem.pagination.BatchingContext
|
||||
|
||||
typealias TangemPayTxHistoryListBatchingContext = BatchingContext<Int, TangemPayTxHistoryListConfig, Nothing>
|
||||
|
||||
typealias TangemPayTxHistoryListBatchFlow = BatchFlow<Int, List<VisaTxHistoryItem>, Nothing>
|
||||
typealias TangemPayTxHistoryListBatchFlow = BatchFlow<Int, List<TangemPayTxHistoryItem>, Nothing>
|
||||
Loading…
Add table
Add a link
Reference in a new issue