copyWith method
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,
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
);