ProductRefOrValue.fromJson constructor

ProductRefOrValue.fromJson(
  1. Map<String, dynamic> json
)

Implementation

ProductRefOrValue.fromJson(Map<String, dynamic> json) {
  id = json['id'];
  href = json['href'];
  description = json['description'];
  isBundle = json['isBundle'];
  isCustomerVisible = json['isCustomerVisible'];
  name = json['name'];
  orderDate = json['orderDate'];
  productSerialNumber = json['productSerialNumber'];
  startDate = json['startDate'];
  terminationDate = json['terminationDate'];
  agreement = json['agreement'];
  billingAccount = json['billingAccount'];
  place = json['place'];
  product = json['product'];
  productCharacteristic = json['productCharacteristic'];
  productOffering = json['productOffering'] != null
      ? new ProductOfferingPrice.fromJson(json['productOffering'])
      : null;
  relatedProductOrderItem = json['relatedProductOrderItem'];
  productPrice = json['productPrice'];
  productSpecification = json['productSpecification'];
  productTerm = json['productTerm'];
  realizingResource = json['realizingResource'];
  realizingService = json['realizingService'];
  relatedParty = json['relatedParty'];
  status = json['status'];
  baseType = json['@baseType'];
  schemaLocation = json['@schemaLocation'];
  type = json['@type'];
  referredType = json['@referredType'];
}