ReferralApi class
Constructors
-
ReferralApi(Dio _dio, Serializers _serializers)
-
const
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
-
applyReferralCode({required String referralCode, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<void>>
-
Apply referral code
-
claimReferralTransaction({required String transactionID, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<ReferralTransaction>>
-
Claim referral transaction
-
getReferralTransaction({required String transactionID, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<ReferralTransaction>>
-
Get referral transaction detail
-
listReferrals({String? q, String? sort, DateTime? invitedAtAfter, DateTime? invitedAtBefore, bool? isPremium, int? perPage, int? page, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<BuiltList<Referral>>>
-
Get referrals list
-
listReferralTransactions({BuiltList<String>? sort, BuiltList<String>? currency, BuiltList<ReferralTransactionType>? type, DateTime? createdAtAfter, DateTime? createdAtBefore, int? perPage, int? page, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<BuiltList<ReferralTransaction>>>
-
Get referral transactions
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
referralProfileDetail({CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<ReferralProfile>>
-
Referral Program. Profile
-
toString()
→ String
-
A string representation of this object.
inherited