diff --git a/poolakey/src/main/java/ir/cafebazaar/poolakey/Payment.kt b/poolakey/src/main/java/ir/cafebazaar/poolakey/Payment.kt index 7d8bc85..031ac7e 100644 --- a/poolakey/src/main/java/ir/cafebazaar/poolakey/Payment.kt +++ b/poolakey/src/main/java/ir/cafebazaar/poolakey/Payment.kt @@ -21,7 +21,7 @@ import ir.cafebazaar.poolakey.thread.PoolakeyThread class Payment( context: Context, - private val config: PaymentConfiguration + config: PaymentConfiguration ) { private val backgroundThread: PoolakeyThread = BackgroundThread() diff --git a/poolakey/src/main/java/ir/cafebazaar/poolakey/config/PaymentConfiguration.kt b/poolakey/src/main/java/ir/cafebazaar/poolakey/config/PaymentConfiguration.kt index 1eb389f..1d9c989 100644 --- a/poolakey/src/main/java/ir/cafebazaar/poolakey/config/PaymentConfiguration.kt +++ b/poolakey/src/main/java/ir/cafebazaar/poolakey/config/PaymentConfiguration.kt @@ -1,6 +1,6 @@ package ir.cafebazaar.poolakey.config -data class PaymentConfiguration( +data class PaymentConfiguration @JvmOverloads constructor( val localSecurityCheck: SecurityCheck, val shouldSupportSubscription: Boolean = true -) +) \ No newline at end of file