| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- 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')
- int? wechatPayH5Url;
- OrderPayResponse({
- required 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);
- }
|