| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- import 'package:json_annotation/json_annotation.dart';
- part 'request_pay_response.g.dart';
- @JsonSerializable()
- class RequestPayResponse {
- /**
- * @SerializedName("outTradeNo")
- private String orderId;
- @SerializedName("wechatPayQrcodeUrl")
- private String wechatPayQrcodeUrl;
- @SerializedName("wechatPayPrepayJson")
- private String wechatPayPrepayJson;
- @SerializedName("alipayQrcodeHtml")
- private String alipayQrcodeHtml;
- @SerializedName("alipayOrderString")
- private String alipayOrderString;
- */
- @JsonKey(name: 'outTradeNo')
- String outTradeNo;
- @JsonKey(name: 'wechatPayQrcodeUrl')
- String? wechatPayQrcodeUrl;
- @JsonKey(name: 'wechatPayPrepayJson')
- String? wechatPayPrepayJson;
- @JsonKey(name: 'alipayQrcodeHtml')
- String? alipayQrcodeHtml;
- @JsonKey(name: 'alipayOrderString')
- String? alipayOrderString;
- RequestPayResponse(
- {required this.outTradeNo,
- this.wechatPayQrcodeUrl,
- this.wechatPayPrepayJson,
- this.alipayQrcodeHtml,
- this.alipayOrderString});
- factory RequestPayResponse.fromJson(Map<String, dynamic> json) =>
- _$RequestPayResponseFromJson(json);
- }
|