@cgignite/ignite-sf-commerce
Version:
Salesforce Commerce connector for Ignite
19 lines • 652 B
JavaScript
module.exports = function (RED) {
function commerceCloud(config) {
RED.nodes.createNode(this, config);
this.name = config.name;
this.tokenType = config.tokenType;
this.shortCode = config.shortCode;
this.version = config.version;
this.organizationId = config.organizationId;
this.siteId = config.siteId;
this.clientId = config.clientId;
this.custUsername = config.custUsername;
}
RED.nodes.registerType("commerceCloud-config", commerceCloud, {
credentials: {
clientSecret: { value: "" },
custPassword: { value: "" },
}
});
};