copyWith method

CommodityItemEntity copyWith({
  1. dynamic gracePeriod,
  2. String? prdId,
  3. int? firstDeductionType,
  4. dynamic ourReceiveAccount,
  5. dynamic remark,
  6. int? type,
  7. String? operator,
  8. int? firstPeriodType,
  9. int? payType,
  10. dynamic sdkVersionShow,
  11. dynamic imageUrl,
  12. String? ctime,
  13. String? iosProductId,
  14. dynamic signType,
  15. int? id,
  16. dynamic groupInfo,
  17. int? shelveStatus,
  18. String? group,
  19. double? unitPrice,
  20. dynamic customParamInfoList,
  21. int? paymentSchemes,
  22. String? prdName,
  23. String? utime,
  24. int? deductionTime,
  25. int? firstDeductionTime,
  26. String? commodityId,
  27. dynamic signingRedirectUrl,
  28. dynamic firstPeriod,
  29. dynamic customParam,
  30. dynamic getPriceUrl,
  31. int? timeliness,
  32. String? commodityProperty,
  33. dynamic prdMchMappingId,
  34. dynamic ourReceiveBank,
  35. String? commodityDesc,
  36. dynamic ourReceiveSubjectId,
  37. String? commodityName,
  38. String? desc,
  39. int? status,
  40. String? promotion,
  41. CommodityStoreEntity? storeEntity,
})

Implementation

CommodityItemEntity copyWith({  dynamic gracePeriod,
  String? prdId,
  int? firstDeductionType,
  dynamic ourReceiveAccount,
  dynamic remark,
  int? type,
  String? operator,
  int? firstPeriodType,
  int? payType,
  dynamic sdkVersionShow,
  dynamic imageUrl,
  String? ctime,
  String? iosProductId,
  dynamic signType,
  int? id,
  dynamic groupInfo,
  int? shelveStatus,
  String? group,
  double? unitPrice,
  dynamic customParamInfoList,
  int? paymentSchemes,
  String? prdName,
  String? utime,
  int? deductionTime,
  int? firstDeductionTime,
  String? commodityId,
  dynamic signingRedirectUrl,
  dynamic firstPeriod,
  dynamic customParam,
  dynamic getPriceUrl,
  int? timeliness,
  String? commodityProperty,
  dynamic prdMchMappingId,
  dynamic ourReceiveBank,
  String? commodityDesc,
  dynamic ourReceiveSubjectId,
  String? commodityName,
  String? desc,
  int? status,
  String? promotion,
  CommodityStoreEntity? storeEntity
}) => CommodityItemEntity(  gracePeriod: gracePeriod ?? this.gracePeriod,
  prdId: prdId ?? this.prdId,
  firstDeductionType: firstDeductionType ?? this.firstDeductionType,
  ourReceiveAccount: ourReceiveAccount ?? this.ourReceiveAccount,
  remark: remark ?? this.remark,
  type: type ?? this.type,
  operator: operator ?? this.operator,
  firstPeriodType: firstPeriodType ?? this.firstPeriodType,
  payType: payType ?? this.payType,
  sdkVersionShow: sdkVersionShow ?? this.sdkVersionShow,
  imageUrl: imageUrl ?? this.imageUrl,
  ctime: ctime ?? this.ctime,
  iosProductId: iosProductId ?? this.iosProductId,
  signType: signType ?? this.signType,
  id: id ?? this.id,
  groupInfo: groupInfo ?? this.groupInfo,
  shelveStatus: shelveStatus ?? this.shelveStatus,
  group: group ?? this.group,
  unitPrice: unitPrice ?? this.unitPrice,
  customParamInfoList: customParamInfoList ?? this.customParamInfoList,
  paymentSchemes: paymentSchemes ?? this.paymentSchemes,
  prdName: prdName ?? this.prdName,
  utime: utime ?? this.utime,
  deductionTime: deductionTime ?? this.deductionTime,
  firstDeductionTime: firstDeductionTime ?? this.firstDeductionTime,
  commodityId: commodityId ?? this.commodityId,
  signingRedirectUrl: signingRedirectUrl ?? this.signingRedirectUrl,
  firstPeriod: firstPeriod ?? this.firstPeriod,
  customParam: customParam ?? this.customParam,
  getPriceUrl: getPriceUrl ?? this.getPriceUrl,
  timeliness: timeliness ?? this.timeliness,
  commodityProperty: commodityProperty ?? this.commodityProperty,
  prdMchMappingId: prdMchMappingId ?? this.prdMchMappingId,
  ourReceiveBank: ourReceiveBank ?? this.ourReceiveBank,
  commodityDesc: commodityDesc ?? this.commodityDesc,
  ourReceiveSubjectId: ourReceiveSubjectId ?? this.ourReceiveSubjectId,
  commodityName: commodityName ?? this.commodityName,
  desc: desc ?? this.desc,
  status: status ?? this.status,
  promotion: promotion ?? this.promotion,
    storeEntity: storeEntity ?? this.storeEntity
);