CustomMetadataTypeInfo Class

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

CommercePayments

The following are constructors for CustomMetadataTypeInfo.

Constructor for providing custom metadata type information.

global CustomMetadataTypeInfo(String cmtRecordId, String cmtSfResultCodeFieldName)

  • 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.

The following are methods for CustomMetadataTypeInfo.