Loyalty Points Service
interface LoyaltyPointsService
Interface for retrieving loyalty points and their transaction history.
Functions
Link copied to clipboard
abstract suspend fun getAllLoyaltyPoints(parameters: GetAllLoyaltyPointsParameters? = null): LoyaltyPointsList
Retrieves all loyalty points available in the loyalty application.
Link copied to clipboard
open fun getAllLoyaltyPointsAsync(parameters: GetAllLoyaltyPointsParameters? = null, cancellationSignal: CancellationSignal?, callback: WalletCallback<LoyaltyPointsList>)
Asynchronously retrieves all loyalty points available in the loyalty application.
Link copied to clipboard
abstract suspend fun getAllLoyaltyPointTransactions(parameters: GetAllLoyaltyPointTransactionsParameters? = null): LoyaltyPointTransactionsList
Retrieves loyalty point transaction history.
Link copied to clipboard
open fun getAllLoyaltyPointTransactionsAsync(parameters: GetAllLoyaltyPointTransactionsParameters? = null, cancellationSignal: CancellationSignal?, callback: WalletCallback<LoyaltyPointTransactionsList>)
Asynchronously retrieves loyalty point transaction history.
Link copied to clipboard
Retrieves a single loyalty point by ID.
Link copied to clipboard
open fun getLoyaltyPointAsync(id: String, cancellationSignal: CancellationSignal?, callback: WalletCallback<LoyaltyPoint>)
Asynchronously retrieves a single loyalty point by ID.
Link copied to clipboard
Retrieves a single loyalty point transaction by ID.
Link copied to clipboard
open fun getLoyaltyPointTransactionAsync(id: String, cancellationSignal: CancellationSignal?, callback: WalletCallback<LoyaltyPointTransaction>)
Asynchronously retrieves a single loyalty point transaction by ID.