Upgrade
This section contains specific upgrade instructions for the Voyado addOn.
Breaking change:
This public method in ContactService.cs in Litium.AddOns.VoyadoConnector project has a extra parameter which is the Voyado Contact type see ContactType.cs:
public Task<Contact> GetContactByEmailAsync(ContactType contactType, string email)
{
if (string.IsNullOrEmpty(email))
{
throw new ArgumentException("Invalid email");
}
return Client.GetAsync<Contact>($"contactoverview?contactType={contactType.ToString()}&email={email}");
}
Upgraded code in files:
- OrderSyncService.cs
- CustomerSyncService.cs
- ContactType.cs
- ContactService.cs
- EcomPersonInfoConverter
- ReceiptConverter