|
fun acceptBalanceTransfer(action: TransferActionRequest): LoyaltyBalanceTransferResponse |
|
fun acceptBalanceTransferAsync(acceptTransfer: TransferActionRequest, success: (result: LoyaltyBalanceTransferResponse) -> Unit, failure: (e: Throwable) -> Unit): Job |
|
fun cancelTransfer(action: TransferActionRequest): LoyaltyBalanceTransferResponse |
|
fun cancelTransferAsync(action: TransferActionRequest, success: (result: LoyaltyBalanceTransferResponse) -> Unit, failure: (e: Throwable) -> Unit): Job |
|
fun fetchAwardsRules(): List<AwardsRule> |
|
fun fetchLoyaltyUserAsync(): <ERROR CLASS>
fun fetchLoyaltyUserAsync(success: (result: LoyaltyUser?) -> Unit, failure: (Exception) -> Unit): Unit |
|
fun getTransactions(): List<BalanceHistoryTransaction> |
|
fun getTransactionsAsync(success: (result: List<BalanceHistoryTransaction>) -> Unit, error: (e: Throwable) -> Unit): Job |
|
fun transferBalance(loyaltyBalanceTransfer: LoyaltyBalanceTransfer): LoyaltyBalanceTransferResponse |
|
fun transferBalanceAsync(loyaltyBalanceTransfer: LoyaltyBalanceTransfer, success: (result: LoyaltyBalanceTransferResponse) -> Unit, failure: (e: Throwable) -> Unit): Deferred<Unit> |