toMap method

Map<String, dynamic> toMap()

Converts to a map value

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'TaxInclusiveAmt': taxInclusiveAmt,
    'ItemRef': itemRef?.toMap(),
    'CustomerRef': customerRef?.toMap(),
    'PriceLevelRef': priceLevelRef?.toMap(),
    'ClassRef': classRef?.toMap(),
    'TaxCodeRef': taxCodeRef?.toMap(),
    'MarkupInfo': markupInfo?.toMap(),
    'BillableStatus': billableStatus,
    'Qty': qty,
    'UnitPrice': unitPrice,
  };
}