customer status update - AEVI-AppFlow/pos-android-sdk GitHub Wiki

Flow initiation applications may support identifying customers and keep associated customer details, such as name, tokens, etc. For these purposes, AppFlow has the Customer model. If a customer has been identified and/or updated, the initiation application can notify interested parties of this via the use of a customerStatusUpdate flow.

Data keys

See StatusUpdateKeys for defined constants.

Data key Value Description
"customerUpdate" Customer Send customer details

Initialise request

Request customerUpdateRequest = new Request("customerStatusUpdate");
customerUpdateRequest.addAdditionalData("customerUpdate", myCustomer);

Create and parse response

TODO - unclear what the responses would be here?

⚠️ **GitHub.com Fallback** ⚠️