AbstractPartnerRepository class abstract

MyUser partner repository interface.

Implementers

Constructors

AbstractPartnerRepository()

Properties

available → Rx<Balance>
Returns the balance MyUser has in their partner available wallet.
no setter
hashCode int
The hash code for this object.
no setterinherited
hold → Rx<Balance>
Returns the balance MyUser has in their partner hold wallet.
no setter
individual → RxMap<UserId, Rx<MonetizationSettings>>
Returns the individual MonetizationSettings for separate UserIds.
no setter
monetization → RxMap<UserId, Rx<MonetizationSettings>>
Returns the MonetizationSettings that the UserIds have for our MyUser.
no setter
operations Paginated<OperationId, Rx<Operation>>
Returns the Operations happening in MyUser's partner wallet.
no setter
paginated Paginated<UserId, Rx<MonetizationSettings>>
Returns the Paginated for MonetizationSettings per individual UserIds.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
settings → Rx<MonetizationSettings>
Returns MonetizationSettings of the authenticated MyUser.
no setter
total → RxInt
Returns the total amount of MonetizationSettings applied by the MyUser.
no setter

Methods

get({OperationId? id, OperationNum? num}) FutureOr<Rx<Operation>?>
Returns an Operation identified by the provided id or num.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateMonetizationSettings({UserId? userId, bool? donationsEnabled, Sum? donationsMinimum}) Future<void>
Updates MonetizationSettings of the authenticated MyUser.
updatesFor(UserId id) Stream<MonetizationSettings?>
Listens to the updates of MonetizationSettings for the provided UserId while the returned Stream is listened to.

Operators

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