toJson method

Map<String, dynamic> toJson()

Implementation

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