CustomMetadataTypeInfo Class

Access information about custom metadata. The PaymentGatewayAdapter can send CustomMetadataTypeInfo to transaction requests through the response object’s SalesforceResultCodeInfo.

Namespace

CommercePayments

CustomMetadataTypeInfo Constructors

The following are constructors for CustomMetadataTypeInfo.

CustomMetadataTypeInfo(cmtRecordId, cmtSfResultCodeFieldName)

Constructor for providing custom metadata type information.

Signature

global CustomMetadataTypeInfo(String cmtRecordId, String cmtSfResultCodeFieldName)

Parameters

  • cmtRecordId: Type: String ID of the matchedcustom metadata type record
  • cmtSfResultCodeFieldName: Type: String Field that contains the Salesforce result code values. Belongs to the custom metadata type.

CustomMetadataTypeInfo Methods

The following are methods for CustomMetadataTypeInfo.