Updated on 2026-08-14
This commit is contained in:
parent
edecedf446
commit
d07ea21d77
13 changed files with 441 additions and 88 deletions
|
|
@ -23,9 +23,9 @@ data class VerifyPayIdResponse(
|
|||
val addresses: List<PayIdAddress> = mutableListOf(),
|
||||
val payId: String? = null,
|
||||
) {
|
||||
fun getAddress(): String? {
|
||||
fun getAddressDetails(): PayIdAddressDetails? {
|
||||
return if (addresses.isEmpty()) null
|
||||
else addresses[0].addressDetails.address
|
||||
else addresses[0].addressDetails
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue