Defining custom Addresstypes used in import [REOPEN]

Re-opening this question: Defining custom Addresstypes used in import

Edit:
I peeked the source, and found that the address types are hard coded as an enum. So, I guess the simple answer is you can’t.

using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Serialization;

namespace Litium.Connect.Erp.Import
{
  [JsonConverter(typeof (StringEnumConverter), new object[] {typeof (CamelCaseNamingStrategy)})]
  public enum AddressType
  {
    Billing,
    Shipping,
    BillingAndShipping,
  }
}

Litium version: 8.9.1

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.