QuoteDetailsModel

@Serializable
data class QuoteDetailsModel(val quoteUuid: String, val exchangeRate: String, val sendAmount: Long, val currencyString: String, val currency: CurrencyModel? = currencyString.getEnum<CurrencyModel>(), val transactionCost: Long, val expiresAt: String, val quoteServiceFees: List<QuoteServiceFeeModel> = emptyList())

Quote Details.

Constructors

Link copied to clipboard
constructor(quoteUuid: String, exchangeRate: String, sendAmount: Long, currencyString: String, currency: CurrencyModel? = currencyString.getEnum<CurrencyModel>(), transactionCost: Long, expiresAt: String, quoteServiceFees: List<QuoteServiceFeeModel> = emptyList())

Properties

Link copied to clipboard
@Transient
val currency: CurrencyModel?

Quote destination currency (ISO-4217 format). Check currencyString if null.

Link copied to clipboard
@SerialName(value = "currency")
val currencyString: String

Quote destination currency (ISO-4217 format)

Link copied to clipboard
@SerialName(value = "exchange_rate")
val exchangeRate: String

Quote exchange rate

Link copied to clipboard
@SerialName(value = "expires_at")
val expiresAt: String

Quote expire date/time.

Link copied to clipboard
@SerialName(value = "service_fees_values")
val quoteServiceFees: List<QuoteServiceFeeModel>

Quote service fees

Link copied to clipboard
@SerialName(value = "quote_uuid")
val quoteUuid: String

Quote unique identifier

Link copied to clipboard
@SerialName(value = "send_amount")
val sendAmount: Long

Amount that will be received by the beneficiary of the transaction

Link copied to clipboard
@SerialName(value = "transaction_cost")
val transactionCost: Long

Transaction cost to be paid by the consumer, in cents (1USD = 100).