Customization

To add or update customer fields, please do the following, call the method passing a JSONArray containing a JSONObject:

Com.Indigitall.Xamarin.Models.INHashMap[] customerFields = new Com.Indigitall.Xamarin.Models.INHashMap[2]; customerFields[0] = new Com.Indigitall.Xamarin.Models.INHashMap("key1", "value1"); customerFields[1] = new Com.Indigitall.Xamarin.Models.INHashMap("key2", "value2"); customer.AssignOrUpdateValueToCustomerFields(customerFields, (customerModel) => { // Do something }, (code, message) => { // Do something else });

Otherwise, if you want to eliminate a field, you have to do this with an array of strings containing the name of the fields:

customer.DeleteValuesFromCustomerFields(new string[] { "field1", "field2" }, (customerModel) => { // Do something }, (code, message) => { // Do something else });
EspaƱol
Powered by Localize
English