Skip to content

Instantly share code, notes, and snippets.

@websterian
Last active June 8, 2017 19:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save websterian/145894b9265440f367d09cdef4dfbd05 to your computer and use it in GitHub Desktop.
Save websterian/145894b9265440f367d09cdef4dfbd05 to your computer and use it in GitHub Desktop.
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