PartnerRepository class

Constructors

PartnerRepository()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stanbicRmoteDatasource RemoteDatasource
getter/setter pair

Methods

acceptTerms({required String partner, required String publicKey}) Future<Either<KCException, KCAPIResponse>>
accountCredentials({required String email, required String password, required String publicKey, required String partner, DateTime? dob}) Future<Either<KCException, KCAPIResponse>>
createNew({required double amount, required String publicKey, required int? installment, required int? repaymentDay, required String? termsVersion, required List<KlumpCheckoutItem> items, required Map<String, dynamic>? shippingData, required int? insurerId, required String partner}) Future<Either<KCException, KCAPIResponse>>
getBankTC({required String publicKey, required String partner}) Future<Either<KCException, KCAPIResponse>>
getLoanPartners({required String publicKey}) Future<Either<KCException, List<Partner>>>
getLoanStatus({required String url, required String publicKey}) Future<Either<KCException, DisbursementStatusResponse>>
getPartnerInsurers({required String partner, required String publicKey, required double amount}) Future<Either<KCException, List<PartnerInsurer>>>
getRepaymentDetails({required double amount, required String publicKey, required int installment, required int? repaymentDay, required int? insurerId, required String partner}) Future<Either<KCException, KCAPIResponse>>
initiate({required double amount, required String currency, required String publicKey, required Map<String, dynamic> metaData, required bool isLive}) Future<Either<KCException, void>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
validateAccount({required String accountNumber, required String phoneNumber, String? firstName, required String publicKey, required String partner, required String? bank}) Future<Either<KCException, KCAPIResponse>>
verifyOTP({required String accountNumber, required String phoneNumber, required String? otp, required String? password, required String publicKey, String? firstName, required String partner, required String? bank}) Future<Either<KCException, KCAPIResponse>>

Operators

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