Created
March 11, 2022 14:59
-
-
Save Daniel-Jacob/50f035c9304a3ce39a56c70885f9cbfe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@JvmInline | |
value class PaymentMethod(val paymentMethod: String) | |
@JvmInline | |
value class PaymentId(val paymentId: UUID) | |
data class Payment( | |
val paymentId: PaymentId, | |
val paymentMethod: PaymentMethod | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment