CommodityItemEntity.fromJson constructor

CommodityItemEntity.fromJson(
  1. dynamic json
)

Implementation

CommodityItemEntity.fromJson(dynamic json) {
  gracePeriod = json['gracePeriod'];
  prdId = json['prdId'];
  firstDeductionType = json['firstDeductionType'];
  ourReceiveAccount = json['ourReceiveAccount'];
  remark = json['remark'];
  type = json['type'];
  operator = json['operator'];
  firstPeriodType = json['firstPeriodType'];
  payType = json['payType'];
  sdkVersionShow = json['sdkVersionShow'];
  imageUrl = json['imageUrl'];
  ctime = json['ctime'];
  iosProductId = json['iosProductId'];
  signType = json['signType'];
  id = json['id'];
  groupInfo = json['groupInfo'];
  shelveStatus = json['shelveStatus'];
  group = json['group'];
  unitPrice = json['unitPrice'];
  customParamInfoList = json['customParamInfoList'];
  paymentSchemes = json['paymentSchemes'];
  prdName = json['prdName'];
  utime = json['utime'];
  deductionTime = json['deductionTime'];
  firstDeductionTime = json['firstDeductionTime'];
  commodityId = json['commodityId'];
  signingRedirectUrl = json['signingRedirectUrl'];
  firstPeriod = json['firstPeriod'];
  customParam = json['customParam'];
  getPriceUrl = json['getPriceUrl'];
  timeliness = json['timeliness'];
  commodityProperty = json['commodityProperty'];
  prdMchMappingId = json['prdMchMappingId'];
  ourReceiveBank = json['ourReceiveBank'];
  commodityDesc = json['commodityDesc'];
  ourReceiveSubjectId = json['ourReceiveSubjectId'];
  commodityName = json['commodityName'];
  desc = json['desc'];
  status = json['status'];
  promotion = json['promotion'];
  storeEntity = json['storeEntity']  != null ? CommodityStoreEntity.fromJson(json['storeEntity']) : null;
}