Skip to content

Commit

Permalink
Add kdocs for MerchantRepository
Browse files Browse the repository at this point in the history
  • Loading branch information
tdchow committed Nov 5, 2024
1 parent 9c041d8 commit 0edbc80
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import android.content.Context
import android.net.Uri
import androidx.annotation.RestrictTo

/**
* An internal repository that holds properties set by the integrating merchant.
*/
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
class MerchantRepository {

Expand All @@ -14,6 +17,10 @@ class MerchantRepository {
var appLinkReturnUri: Uri? = null

companion object {

/**
* Singleton instance of the MerchantRepository.
*/
val instance: MerchantRepository by lazy { MerchantRepository() }
}
}

0 comments on commit 0edbc80

Please sign in to comment.