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,
      'account_id': accountId,
      'amount': amount,
      'code': code,
      'created_by': createdBy,
      'created_on': createdOn,
      'currency': currency,
      'custom_attributes': customAttributes,
      'custom_objects': customObjects,
      'date': date,
      'href': href,
      'id': id,
      'initial_amount': initialAmount,
      'invoice_id': invoiceId,
      'invoices': invoices,
      'issue_date': issueDate,
      'last_updated_by': lastUpdatedBy,
      'last_updated_on': lastUpdatedOn,
      'object': object,
      'payment': payment,
      'payment_id': paymentId,
      'refund_amount': refundAmount,
      'refundable': refundable,
      'remaining_amount': remainingAmount,
      'remaining_balance': remainingBalance,
      'status': status,
      'updated_by': updatedBy,
      'updated_on': updatedOn,
      'uuid': uuid,
      'version': version,
    };