BillingAddress.fromJson constructor

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

Implementation

BillingAddress.fromJson(Map<String, dynamic> json) {
  streetName = json['streetName'];
  postalCode = json['postalCode'];
  salesTerritory1 = json['salesTerritory1'];
  salesTerritory2 = json['salesTerritory2'];
  salesTerritory3 = json['salesTerritory3'];
  salesTerritory4 = json['salesTerritory4'];
  salesTerritory1Name = json['salesTerritory1Name'];
  salesTerritory2Name = json['salesTerritory2Name'];
  salesTerritory3Name = json['salesTerritory3Name'];
  salesTerritory4Name = json['salesTerritory4Name'];
  regionName = json['regionName'];
  regionId = json['regionId'];
  addressType = json['addressType'];
  building = json['building'];
  buildingNe = json['buildingNe'];
  formattedAddress = json['formattedAddress'];
  id = json['id'];
  defaultValue = json['default'];
  defaultAddress = json['defaultAddress'];
}