toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = <String, dynamic>{};
data['InvoiceId'] = invoiceId;
data['InvoiceURL'] = invoiceURL;
data['CustomerReference'] = customerReference;
data['UserDefinedField'] = userDefinedField;
return data;
}