openBusinessView method

  1. @override
Future<void> openBusinessView({
  1. required String businessType,
  2. String? query,
  3. String? extInfo,
})
override

调起支付分

  • 免确认模式:https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter6_1_7.shtml
  • 需确认授权:https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter6_1_11.shtml
  • 拉起小程序:https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter6_1_23.shtml

Implementation

@override
Future<void> openBusinessView({
  required String businessType,
  String? query,
  String? extInfo,
}) {
  return methodChannel.invokeMethod<void>(
    'openBusinessView',
    <String, dynamic>{
      'businessType': businessType,
      if (query != null) 'query': query,
      if (extInfo != null) 'extInfo': extInfo,
    },
  );
}