Package com.alviere.android.remit.sdk.model.client.response

Types

Link copied to clipboard
data class BeneficiaryDetailsModel(    @Json(name = "beneficiary_uuid") val beneficiaryUuid: String,     @Json(name = "external_id") val externalId: String,     @Json(name = "type") val typeString: String,     @Json(ignore = true) val type: BeneficiaryTypeModel? = typeString.getEnum<BeneficiaryTypeModel>(),     @Json(name = "status") val statusString: String,     @Json(ignore = true) val status: BeneficiaryStatusModel? = statusString.getEnum<BeneficiaryStatusModel>(),     @Json(name = "status_reason") val statusReason: String? = null,     @Json(name = "country") var country: String,     @Json(name = "first_name") var firstName: String,     @Json(name = "last_name") var lastName: String,     @Json(name = "date_of_birth") val dateOfBirth: String? = null,     @Json(name = "currency") var currencyString: String,     @Json(ignore = true) var currency: CurrencyModel? = currencyString.getEnum<CurrencyModel>(),     @Json(name = "address") val address: BeneficiaryAddressModel? = null,     @Json(name = "bank_account_details") val bankAccountDetails: BankAccountDetailsModel? = null,     @Json(name = "created_at") val createdAt: String,     @Json(name = "updated_at") val updatedAt: String)

Beneficiary account details.

Link copied to clipboard
data class QuoteDetailsModel(    @Json(name = "quote_uuid") val quoteUuid: String,     @Json(name = "exchange_rate") val exchangeRate: String,     @Json(name = "send_amount") val sendAmount: Int,     @Json(name = "currency") val currencyString: String,     @Json(ignore = true) val currency: CurrencyModel? = currencyString.getEnum<CurrencyModel>(),     @Json(name = "transaction_cost") val transactionCost: Int,     @Json(name = "expires_at") val expiresAt: String,     @Json(name = "service_fees_values") var quoteServiceFees: List<QuoteServiceFeeModel>? = null)

Quote Details.

Link copied to clipboard
data class QuoteServiceFeeModel(    @Json(name = "external_id") val externalId: String? = null,     @Json(name = "description") val description: String,     @Json(name = "value") val value: Int)

Quote Service fees.

Link copied to clipboard
data class RemittanceModel(@Json(name = "transaction") val remittanceTransaction: RemittanceTransactionModel? = null, @Json(name = "validation") val validation: ValidationModel? = null)

Issued Remittance Transaction.

Link copied to clipboard
data class RemittanceTransactionModel(    @Json(name = "transaction_uuid") val transactionUuid: String,     @Json(name = "parent_transaction_uuid") val parentTransactionUuid: String? = null,     @Json(name = "wallet_uuid") val walletUuid: String,     @Json(name = "external_id") val externalId: String,     @Json(name = "beneficiary_uuid") val beneficiaryUuid: String? = null,     @Json(name = "transaction_type") val transactionTypeString: String,     @Json(ignore = true) val transactionType: RemittanceTransactionTypeModel? = transactionTypeString.getEnum<RemittanceTransactionTypeModel>(),     @Json(name = "status") val statusString: String,     @Json(ignore = true) val status: RemittanceTransactionStatusModel? = statusString.getEnum<RemittanceTransactionStatusModel>(),     @Json(name = "status_reason") val statusReason: String? = null,     @Json(name = "description") val description: String? = null,     @Json(name = "amount") val amount: Int,     @Json(name = "currency") val currencyString: String,     @Json(ignore = true) val currency: CurrencyModel? = currencyString.getEnum<CurrencyModel>(),     @Json(name = "type_details") val typeDetails: TypeDetailsModel? = null,     @Json(name = "funds_source") val fundsSource: FundsSourceModel? = null,     @Json(name = "refunded") val refunded: Boolean = false,     @Json(name = "created_at") val createdAt: String,     @Json(name = "updated_at") val updatedAt: String,     @Json(name = "transaction_options") val transactionOptions: TransactionOptionsModel? = null,     @Json(name = "metadata") val metadata: Map<String, Any>? = null)

Remittance Transaction.