Class Libraries

SLIM CD wraps it’s web service and resource calls into convenient libraries for you. These libraries make it easy to call our APIs without having to format the data or parse the response.

  • Microsoft .NET 2, 3 and 4 as an Assembly/DLL
  • Microsoft .NET 4.5 for Windows 8 as a Portable Class Library
  • Java for Android as a .jar file
  • Objective C for IOS as an .a file
  • JavaScript as a .js file

The above class libraries mimic all of the functions available in our web services and web resources. They also provide the additional functionality of implementing some simple validation routines for card numbers, expiration dates, email addresses, etc.

Libraries prevent the user from having the select on HTTP POST versus SOAP/XML or deciding to parse XML or JSON. Instead, these libraries accept request objects and create reply objects.   The names of the properties of these request and reply objects map directly to the names of the input and output objects of the SLIM CD web services/web resources.

These class libraries may be used interchangeably with the direct API calls. A developer may choose to use the JavaScript library for a page inside a webkit, then directly call the web service to retrieve JSON inside a Java application. Alternatively, the JavaScript library provided all the functionality necessary to implement a full integration so that Node.JS can call all of our APIs using the library.