---
schema_version: "1"
id: 8fa1f9bbd7b90578329f96cbac503b6c26e907337bf9221781165df38574a0e7
title: PaymentGatewayProperties Class
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_class_RichMessaging_PaymentGatewayProperties.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_PaymentGatewayProperties.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: de9913d61324522072fa441356a6e7fc3b6104af75ea5b97fecb21f1cf367ff3
description: Represents gateway-specific properties for a payment.The return URL for the gateway payment.The return URL variable for the gateway payment.The callback URL for the gateway payment notifications.The callback URL variable for the gateway payment.
---
# PaymentGatewayProperties Class

Represents gateway-specific properties for a payment.

## 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.")

- **[PaymentGatewayProperties Properties](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_PaymentGatewayProperties.htm#apex_RichMessaging_PaymentGatewayProperties_properties)**

## PaymentGatewayProperties Properties

The following are properties for PaymentGatewayProperties.

- **[returnUrl](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_PaymentGatewayProperties.htm#apex_RichMessaging_PaymentGatewayProperties_returnUrl)**  
    The return URL for the gateway payment.
- **[returnUrlValue](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_PaymentGatewayProperties.htm#apex_RichMessaging_PaymentGatewayProperties_returnUrlValue)**  
    The return URL variable for the gateway payment.
- **[callbackUrl](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_PaymentGatewayProperties.htm#apex_RichMessaging_PaymentGatewayProperties_callbackUrl)**  
    The callback URL for the gateway payment notifications.
- **[callbackUrlValue](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_PaymentGatewayProperties.htm#apex_RichMessaging_PaymentGatewayProperties_callbackUrlValue)**  
    The callback URL variable for the gateway payment.

### returnUrl

The return URL for the gateway payment.

#### Signature

public String returnUrl {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.")

### returnUrlValue

The return URL variable for the gateway payment.

#### Signature

public String returnUrlValue {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.")

### callbackUrl

The callback URL for the gateway payment notifications.

#### Signature

public String callbackUrl {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.")

### callbackUrlValue

The callback URL variable for the gateway payment.

#### Signature

public String callbackUrlValue {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.")