| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- import 'package:json_annotation/json_annotation.dart';
- part 'order_pay_response.g.dart';
- @JsonSerializable()
- class OrderPayResponse {
- @JsonKey(name: 'outTradeNo')
- String outTradeNo;
- @JsonKey(name: 'wechatPayQrcodeUrl')
- String? wechatPayQrcodeUrl;
- @JsonKey(name: 'wechatPayRedirectUrl')
- String? wechatPayRedirectUrl;
- @JsonKey(name: 'wechatPayPrepayJson')
- String? wechatPayPrepayJson;
- @JsonKey(name: 'alipayQrcodeHtml')
- String? alipayQrcodeHtml;
- @JsonKey(name: 'aliPaySubmitHtml')
- String? aliPaySubmitHtml;
- @JsonKey(name: 'alipayOrderString')
- String? alipayOrderString;
- @JsonKey(name: 'appAccountToken')
- String? appAccountToken;
- @JsonKey(name: 'wechatPayH5Url')
- String? wechatPayH5Url;
- OrderPayResponse(
- this.outTradeNo,
- this.wechatPayQrcodeUrl,
- this.wechatPayRedirectUrl,
- this.wechatPayPrepayJson,
- this.alipayQrcodeHtml,
- this.aliPaySubmitHtml,
- this.alipayOrderString,
- this.appAccountToken,
- this.wechatPayH5Url);
- factory OrderPayResponse.fromJson(Map<String, dynamic> json) =>
- _$OrderPayResponseFromJson(json);
- }
|