executeCreateAgreement method

Future<Either<BkashFailure, ExecuteAgreementResponse>> executeCreateAgreement({
  1. required String paymentId,
  2. required String idToken,
})

Executes the agreement creation with the provided paymentId and idToken.

Returns an ExecuteAgreementResponse if the execution is successful, or a BkashFailure indicating the reason for failure.

Implementation

Future<Either<BkashFailure, ExecuteAgreementResponse>>
    executeCreateAgreement({
  required String paymentId,
  required String idToken,
}) async =>
        _createAgreementApi.executeCreateAgreement(
          idToken: idToken,
          paymentId: paymentId,
        );