toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final consolidatedInvoice = this.consolidatedInvoice;
  final countryCode = this.countryCode;
  final currencyCode = this.currencyCode;
  final id = this.id;
  final invoiceLevel = this.invoiceLevel;
  final isDefault = this.isDefault;
  final kind = this.kind;
  final name = this.name;
  final paymentsAccountId = this.paymentsAccountId;
  final paymentsCustomerId = this.paymentsCustomerId;
  final purchaseOrder = this.purchaseOrder;
  final secondaryPaymentsCustomerId = this.secondaryPaymentsCustomerId;
  final status = this.status;
  return {
    'consolidatedInvoice': ?consolidatedInvoice,
    'countryCode': ?countryCode,
    'currencyCode': ?currencyCode,
    'id': ?id,
    'invoiceLevel': ?invoiceLevel,
    'isDefault': ?isDefault,
    'kind': ?kind,
    'name': ?name,
    'paymentsAccountId': ?paymentsAccountId,
    'paymentsCustomerId': ?paymentsCustomerId,
    'purchaseOrder': ?purchaseOrder,
    'secondaryPaymentsCustomerId': ?secondaryPaymentsCustomerId,
    'status': ?status,
  };
}