Using any of the features is as simple as calling the function you need on the shared instance. Checkout the following sections where we discuss each feature in detail.
Each of the features will return a unique response object for that feature and country combination.
In order for this to be possible, the object is returned as a sub type instance of that feature's opaque return type.
To access the country specific model properties (example,
rsaCodeon the SouthAfricaIDCardModel), you will first need to cast the response object, from the feature, to the corresponding feature's country-specific model; As explained above.
To illustrate all of the above, see the following UML diagram: