---
schema_version: "1"
id: 09a9763a87863ee6afdce7f497d5a4b71d7b97f1139f91e4e86aae90fd33fb76
title: CustomTaxAttributesResponse Class
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_class_commercetax_CustomTaxAttributesResponse.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_commercetax_CustomTaxAttributesResponse.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 2ebe2283e726f5e17d458ceeb80136df14f3ff17c9dc1dc6fe5b2a7ba6033015
description: Sets additional data or custom attributes in the tax response.Learn more about the available constructors with the CustomTaxAttributesResponse class.Constructor to set additional data or custom attributes in the tax response.Learn more about the available methods with the CustomTaxAttributesResponse class.Sets additional data or custom attributes in the tax response.
---
# CustomTaxAttributesResponse Class

Sets additional data or custom attributes in the tax response.

## Namespace

[CommerceTax](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_namespace_commercetax.htm "Manage the communication between Salesforce and an external tax engine.")

- **[CustomTaxAttributesResponse Constructors](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_commercetax_CustomTaxAttributesResponse.htm#apex_commercetax_CustomTaxAttributesResponse_constructors)**  
    Learn more about the available constructors with the CustomTaxAttributesResponse class.
- **[CustomTaxAttributesResponse Methods](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_commercetax_CustomTaxAttributesResponse.htm#apex_commercetax_CustomTaxAttributesResponse_methods)**  
    Learn more about the available methods with the CustomTaxAttributesResponse class.

## CustomTaxAttributesResponse Constructors

Learn more about the available constructors with the CustomTaxAttributesResponse class.

The CustomTaxAttributesResponse class includes these constructors.

- **[CustomTaxAttributesResponse()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_commercetax_CustomTaxAttributesResponse.htm#apex_commercetax_CustomTaxAttributesResponse_ctor)**  
    Constructor to set additional data or custom attributes in the tax response.

### CustomTaxAttributesResponse()

Constructor to set additional data or custom attributes in the tax response.

#### Signature

global CustomTaxAttributesResponse()

## CustomTaxAttributesResponse Methods

Learn more about the available methods with the CustomTaxAttributesResponse class.

The CustomTaxAttributesResponse class includes these methods.

- **[setData(data)](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_commercetax_CustomTaxAttributesResponse.htm#apex_commercetax_CustomTaxAttributesResponse_setData)**  
    Sets additional data or custom attributes in the tax response.

### setData(data)

Sets additional data or custom attributes in the tax response.

#### Signature

global void setData(Map<String, Object\> data)

#### Parameters

- **data**:
    
    Type: Map<[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."), Object> Additional data or custom attributes to be included in the tax response.

#### Return Value

Type: void