Unica Interact API Classes

The Unica Interact API is based on the InteractAPI class.

There are 6 supporting interfaces.

  • AdvisoryMessage
  • BatchResponse
  • NameValuePair
  • Offer
  • OfferList
  • Response

These interfaces have 3 supporting concrete classes. The following two concrete classes need to be instantiated and passed in as arguments into the Unica Interact API methods:

  • NameValuePairImpl
  • CommandImpl

A third concrete class, called AdvisoryMessageCode is available to provide the constants used to distinguish the message codes returned from the server whenever applicable.

The rest of this section describes the methods which comprise the Unica Interact API.