Last active
February 26, 2020 10:04
-
-
Save annchar/b7b264387f74fe5f9f75fe10d15651c2 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
enum class PaymentEnumNormal { | |
CREDIT_CARD, CASH_BANK, PROMTPAY, NONE | |
} | |
data class CreditCard( | |
val name: String, | |
val number: String, | |
val expiredDate: String, | |
val transferAmount: Double | |
) | |
data class CashBank( | |
val bankCode: String, | |
val bankName: String, | |
val transferAmount: Double | |
) | |
data class Promptpay( | |
val name: String, | |
val citizenId: String, | |
val mobileNumber: String, | |
val transferAmount: Double | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment