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

Retrieves loyalty point transaction history.

Link copied to clipboard

Asynchronously retrieves loyalty point transaction history.

Link copied to clipboard
abstract suspend fun getLoyaltyPoint(id: String): LoyaltyPoint

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

Asynchronously retrieves a single loyalty point transaction by ID.