copyWithWrapped method
Implementation
WebApiLogicAppFuncConsignmentSettingsResponse copyWithWrapped(
{Wrapped<bool?>? enableConsignment,
Wrapped<String?>? defaultConsignorFeeBasedOn,
Wrapped<int?>? defaultConsignorPercent,
Wrapped<int?>? defaultHousePercent,
Wrapped<bool?>? defaultTreatConsignedQtyAsOwned}) {
return WebApiLogicAppFuncConsignmentSettingsResponse(
enableConsignment: (enableConsignment != null
? enableConsignment.value
: this.enableConsignment),
defaultConsignorFeeBasedOn: (defaultConsignorFeeBasedOn != null
? defaultConsignorFeeBasedOn.value
: this.defaultConsignorFeeBasedOn),
defaultConsignorPercent: (defaultConsignorPercent != null
? defaultConsignorPercent.value
: this.defaultConsignorPercent),
defaultHousePercent: (defaultHousePercent != null
? defaultHousePercent.value
: this.defaultHousePercent),
defaultTreatConsignedQtyAsOwned:
(defaultTreatConsignedQtyAsOwned != null
? defaultTreatConsignedQtyAsOwned.value
: this.defaultTreatConsignedQtyAsOwned));
}