Once the customer is linked, the customer's id can be requested as follows:
Indigitall.getCustomer(this, object : CustomerCallback(this){
override fun onSuccess(customer: Customer) {
//do something
}
override fun onError(errorModel: ErrorModel?) {
//log error
});
And the customer's information about its fields as follows:
Indigitall.getCustomerInformation(context, null, object: CustomerFieldCallback(context){
override fun onSuccess(customerField: ArrayList<CustomerField>) {
//do something
}
override fun onError(error: Error?) {
//log error
}
})