copyWith method
Implementation
WebApiLogicAppFuncConsignmentSettingsResponse copyWith(
{bool? enableConsignment,
String? defaultConsignorFeeBasedOn,
int? defaultConsignorPercent,
int? defaultHousePercent,
bool? defaultTreatConsignedQtyAsOwned}) {
return WebApiLogicAppFuncConsignmentSettingsResponse(
enableConsignment: enableConsignment ?? this.enableConsignment,
defaultConsignorFeeBasedOn:
defaultConsignorFeeBasedOn ?? this.defaultConsignorFeeBasedOn,
defaultConsignorPercent:
defaultConsignorPercent ?? this.defaultConsignorPercent,
defaultHousePercent: defaultHousePercent ?? this.defaultHousePercent,
defaultTreatConsignedQtyAsOwned: defaultTreatConsignedQtyAsOwned ??
this.defaultTreatConsignedQtyAsOwned);
}