Transaction Detail Component
.png)
The TransactionDetailComponent shows users information about a specific transaction and allows them to update its category or Brand, in case they are inaccurate.
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

📊 Analytics Tags
report_transaction_buttonsave_button
🈯️ Localization Keys
lune_sdk_str_amountlune_sdk_str_date,lune_sdk_str_date_timelune_sdk_str_categorylune_sdk_str_suggested_categorylune_sdk_str_raw_transactionlune_sdk_str_noteslune_sdk_str_tap_to_add_noteslune_sdk_str_tagslune_sdk_str_tap_to_add_tagslune_sdk_str_report_transaction,lune_sdk_str_cancel_reportlune_sdk_str_save

📊 Analytics Tags
close_buttonincorrect_brand_tileincorrect_logo_tileincorrect_category_tilereport_button
🈯️ Localization Keys
lune_sdk_str_report_transaction_titlelune_sdk_str_incorrect_brand_namelune_sdk_str_suggested_brandlune_sdk_str_incorrect_logolune_sdk_str_incorrect_categorylune_sdk_str_reportlune_sdk_str_brand_name

📊 Analytics Tags
close_buttoncategory_filter_optioncustom_category_buttonsubmit_button
🈯️ Localization Keys
lune_sdk_str_report_categorylune_sdk_str_please_select_categorylune_sdk_str_searchlune_sdk_str_add_a_custom_categorylune_sdk_str_submit

📊 Analytics Tags
close_buttonsubmit_button
🈯️ Localization Keys
lune_sdk_str_add_a_custom_categorylune_sdk_str_category_name_field_labellune_sdk_str_category_namelune_sdk_str_submit

📊 Analytics Tags
close_button
🈯️ Localization Keys
lune_sdk_str_update_done