Skip to content

Instantly share code, notes, and snippets.

@websterian

websterian/ErpPolicy.cs

Last active Jun 8, 2017
Embed
What would you like to do?
Sitecore commerce policy class which contains ERP connectivity settings
namespace Sitecore.Commerce.Connectors.MYERP.Plugin.Policies
{
using Sitecore.Commerce.Core;
/// <summary>
/// The policy.
/// </summary>
public class ErpPolicy : Policy
{
/// <summary>
/// Initializes a new instance of the <see cref="ErpPolicy"/> class.
/// </summary>
public ErpPolicy()
{
this.AosUrl = string.Empty;
this.ActiveDirectoryTenant = string.Empty;
this.ApplicationId = string.Empty;
this.ApplicationKey = string.Empty;
this.RetailServerUrl = string.Empty;
}
/// <summary>
/// Gets or sets the application object server url.
/// </summary>
public string AosUrl { get; set; }
/// <summary>
/// Gets or sets the retail server url.
/// </summary>
public string RetailServerUrl { get; set; }
/// <summary>
/// Gets or sets the application id.
/// </summary>
public string ApplicationId { get; set; }
/// <summary>
/// Gets or sets the application key.
/// </summary>
public string ApplicationKey { get; set; }
/// <summary>
/// Gets or sets the active directory tenant.
/// </summary>
public string ActiveDirectoryTenant { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.