You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
931 B
41 lines
931 B
/// appId : "" |
|
/// nonceStr : "" |
|
/// packageValue : "" |
|
/// partnerId : "" |
|
/// prepayId : "" |
|
/// sign : "" |
|
/// timeStamp : "" |
|
|
|
class WxPay { |
|
|
|
String? appId; |
|
String? nonceStr; |
|
String? packageValue; |
|
String? partnerId; |
|
String? prepayId; |
|
String? sign; |
|
String? timeStamp; |
|
|
|
WxPay.fromJson(dynamic json) { |
|
this.appId = json["appId"]; |
|
this.nonceStr = json["nonceStr"]; |
|
this.packageValue = json["packageValue"]; |
|
this.partnerId = json["partnerId"]; |
|
this.prepayId = json["prepayId"]; |
|
this.sign = json["sign"]; |
|
this.timeStamp = json["timeStamp"]; |
|
} |
|
|
|
Map<String, dynamic> toJson() { |
|
var map = <String, dynamic>{}; |
|
map["appId"] = this.appId; |
|
map["nonceStr"] = this.nonceStr; |
|
map["packageValue"] = this.packageValue; |
|
map["partnerId"] = this.partnerId; |
|
map["prepayId"] = this.prepayId; |
|
map["sign"] = this.sign; |
|
map["timeStamp"] = this.timeStamp; |
|
return map; |
|
} |
|
|
|
} |