Transaction Detail Component
The TransactionDetailComponent shows users information about a specific transaction and allows them to update its category or Brand, in case they are inaccurate.
Usage
To use this view, just call the TransactionDetailComponent method of your LuneSDKManager instance as shown in the example below. The method takes the id of the transaction as an argument.
TransactionDetailView.kt
import io.lunedata.lunesdk.library.classes.LuneSDKManager
@Composable
fun TransactionDetailComponent(
luneSDK: LuneSDKManager
) {
luneSDK.TransactionDetailComponent(id = transaction.id)
}
To use this view in a project with Activities and Fragments, set the data property of your view to the transaction ID, and the component property should be set to LuneView.TransactionDetailComponent, as shown in the example below.
YourActivity.kt
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
// Grab our luneView
val luneView = findViewById<LuneCompatManager>(R.id.luneLayout)
//set the data property to the transaction ID
luneView.data = <transaction.id>
// set the component property.
luneView.component = LuneView.TransactionDetailComponent
}
Localization Keys and Analytics Tags
Analytics Tags Localization Keys
![]() | Analytics Tags
Localization Keys
|
![]() | Analytics Tags
Localization Keys
|
![]() | Analytics Tags
Localization Keys
|
![]() | Analytics Tags
Localization Keys
|
![]() | Analytics Tags
Localization Keys
|




