Skip to content

Commit 00238f5

Browse files
authored
Add jvm overloads (#91)
* Add Jvm overloads * Some refactoring
1 parent 082df4d commit 00238f5

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

poolakey/src/main/java/ir/cafebazaar/poolakey/Payment.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import ir.cafebazaar.poolakey.thread.PoolakeyThread
2121

2222
class Payment(
2323
context: Context,
24-
private val config: PaymentConfiguration
24+
config: PaymentConfiguration
2525
) {
2626

2727
private val backgroundThread: PoolakeyThread<Runnable> = BackgroundThread()
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package ir.cafebazaar.poolakey.config
22

3-
data class PaymentConfiguration(
3+
data class PaymentConfiguration @JvmOverloads constructor(
44
val localSecurityCheck: SecurityCheck,
55
val shouldSupportSubscription: Boolean = true
6-
)
6+
)

0 commit comments

Comments
 (0)