---
schema_version: "1"
id: cbce3eb370a12049ca324d6685b6c58c4a155375a49de610f990a5ca3a5936b3
title: OrderItemCommerceAttributes Class
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_class_RichMessaging_OrderItemCommerceAttributes.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_OrderItemCommerceAttributes.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 64685f2ce4a8e77526d62bbdb56faca1f92fa1d5bf4773c1dc50e1c8d9ca7d59
description: Represents the commerce attributes of an order item.The retailer ID of the order item.The retailer ID variable for the order item.The category of the order item.The category variable for the order item.The importer information of the order item.The importer variable for the order item.
---
# OrderItemCommerceAttributes Class

Represents the commerce attributes of an order item.

## Namespace

[RichMessaging](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_namespace_RichMessaging.htm "Provides objects and methods for handling content in enhanced Messaging channels.")

- **[OrderItemCommerceAttributes Properties](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_OrderItemCommerceAttributes.htm#apex_RichMessaging_OrderItemCommerceAttributes_properties)**

## OrderItemCommerceAttributes Properties

The following are properties for OrderItemCommerceAttributes.

- **[retailerId](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_OrderItemCommerceAttributes.htm#apex_RichMessaging_OrderItemCommerceAttributes_retailerId)**  
    The retailer ID of the order item.
- **[retailerIdValue](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_OrderItemCommerceAttributes.htm#apex_RichMessaging_OrderItemCommerceAttributes_retailerIdValue)**  
    The retailer ID variable for the order item.
- **[category](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_OrderItemCommerceAttributes.htm#apex_RichMessaging_OrderItemCommerceAttributes_category)**  
    The category of the order item.
- **[categoryValue](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_OrderItemCommerceAttributes.htm#apex_RichMessaging_OrderItemCommerceAttributes_categoryValue)**  
    The category variable for the order item.
- **[importer](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_OrderItemCommerceAttributes.htm#apex_RichMessaging_OrderItemCommerceAttributes_importer)**  
    The importer information of the order item.
- **[importerValue](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_OrderItemCommerceAttributes.htm#apex_RichMessaging_OrderItemCommerceAttributes_importerValue)**  
    The importer variable for the order item.

### retailerId

The retailer ID of the order item.

#### Signature

public String retailerId {get; set;}

#### Property Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")

### retailerIdValue

The retailer ID variable for the order item.

#### Signature

public String retailerIdValue {get; set;}

#### Property Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")

### category

The category of the order item.

#### Signature

public String category {get; set;}

#### Property Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")

### categoryValue

The category variable for the order item.

#### Signature

public RichMessaging.OrderItemCategory categoryValue {get; set;}

#### Property Value

Type: [RichMessaging.OrderItemCategory](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_enum_RichMessaging_OrderItemCategory.htm "Represents the category of an order item.")

### importer

The importer information of the order item.

#### Signature

public RichMessaging.OrderItemImporter importer {get; set;}

#### Property Value

Type: [RichMessaging.OrderItemImporter](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_OrderItemImporter.htm#apex_class_RichMessaging_OrderItemImporter "Represents the importer information for an order item.")

### importerValue

The importer variable for the order item.

#### Signature

public RichMessaging.OrderItemImporter importerValue {get; set;}

#### Property Value

Type: [RichMessaging.OrderItemImporter](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_OrderItemImporter.htm#apex_class_RichMessaging_OrderItemImporter "Represents the importer information for an order item.")