toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = <String, dynamic>{};
data['InvoiceId'] = invoiceId;
data['IsDirectPayment'] = isDirectPayment;
data['PaymentURL'] = paymentURL;
data['CustomerReference'] = customerReference;
data['UserDefinedField'] = userDefinedField;
data['RecurringId'] = recurringId;
return data;
}