MethodChannelWapas class

An implementation of WapasPlatform that uses method channels.

Inheritance

Constructors

MethodChannelWapas()

Properties

hashCode → int
The hash code for this object.
no setterinherited
methodChannel → MethodChannel
The method channel used to interact with the native platform.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

acknowledgeAchievement(String userId, String achievementId, [Config? config]) → Future<List<UserAchievementModel>>
override
getAvailableAchievements(int limit, int offset, [Config? config]) → Future<AchievementList>
override
getBalance(String userId, String currency, [Config? config]) → Future<List<BalanceModel>>
override
getBalanceHistory(String userId, String currency, String startDate, String endDate, [Config? config]) → Future<BalanceHistoryListModel>
override
getBalanceReport(String userId, String currency, String startDate, String endDate, String group, bool includePrevious, bool includeToday, [Config? config]) → Future<List<TransactionModel>>
override
getCurrencyTypes([String? userId, Config? config]) → Future<List<AutocompleteModel>>
override
getPartnerHierarchy(String userId, String? hierarchyType, String? uptoPartner, int? forLevel, int? limit, int? skip, String? orderByRank, String? orderByCount, String? relativeTo, bool? includeBalances, [Config? config]) → Future<List<PartnerHierarchyModel>>
override
getPlatformVersion() → Future<String?>
override
getTransactionProfile(String userId, String currency, [Config? config]) → Future<TransactionProfileModel>
override
getTransactions(int limit, int offset, [String? filter, Config? config]) → Future<TransactionListModel>
override
getTransactionsReport(String? startDate, String? endDate, bool? suspense, int? limit, [String? filter, Config? config]) → Future<TransactionReportListModel>
override
getTransactionTypes([String? userId, Config? config]) → Future<List<AutocompleteModel>>
override
getUnacknowledgedAchievements(String userId, [Config? config]) → Future<UserAchievementListModel>
override
getUserAchievements(String userId, [Config? config]) → Future<List<UserAchievementModel>>
override
init(Config config) → Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
savePartner(Map<String, dynamic> payload, [Config? config]) → Future<bool>
override
toString() → String
A string representation of this object.
inherited
validateCoupon(String? userId, String amount, String couponCode, [Config? config]) → Future<ValidateCouponModel>
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited