Pangpang POS Client using Xamarin.Forms.
Get PosSDK Service:
PosSDK PosSDK => DependencyService.Get<PosSDK>();
Call API
var result = await PosSDK.CallAPI<Account>("/account/login", new
{
tenant = this.Tenant,
username = this.Username,
password = this.Password,
});
if (result.Success == true)
{
/* success */
}
else
{
/* fail */
{