Skip to content
Permalink
Browse files

Remove unused code. (#33)

  • Loading branch information...
ming13 authored and adrw committed Oct 1, 2019
1 parent e4cb0c9 commit c09311afaadfde2f1129c96112c3dde90fdb522e
@@ -7,7 +7,7 @@ import kotlin.reflect.KFunction

internal fun Map<String, Mustache?>.asFieldCodesMap() =
mapValues { (_, template: Mustache?) ->
template?.codes?.mapNotNull { it.name }?.toSet() ?: setOf<String>()
template?.codes?.mapNotNull { it.name }?.toSet() ?: setOf()
}

internal fun Map<*, Set<String>>.reduceSet(): Set<String> =
@@ -9,10 +9,3 @@ data class SenderReceipt(
val cancelUrl: String, // TODO: HttpUrl
val deposit_expected_at: Instant
) : DocumentData

val gary50Receipt = SenderReceipt(
recipient = "Gary Winchester",
amount = "$50",
cancelUrl = "https://cash.app/cancel/123",
deposit_expected_at = Instant.parse("2019-05-21T16:02:00.00Z")
)

0 comments on commit c09311a

Please sign in to comment.
You can’t perform that action at this time.