Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,15 @@ import java.net.URI
import java.time.LocalDateTime

inline fun <reified T : Any> typeRef(): ParameterizedTypeReference<T> = object : ParameterizedTypeReference<T>() {}
data class TransferResult(
val date: Long,
val sourceBalanceBeforeAction: Amount,
val sourceBalanceAfterAction: Amount,
val amount: Amount
data class TransferResult(val date: Long
, val sourceUuid: String
, val sourceWalletType: String
, val sourceBalanceBeforeAction: Amount
, val sourceBalanceAfterAction: Amount
, val amount: Amount
, val destUuid: String
, val destWalletType: String
, val receivedAmount: Amount
)

data class Amount(val currency: Currency, val amount: BigDecimal)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ class ExtendedEventListenerProvider(private val session: KeycloakSession) : Even
val username: String,
val enabled: Boolean,
val emailVerified: Boolean,
val firstName: String,
val lastName: String,
val firstName: String?,
val lastName: String?,
val email: String
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ package co.nilin.opex.auth.gateway.model

class UserCreatedEvent: AuthEvent {
lateinit var uuid: String
lateinit var firstName: String
lateinit var lastName: String
var firstName: String? = null
var lastName: String? = null
lateinit var email: String


constructor(uuid: String, firstName: String, lastName: String, email: String) : super() {
constructor(uuid: String, firstName: String?, lastName: String?, email: String) : super() {
this.uuid = uuid
this.firstName = firstName
this.lastName = lastName
Expand Down
Loading