Skip to content

Commit 303c96b

Browse files
committed
Container for provider tokens
1 parent 1c65b1e commit 303c96b

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

settings.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,5 @@ include(":english:urban-word-of-the-day")
4343
include(":english:urban-word-of-the-day:dynamodb")
4444
include(":english:urban-word-of-the-day-formatter")
4545
include(":english:urban-dictionary-daily")
46+
include(":shop:provider")
4647
include(":launchers:lambda")

shop/provider/README.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
= Shop / Provider
2+
3+
Container for https://core.telegram.org/bots/payments#getting-a-token[provider tokens].
4+
Different chats/groups could have different tokens.
5+
It is useful for test purposes: a test group could use test provider (e.g. https://stripe.com/docs/testing[Stripe Test]).

shop/provider/build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
plugins {
2+
kotlin("jvm")
3+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
package by.jprof.telegram.bot.shop.provider
2+
3+
typealias ChatProviderTokens = Map<Long, String>

0 commit comments

Comments
 (0)