GatewayProviderPaymentMethodType

Represents an entity that allows integrators and payment providers to choose an active payment to receive an order’s payment data rather than allowing the Salesforce Order Management platform to select a default payment method. This object is available in API version 51.0 and later.

Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.

Important

Parent Type 

This type extends Metadata and inherits its fields.

Version 

Introduced in API version 51.0.

File Suffix and Directory Location 

GatewayProviderPaymentMethodType components are stored in the gatewayProviderPaymentMethodTypes directory. Files use the .gatewayProviderPaymentMethodType file extension.

Fields 

comments 

  • Type: string
  • Required: No
  • Description: Additional details about the gateway provider payment method type record. Max length is 1000 characters.

gtwyProviderPaymentMethodType 

  • Type: string
  • Required: No
  • Description: Links the Salesforce payment method to the payment method used in the Salesforce Order Management storefront. Your payment gateway integration uses this field when finding a payment method to link to a payment.

masterLabel 

  • Type: string
  • Required: Yes
  • Description: Required. The gateway provider payment method type name that appears in the user interface.

paymentGatewayProvider 

  • Type: string
  • Required: No
  • Description: Specifies the payment gateway provider that Salesforce Order Management should use when processing payments. One payment gateway provider can be related to multiple payment method types.

paymentMethodType 

  • Type: string
  • Required: No
  • Description: Specifies the type of payment method used on an order in Salesforce Order Management.

recordType 

  • Type: string
  • Required: No
  • Description: ID of the record type entity related to the gateway provider payment method type.

Declarative Metadata Sample Definition 

The following is an example of a GatewayProviderPaymentMethodType component.

1<?xml version="1.0" encoding="UTF-8"?>
2<GatewayProviderPaymentMethodType xmlns="http://soap.sforce.com/2006/04/metadata">
3    <gtwyProviderPaymentMethodType>Klarna</gtwyProviderPaymentMethodType>
4    <masterLabel>Test</masterLabel>
5    <paymentGatewayProvider>adyen__Adyen</paymentGatewayProvider>
6    <paymentMethodType>AlternativePaymentMethod</paymentMethodType>
7    <recordType>AlternativePaymentMethod.Klarna</recordType>
8</GatewayProviderPaymentMethodType>

The following is an example package.xml that references the previous definition.

1<?xml version="1.0" encoding="UTF-8"?>
2<Package xmlns="http://soap.sforce.com/2006/04/metadata">
3    <types>
4        <members>*</members>
5        <name>GatewayProviderPaymentMethodType</name>
6    </types>
7    <version>51.0</version>
8</Package>