Skip to content

Commit

Permalink
Merge pull request #1507 from Adyen/fix/restricted-annotations
Browse files Browse the repository at this point in the history
Fix wrong `RestrictTo` annotations
  • Loading branch information
jreij authored Mar 11, 2024
2 parents 8bbb5ba + 44d4845 commit 814b5b0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import com.adyen.checkout.components.core.internal.ui.ComponentDelegate
/**
* A [Component] is a class that helps to retrieve or format data related to a part of the Checkout API payment.
*/
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
interface Component {
/**
* The delegate from this component.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,11 @@

package com.adyen.checkout.dropin.internal.ui.model

import androidx.annotation.RestrictTo
import com.adyen.checkout.components.core.CheckoutConfiguration
import com.adyen.checkout.components.core.PaymentMethodsApiResponse
import com.adyen.checkout.dropin.DropInService

@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
data class DropInResultContractParams(
data class DropInResultContractParams internal constructor(
val checkoutConfiguration: CheckoutConfiguration,
val paymentMethodsApiResponse: PaymentMethodsApiResponse,
val serviceClass: Class<out DropInService>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,11 @@

package com.adyen.checkout.dropin.internal.ui.model

import androidx.annotation.RestrictTo
import com.adyen.checkout.components.core.CheckoutConfiguration
import com.adyen.checkout.dropin.SessionDropInService
import com.adyen.checkout.sessions.core.CheckoutSession

@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
data class SessionDropInResultContractParams(
data class SessionDropInResultContractParams internal constructor(
val checkoutConfiguration: CheckoutConfiguration,
val checkoutSession: CheckoutSession,
val serviceClass: Class<out SessionDropInService>,
Expand Down

0 comments on commit 814b5b0

Please sign in to comment.