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.
48 lines
1.3 KiB
48 lines
1.3 KiB
class PaymentDetailData {
|
|
String? id;
|
|
String? orderId;
|
|
String? productTitle;
|
|
String? productDesc;
|
|
num? payableAmount;
|
|
num? unpaidAmount;
|
|
num? paidAmount;
|
|
String? paidTime;
|
|
num? status;
|
|
|
|
PaymentDetailData(
|
|
{this.id,
|
|
this.orderId,
|
|
this.productTitle,
|
|
this.productDesc,
|
|
this.payableAmount,
|
|
this.unpaidAmount,
|
|
this.paidAmount,
|
|
this.paidTime,
|
|
this.status});
|
|
|
|
PaymentDetailData.fromJson(Map<String, dynamic> json) {
|
|
id = json['id'];
|
|
orderId = json['orderId'];
|
|
productTitle = json['productTitle'];
|
|
productDesc = json['productDesc'];
|
|
payableAmount = json['payableAmount'];
|
|
unpaidAmount = json['unpaidAmount'];
|
|
paidAmount = json['paidAmount'];
|
|
paidTime = json['paidTime'];
|
|
status = json['status'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
data['id'] = this.id;
|
|
data['orderId'] = this.orderId;
|
|
data['productTitle'] = this.productTitle;
|
|
data['productDesc'] = this.productDesc;
|
|
data['payableAmount'] = this.payableAmount;
|
|
data['unpaidAmount'] = this.unpaidAmount;
|
|
data['paidAmount'] = this.paidAmount;
|
|
data['paidTime'] = this.paidTime;
|
|
data['status'] = this.status;
|
|
return data;
|
|
}
|
|
}
|