OrderTotalPrice.fromJson constructor

OrderTotalPrice.fromJson(
  1. 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;
  productOfferingPrice = json['productOfferingPrice'] != null
      ? new ProductOfferingPrice.fromJson(json['productOfferingPrice'])
      : null;
  atBaseType = json['atBaseType'];
  atSchemaLocation = json['atSchemaLocation'];
  atType = json['atType'];
}