| MCPApi | interface MCPApi
Copyright © 2019 FinTiv. All rights reserved. |
| MCPClient | object MCPClient
Copyright © 2019 FinTiv. All rights reserved. |
interface MCPApi
Copyright © 2019 FinTiv. All rights reserved.
| addCard | abstract fun addCard(authorization:
String
, apiKey:
String
, addStampRequest:
FTMCAddStampRequest
): Call<
AddStampResult
>
Add stamp card resource |
| addCoupon | abstract fun addCoupon(authorization:
String
, apiKey:
String
, addCouponRequest:
FTMCAddCouponRequest
): Call<
FTMCAddCouponResponse
>
Add person coupon resource |
| getCards | abstract fun getCards(authorization:
String
, apiKey:
String
, getStampCardsRequest:
FTMCGetStampCardsRequest
): Call<
FTMCStampCardResponse
>
Get user cards resource |
| getCatalog | abstract fun getCatalog(authorization:
String
, apiKey:
String
, getCatalog:
FTMCGetCatalog
): Call<
FTMCCatalogResponse
>
Get catalog(stamps card) resource |
| getCoupons | abstract fun getCoupons(authorization:
String
, apiKey:
String
, findCoupon:
FTMCFindCoupon
): Call<
FTMCFindCouponResponse
>
Get coupons resource |
| getMyCoupons | abstract fun getMyCoupons(authorization:
String
, apiKey:
String
, myCoupon:
FTMCMyCoupon
= FTMCMyCoupon()): Call<
FTMCFindCouponResponse
>
Get my coupons resource |
| getRewards | abstract fun getRewards(authorization:
String
, apiKey:
String
, getRewardsRequest:
FTMCGetRewardsRequest
): Call<
FTMRewardsResponse
>
Get rewards resource |
| getServiceCatalog | abstract fun getServiceCatalog(apiKey:
String
, wallet:
FTMCWallet
): Call<
FTMCServiceCatalogResponse
>
Service catalog Resource |
| getStamps | abstract fun getStamps(authorization:
String
, apiKey:
String
, stampRequest:
FTMCStampRequest
): Call<
FTMCStampResponse
>
Get stamps resource |
| login | abstract fun login(authorization:
String
= "Basic Y2xpZW50OnNlY3JldA==", ct:
String
= "application/x-www-form-urlencoded", apiKey:
String
, gt:
String
= "password", read:
String
= "read", username:
String
, password:
String
): Call<
FTMCPersonToken
>
Login Resource |
| removeCard | abstract fun removeCard(authorization:
String
, apiKey:
String
, removeStampRequest:
FTMCRemoveStampRequest
): Call<
RemoveStampResult
>
Remove user stamp resource |
| removeMyCoupons | abstract fun removeMyCoupons(authorization:
String
, apiKey:
String
, removeCouponRequest:
FTMCRemoveCouponRequest
): Call<
FTMCRemoveCouponResponse
>
Remove coupons resource |
| reportCouponRedemption | abstract fun reportCouponRedemption(authorization:
String
, apiKey:
String
, reportCouponRedemption:
FTMCRedeemCouponRequest
): Call<
FTMCRemoveCouponResponse
>
Redeem coupon resource |
| reportStampEvent | abstract fun reportStampEvent(authorization:
String
, apiKey:
String
, reportStampRequest:
FTMCReportStampRequest
): Call<
FTMCCardInstanceRewards
>
Report scan stamp or redeem resource |
| signup | abstract fun signup(apiKey:
String
, firstName:
String
, lastName:
object MCPClient
Copyright © 2019 FinTiv. All rights reserved.
| get | fun get():
MCPApi
?
Get MCP api interfaces |