Created
August 17, 2019 21:43
-
-
Save brenden-t-r/2fa02fc686d9d835be10556891c3331c 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
data class CustomPayment<T : TokenType>( | |
override val paymentReference: PaymentReference, | |
override val amount: Amount<T>, | |
override var status: PaymentStatus = PaymentStatus.SENT | |
) : Payment<T> { | |
override fun toString(): String { | |
return "Amount: $amount, Transaction ID: $paymentReference, Status: $status" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment