fields property

  1. @override
Map<String, Object?> get fields
override

Every field this type declares, keyed by wire name, in the order it sends them.

Implementation

@override
Map<String, Object?> get fields => <String, Object?>{
      'account': account,
      'code': code,
      'created_by': createdBy,
      'created_on': createdOn,
      'credit_note_applications': creditNoteApplications,
      'credit_note_total': creditNoteTotal,
      'currency': currency,
      'custom_attributes': customAttributes,
      'custom_objects': customObjects,
      'href': href,
      'id': id,
      'last_updated_by': lastUpdatedBy,
      'last_updated_on': lastUpdatedOn,
      'object': object,
      'origin': origin,
      'paid_total': paidTotal,
      'payment_date': paymentDate,
      'payment_method_applications': paymentMethodApplications,
      'payment_note': paymentNote,
      'payment_reference': paymentReference,
      'purchase_credit_applied': purchaseCreditApplied,
      'purchase_invoice_applications': purchaseInvoiceApplications,
      'purchase_invoices': purchaseInvoices,
      'purchase_order_id': purchaseOrderId,
      'purchase_payment_applied': purchasePaymentApplied,
      'purchase_payment_date': purchasePaymentDate,
      'purchase_payment_note': purchasePaymentNote,
      'status': status,
      'total_applied': totalApplied,
      'uuid': uuid,
      'version': version,
    };