| LoyaltyApi | interface LoyaltyApi
Copyright © 2019 FinTiv. All rights reserved. |
| LoyaltyClient | class LoyaltyClient
Copyright © 2019 FinTiv. All rights reserved. |
interface LoyaltyApi
Copyright © 2019 FinTiv. All rights reserved.
| applyPromo | abstract fun applyPromo(accountId:
String
, userId:
String
, userPassword:
String
, campaignId:
String
, promoId:
String
, code:
String
, sendTransactionEmail:
String
= "N", type:
String
= "record_activity", output:
String
= "JSON"): Call<
FTLRecordPromoResponse
>
Records a promotion for a customer in a given points-based campaigns |
| createNewCustomer | abstract fun createNewCustomer(accountId:
String
, userId:
String
, userPassword:
String
, type:
String
= "record_customer", customerAction:
String
= "new", cardNumber:
Int
= 10, customerPassword:
String
, firstName:
String
, lastName:
String
, email:
String
, campaignId:
String
? = null, customerUsername:
String
= email, output:
String
= "JSON"): Call<
FTLCustomerResponse
>
TODO |
| customerValidatePassword | abstract fun customerValidatePassword(accountId:
String
, userId:
String
, userPassword:
String
, type:
String
= "validate_customer_password", customerUsername:
String
, customerPassword:
String
, output:
String
= "JSON"): Call<
FTLCustomerStatusResponse
>
Login a user |
| getCampaigns | abstract fun getCampaigns(accountId:
String
, userId:
String
, userPassword:
String
, type:
String
= "campaigns_list", api:
String
, output:
String
= "JSON"): Call<
FTLCampaignsResponse
>
Get campaigns |
| getCustomerHistoryBalanceByCampaigns | abstract fun getCustomerHistoryBalanceByCampaigns(accountId:
String
, userId:
String
, userPassword:
String
, campaignId:
String
, type:
String
= "customer_balance", code:
String
, output:
String
= "JSON"): Call<
FTLCustomerBalancesHistory
>
Gets balances for specific campaign of given customer, |
| getCustomerInfo | abstract fun getCustomerInfo(accountId:
String
, userId:
String
, userPassword:
String
, type:
String
= "customer_info", code:
String
, includeBalances:
String
= "Y", output:
String
= "JSON"): Call<
FTLCustomerStatusResponse
>
Get customer info |
| getPromoByCampaign | abstract fun getPromoByCampaign(accountId:
String
, userId:
String
, userPassword:
String
, campaignId:
String
, type:
String
= "campaign_promos", api:
String
, output:
String
= "JSON"): Call<
FTLPromoResponse
>
Fetch promotions to an existing campaign |
| getRewardByCampaign | abstract fun getRewardByCampaign(accountId:
String
, userId:
String
, userPassword:
String
, campaignId:
String
, type:
String
= "campaign_rewards", output:
String
= "JSON"): Call<
FTLRewardResponse
>
Fetches the rewards available for the campaign, |
| rewardToRedeem | abstract fun rewardToRedeem(accountId:
String
, userId:
String
, userPassword:
String
, campaignId:
String
, rewardToRedeem:
String
, code:
String
, type:
String
= "redeem", output:
String
= "JSON"): Call<
FTLRecordPromoResponse
>
Redeem a reward of a given campaign for a given customer |
class LoyaltyClient
Copyright © 2019 FinTiv. All rights reserved.
| <init> | LoyaltyClient()
Copyright © 2019 FinTiv. All rights reserved. |
| get | fun get():
LoyaltyApi
?
Get Loyalty api interfaces |