toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.amendmentRequestId != null) {
json[r'amendmentRequestId'] = this.amendmentRequestId;
} else {
json[r'amendmentRequestId'] = null;
}
if (this.amendmentId != null) {
json[r'amendmentId'] = this.amendmentId;
} else {
json[r'amendmentId'] = null;
}
if (this.status != null) {
json[r'status'] = this.status;
} else {
json[r'status'] = null;
}
if (this.payment != null) {
json[r'payment'] = this.payment;
} else {
json[r'payment'] = null;
}
if (this.refund != null) {
json[r'refund'] = this.refund;
} else {
json[r'refund'] = null;
}
return json;
}