toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (campaignSummaries != null) 'campaign_summaries': campaignSummaries!,
if (correctedInvoiceId != null)
'correctedInvoiceId': correctedInvoiceId!,
if (currencyCode != null) 'currencyCode': currencyCode!,
if (dueDate != null) 'dueDate': dueDate!,
if (id != null) 'id': id!,
if (invoiceType != null) 'invoiceType': invoiceType!,
if (issueDate != null) 'issueDate': issueDate!,
if (kind != null) 'kind': kind!,
if (paymentsAccountId != null) 'paymentsAccountId': paymentsAccountId!,
if (paymentsProfileId != null) 'paymentsProfileId': paymentsProfileId!,
if (pdfUrl != null) 'pdfUrl': pdfUrl!,
if (purchaseOrderNumber != null)
'purchaseOrderNumber': purchaseOrderNumber!,
if (replacedInvoiceIds != null)
'replacedInvoiceIds': replacedInvoiceIds!,
if (serviceEndDate != null) 'serviceEndDate': serviceEndDate!,
if (serviceStartDate != null) 'serviceStartDate': serviceStartDate!,
if (subtotalAmountMicros != null)
'subtotalAmountMicros': subtotalAmountMicros!,
if (totalAmountMicros != null) 'totalAmountMicros': totalAmountMicros!,
if (totalTaxAmountMicros != null)
'totalTaxAmountMicros': totalTaxAmountMicros!,
};