Skip to content

Commit

Permalink
Restrict CardComponent constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
jreij committed Apr 25, 2024
1 parent 7d247b1 commit 3678868
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion card/src/main/java/com/adyen/checkout/card/CardComponent.kt
Expand Up @@ -40,7 +40,9 @@ import kotlinx.coroutines.flow.Flow
* A [PaymentComponent] that supports the [PaymentMethodTypes.SCHEME] payment method.
*/
@Suppress("TooManyFunctions")
open class CardComponent constructor(
open class CardComponent
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
constructor(
private val cardDelegate: CardDelegate,
private val genericActionDelegate: GenericActionDelegate,
private val actionHandlingComponent: DefaultActionHandlingComponent,
Expand Down

0 comments on commit 3678868

Please sign in to comment.