1global with sharing class DFOAsyncApexSample implements industriesintegrationfwk.ProcessIntegrationProvider {
2
3 private static final industriesintegrationfwk.ApexProviderAttr NAMED_CRED_ATTR =
4 new industriesintegrationfwk.ApexProviderAttr('Named Credential',
5 'Named_Credential', 'DFOCalloutMockCreds', true, 'String');
6
7 private static final industriesintegrationfwk.ApexProviderAttr CALLBACK_URL_ATTR =
8 new industriesintegrationfwk.ApexProviderAttr('Callback URL',
9 'Callback_URL', 'DFOCallbackUrl', true, 'String');
10
11 global static List<industriesintegrationfwk.ApexProviderAttr> getProviderAttributes() {
12 List<industriesintegrationfwk.ApexProviderAttr> defaults = new List<industriesintegrationfwk.ApexProviderAttr>();
13 defaults.add(NAMED_CRED_ATTR);
14 defaults.add(CALLBACK_URL_ATTR);
15
16 return defaults;
17 }