---
schema_version: "1"
id: 76e98cc57f71f223206978ff777fc5225527af1f4c3c15142dbbeed6adcf0b02
title: setGatewayReferenceDetails(gatewayReferenceDetails)
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_commercepayments_PostAuthorizationResponse_setGatewayReferenceDetails.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_commercepayments_PostAuthorizationResponse_setGatewayReferenceDetails.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 4beb349a1220d2a275f10ef44c80a85294f7e74430c41e05119fe024d0499eb1
description: Sets any additional reference details that the gateway returned.
---
# setGatewayReferenceDetails(gatewayReferenceDetails)

Sets any additional reference details that the gateway returned.

## Signature

public void setGatewayReferenceDetails(String gatewayReferenceDetails)

## Parameters

- **gatewayReferenceDetails**:
    
    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.")

## Return Value

Type: void