---
schema_version: "1"
id: d7287cfdc99a92d59bb52c6d8254215062ab57eb83af39556623d25083e9aa91
title: PaymentInitiationGateway Class
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_class_RichMessaging_PaymentInitiationGateway.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_PaymentInitiationGateway.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 1a3ba3bd8277a8f2b0d9687c9578d640eba8f9bf34abe24b2901f861803c09f4
description: Represents gateway-specific payment initiation details.The order ID associated with the gateway payment initiation.The order ID variable for the gateway payment initiation.The currency of the gateway payment.The currency variable of the gateway payment.The amount of the gateway payment.The amount variable of the gateway payment.The gateway-specific properties for the payment.The gateway properties variable for the payment.The cryptographic signature of the gateway payment request.The signature variable of the gateway payment request.Additional metadata for the gateway payment.The metadata variable for the gateway payment.
---
# PaymentInitiationGateway Class

Represents gateway-specific payment initiation details.

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

- **[PaymentInitiationGateway Properties](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_PaymentInitiationGateway.htm#apex_RichMessaging_PaymentInitiationGateway_properties)**

## PaymentInitiationGateway Properties

The following are properties for PaymentInitiationGateway.

- **[orderId](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_PaymentInitiationGateway.htm#apex_RichMessaging_PaymentInitiationGateway_orderId)**  
    The order ID associated with the gateway payment initiation.
- **[orderIdValue](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_PaymentInitiationGateway.htm#apex_RichMessaging_PaymentInitiationGateway_orderIdValue)**  
    The order ID variable for the gateway payment initiation.
- **[currency](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_PaymentInitiationGateway.htm#apex_RichMessaging_PaymentInitiationGateway_currency)**  
    The currency of the gateway payment.
- **[currencyValue](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_PaymentInitiationGateway.htm#apex_RichMessaging_PaymentInitiationGateway_currencyValue)**  
    The currency variable of the gateway payment.
- **[amount](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_PaymentInitiationGateway.htm#apex_RichMessaging_PaymentInitiationGateway_amount)**  
    The amount of the gateway payment.
- **[amountValue](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_PaymentInitiationGateway.htm#apex_RichMessaging_PaymentInitiationGateway_amountValue)**  
    The amount variable of the gateway payment.
- **[gatewayProperties](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_PaymentInitiationGateway.htm#apex_RichMessaging_PaymentInitiationGateway_gatewayProperties)**  
    The gateway-specific properties for the payment.
- **[gatewayPropertiesValue](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_PaymentInitiationGateway.htm#apex_RichMessaging_PaymentInitiationGateway_gatewayPropertiesValue)**  
    The gateway properties variable for the payment.
- **[signature](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_PaymentInitiationGateway.htm#apex_RichMessaging_PaymentInitiationGateway_signature)**  
    The cryptographic signature of the gateway payment request.
- **[signatureValue](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_PaymentInitiationGateway.htm#apex_RichMessaging_PaymentInitiationGateway_signatureValue)**  
    The signature variable of the gateway payment request.
- **[metadata](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_PaymentInitiationGateway.htm#apex_RichMessaging_PaymentInitiationGateway_metadata)**  
    Additional metadata for the gateway payment.
- **[metadataValue](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_PaymentInitiationGateway.htm#apex_RichMessaging_PaymentInitiationGateway_metadataValue)**  
    The metadata variable for the gateway payment.

### orderId

The order ID associated with the gateway payment initiation.

#### Signature

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

### orderIdValue

The order ID variable for the gateway payment initiation.

#### Signature

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

### currency

The currency of the gateway payment.

#### Signature

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

### currencyValue

The currency variable of the gateway payment.

#### Signature

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

### amount

The amount of the gateway payment.

#### Signature

public Double amount {get; set;}

#### Property Value

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

### amountValue

The amount variable of the gateway payment.

#### Signature

public Double amountValue {get; set;}

#### Property Value

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

### gatewayProperties

The gateway-specific properties for the payment.

#### Signature

public RichMessaging.PaymentGatewayProperties gatewayProperties {get; set;}

#### Property Value

Type: [RichMessaging.PaymentGatewayProperties](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_PaymentGatewayProperties.htm#apex_class_RichMessaging_PaymentGatewayProperties "Represents gateway-specific properties for a payment.")

### gatewayPropertiesValue

The gateway properties variable for the payment.

#### Signature

public RichMessaging.PaymentGatewayProperties gatewayPropertiesValue {get; set;}

#### Property Value

Type: [RichMessaging.PaymentGatewayProperties](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_PaymentGatewayProperties.htm#apex_class_RichMessaging_PaymentGatewayProperties "Represents gateway-specific properties for a payment.")

### signature

The cryptographic signature of the gateway payment request.

#### Signature

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

### signatureValue

The signature variable of the gateway payment request.

#### Signature

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

### metadata

Additional metadata for the gateway payment.

#### Signature

public Map<String, String> metadata {get; set;}

#### Property Value

Type: Map<String, String>

### metadataValue

The metadata variable for the gateway payment.

#### Signature

public Map<String, String> metadataValue {get; set;}

#### Property Value

Type: Map<String, String>