Skip to content

Instantly share code, notes, and snippets.

@brenden-t-r
Last active August 18, 2019 16:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brenden-t-r/84648ff2eda7f2c57b4a1c8ebaa6283f to your computer and use it in GitHub Desktop.
Save brenden-t-r/84648ff2eda7f2c57b4a1c8ebaa6283f to your computer and use it in GitHub Desktop.
data class CustomSettlementMethod(
override val accountToPay: String,
override val settlementOracle: Party,
override val paymentFlow: Class<CustomMakeOffLedgerPayment<*>> = CustomMakeOffLedgerPayment::class.java
) : OffLedgerPayment<MakeCustomPayment<*>> {
override fun toString(): String {
return "Pay account $accountToPay and use $settlementOracle as settlement Oracle."
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment