fields property
Every field this type declares, keyed by wire name, in the order it sends them.
Implementation
@override
Map<String, Object?> get fields => <String, Object?>{
'accounting_code': accountingCode,
'created_by': createdBy,
'created_on': createdOn,
'description': description,
'discount_type': discountType,
'display_name': displayName,
'end_time': endTime,
'fixed_amount': fixedAmount,
'href': href,
'id': id,
'invoice_note': invoiceNote,
'last_updated_by': lastUpdatedBy,
'last_updated_on': lastUpdatedOn,
'max_use_per_account': maxUsePerAccount,
'max_use_per_order': maxUsePerOrder,
'max_use_total': maxUseTotal,
'name': name,
'object': object,
'owner_type': ownerType,
'percentage_amount': percentageAmount,
'price_is_inclusive_of_discount': priceIsInclusiveOfDiscount,
'priority': priority,
'redemption_required': redemptionRequired,
'stackable': stackable,
'start_time': startTime,
'status': status,
'tax_code': taxCode,
'version': version,
};