BkashApi class
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
-
createAgreement({required String idToken, required String payerReference})
→ Future<Either<BkashFailure, CreateAgreementResponseModel>>
-
-
createToken()
→ Future<Either<BkashFailure, TokenResponseModel>>
-
-
executeCreateAgreement({required String paymentId, required String idToken})
→ Future<Either<BkashFailure, ExecuteAgreementResponse>>
-
-
executePayWithAgreement({required String paymentId, required String idToken})
→ Future<Either<BkashFailure, PayWithAgreementExecuteResponseModel>>
-
-
executePayWithoutAgreement({required String paymentId, required String idToken})
→ Future<Either<BkashFailure, PayWithoutAgreementExecuteResponseModel>>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
payWithAgreement({required String idToken, required String amount, required String agreementId, required String marchentInvoiceNumber})
→ Future<Either<BkashFailure, PayWithAgreementResponseModel>>
-
-
payWithoutAgreement({required String idToken, required String amount, required String payerReference, required String marchentInvoiceNumber})
→ Future<Either<BkashFailure, PayWithoutAgreementResponse>>
-
-
refreshToken({required String refreshToken})
→ Future<Either<BkashFailure, TokenResponseModel>>
-
-
toString()
→ String
-
A string representation of this object.
inherited