---
schema_version: "1"
id: 3c7783d41e0cf546a64e66e471d3bc5d2e1583e531a32885e9b83c54e3d90b33
title: RTR Report Classes
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/retail_api/RTR_report_execution_classes_parent.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/RTR_report_execution_classes_parent.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 22ba9f99066ff1b639fa0b88eb6c26aaa5c1d7bcc07ad97939dd7aaa543723f1
description: The RTR report-related APEX classes provide programmatic access to the TPM Real Time Reporting (RTR) report data.
---
# RTR Report Classes

The RTR report-related APEX classes provide programmatic access to the TPM Real Time Reporting (RTR) report data.

Use these classes to:

- Execute RTR reports.
- Specify filters for the report execution.
- Retrieve data from a Flatlist component.
- Retrieve data from a ScoreCard component.
- Create unit tests for the RTR report-related features and generate mock report results to test the different paths of your code.

- **[RTRReportResult](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/RTRReportResult_class.htm)**  
    The RTRReportResult Apex class provides methods to access and process RTR reports.
- **[RTRReportResult.ReportComponent](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/ReportComponent_class.htm)**  
    This class represents an RTR Report UI component.
- **[RTRReportResult.ScoreCard](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/ScoreCard_class.htm)**  
    This class represents an RTR Report UI ScoreCard component.
- **[RTRReportResult.Flatlist](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/Flatlist_class.htm)**  
    This class represents an RTR Report UI Flatlist component.
- **[RTRReportResult.FlatlistRow](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/FlatlistRow_class.htm)**  
    This class represents a single row in an RTR Report UI Flatlist component.
- **[RTRReportResult.FlatlistRowIterable](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/FlatListRowIterable_class.htm)**  
    This class represents a set of rows in an RTR Report UI Flatlist component.
- **[RTRReportResult.MockException](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/MockException_class.htm)**  
    This class is used to create mock exceptions for the unit test execution.
- **[RTRReportResult.MockRTRReportResult](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/MockRTRReportResult_class.htm)**  
    This class is used to create mock responses for the unit test execution.
- **[RTRReportResult.MockScoreCard](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/MockScoreCard_class.htm)**  
    This class is used to create mock responses for the unit test execution.
- **[RTRReportResult.MockFlatlist](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/MockFlatlist_class.htm)**  
    This class is used to create mock responses for the unit test execution.
- **[RTRReportResult.MockFlatlistRow](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/MockFlatlistRow_class.htm)**  
    This class is used to create mock responses for the unit test execution.
- **[Report Execution Filter Types and Limits](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/report_execution_filters.htm)**  
    Here are the different types of filters you can specify to execute a report.