toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (billingInvoiceCode != null)
        'billingInvoiceCode': billingInvoiceCode!,
      if (campaignId != null) 'campaignId': campaignId!,
      if (preTaxAmountMicros != null)
        'preTaxAmountMicros': preTaxAmountMicros!,
      if (taxAmountMicros != null) 'taxAmountMicros': taxAmountMicros!,
      if (totalAmountMicros != null) 'totalAmountMicros': totalAmountMicros!,
    };