createUserTransactionWithBill method
Implementation
Future<UserTransaction> createUserTransactionWithBill({
required String billId,
String? accountId,
double? amount,
String? couponId,
TransactionStrategy strategy = TransactionStrategy.POINT_PREFERRED,
String? requestId,
}) async {
return await invokeMethod<UserTransaction>(
(j) => UserTransaction.fromJson(j),
'createUserTransactionWithBill',
{
'env': this.env.index,
'accessToken': this.accessToken,
'billId': billId,
'accountId': accountId,
'amount': amount,
'couponId': couponId,
'tx_strategy': strategy.value,
'requestId': requestId,
},
);
}