| FTLoyalty | object FTLoyalty
Copyright © 2019 FinTiv. All rights reserved. |
object FTLoyalty
Copyright © 2019 FinTiv. All rights reserved.
| getCampaigns | fun getCampaigns(context:
Context
):
List
<
FTLCampaign
>?
Fetch campaigns |
| getCode | fun getCode(context:
Context
):
String
Fetch customer’s code |
| getCustomer | fun getCustomer(context:
Context
):
FTLCustomer
Fetch customer info |
| removeSession | fun removeSession(context:
Context
):
Unit
Remove customer’s session |
| saveCampaigns | fun saveCampaigns(context:
Context
, campaigns:
ArrayList
<
FTLCampaign
>):
Unit
Save campaigns |
| saveCode | fun saveCode(context:
Context
, code:
String
):
Unit
Save customer’s code |
| saveCustomer | fun saveCustomer(context:
Context
, customer:
FTLCustomer
):
Unit
Save customer info |
| setup | fun setup(endpoint:
String
? = null, accountId:
String
, apiVersion:
String
? = null, userId:
String
, userPassword:
String
):
Unit
Framework’s entry point. Static setup() method MUST be called before using any Controller |