WapasPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • WapasPlatform
Implementers

Constructors

WapasPlatform.new()
Constructs a WapasPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Static Properties

instance WapasPlatform
The default instance of WapasPlatform to use.
getter/setter pair