OrderTotalPrice.fromJson constructor
OrderTotalPrice.fromJson(
- Map<String, dynamic> json
)
Implementation
OrderTotalPrice.fromJson(Map<String, dynamic> json) {
id = json['id'];
description = json['description'];
name = json['name'];
priceType = json['priceType'];
recurringChargePeriod = json['recurringChargePeriod'];
unitOfMeasure = json['unitOfMeasure'];
billingAccount = json['billingAccount'];
price = json['price'] != null ? new Price.fromJson(json['price']) : null;
if (json['priceAlteration'] != null) {
priceAlteration = [];
json['priceAlteration'].forEach((v) {
priceAlteration!.add(v);
});
}
productOfferingPrice = json['productOfferingPrice'];
atBaseType = json['atBaseType'];
atSchemaLocation = json['atSchemaLocation'];
atType = json['atType'];
}