AdhocTaxes.fromJson constructor
Implementation
AdhocTaxes.fromJson(Map<String, dynamic> json) {
name = json['name'];
unitPrice = json['unitPrice'] != null
? new UnitPrice.fromJson(json['unitPrice'])
: null;
totalPrice = json['totalPrice'] != null
? new UnitPrice.fromJson(json['totalPrice'])
: null;
quantity = json['quantity'];
taxType = json['taxType'];
taxRate = json['taxRate'];
adhoc = json['adhoc'];
}