copyWith method
WebApiModulesSettingsSystemSettingsConsignmentSettingsConsignmentSettings
copyWith({
- String? consignmentSettingsId,
- String? consignmentSettingsName,
- bool? enableConsignment,
- String? consignmentColor,
- String? consignorFeePoRateId,
- String? consignorFeePoRateICode,
- String? consignorFeePoRateDescription,
- String? consignorFeePoTypeId,
- String? consignorFeePoType,
- String? defaultConsignorFeeBasedOn,
- int? defaultConsignorPercent,
- int? defaultHousePercent,
- String? reReceiveConsignedItemUnretiredReasonId,
- String? reReceiveConsignedItemUnretiredReason,
- bool? hideConsignmentTransactionsOnSubRentalTab,
- bool? awardConsignorFeesForStaged,
- bool? awardFullConsignorFeeEvenWhenItemsAreOverfulfilled,
- bool? defaultTreatConsignedQtyAsOwned,
- String? dateStamp,
- String? auditNote,
- String? recordTitle,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - List<
FwStandardDataFwTranslatedValue> ? translation,
Implementation
WebApiModulesSettingsSystemSettingsConsignmentSettingsConsignmentSettings
copyWith(
{String? consignmentSettingsId,
String? consignmentSettingsName,
bool? enableConsignment,
String? consignmentColor,
String? consignorFeePoRateId,
String? consignorFeePoRateICode,
String? consignorFeePoRateDescription,
String? consignorFeePoTypeId,
String? consignorFeePoType,
String? defaultConsignorFeeBasedOn,
int? defaultConsignorPercent,
int? defaultHousePercent,
String? reReceiveConsignedItemUnretiredReasonId,
String? reReceiveConsignedItemUnretiredReason,
bool? hideConsignmentTransactionsOnSubRentalTab,
bool? awardConsignorFeesForStaged,
bool? awardFullConsignorFeeEvenWhenItemsAreOverfulfilled,
bool? defaultTreatConsignedQtyAsOwned,
String? dateStamp,
String? auditNote,
String? recordTitle,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
List<FwStandardDataFwTranslatedValue>? translation}) {
return WebApiModulesSettingsSystemSettingsConsignmentSettingsConsignmentSettings(
consignmentSettingsId:
consignmentSettingsId ?? this.consignmentSettingsId,
consignmentSettingsName:
consignmentSettingsName ?? this.consignmentSettingsName,
enableConsignment: enableConsignment ?? this.enableConsignment,
consignmentColor: consignmentColor ?? this.consignmentColor,
consignorFeePoRateId: consignorFeePoRateId ?? this.consignorFeePoRateId,
consignorFeePoRateICode:
consignorFeePoRateICode ?? this.consignorFeePoRateICode,
consignorFeePoRateDescription:
consignorFeePoRateDescription ?? this.consignorFeePoRateDescription,
consignorFeePoTypeId: consignorFeePoTypeId ?? this.consignorFeePoTypeId,
consignorFeePoType: consignorFeePoType ?? this.consignorFeePoType,
defaultConsignorFeeBasedOn:
defaultConsignorFeeBasedOn ?? this.defaultConsignorFeeBasedOn,
defaultConsignorPercent:
defaultConsignorPercent ?? this.defaultConsignorPercent,
defaultHousePercent: defaultHousePercent ?? this.defaultHousePercent,
reReceiveConsignedItemUnretiredReasonId:
reReceiveConsignedItemUnretiredReasonId ??
this.reReceiveConsignedItemUnretiredReasonId,
reReceiveConsignedItemUnretiredReason:
reReceiveConsignedItemUnretiredReason ??
this.reReceiveConsignedItemUnretiredReason,
hideConsignmentTransactionsOnSubRentalTab:
hideConsignmentTransactionsOnSubRentalTab ??
this.hideConsignmentTransactionsOnSubRentalTab,
awardConsignorFeesForStaged:
awardConsignorFeesForStaged ?? this.awardConsignorFeesForStaged,
awardFullConsignorFeeEvenWhenItemsAreOverfulfilled:
awardFullConsignorFeeEvenWhenItemsAreOverfulfilled ??
this.awardFullConsignorFeeEvenWhenItemsAreOverfulfilled,
defaultTreatConsignedQtyAsOwned: defaultTreatConsignedQtyAsOwned ??
this.defaultTreatConsignedQtyAsOwned,
dateStamp: dateStamp ?? this.dateStamp,
auditNote: auditNote ?? this.auditNote,
recordTitle: recordTitle ?? this.recordTitle,
fields: fields ?? this.fields,
custom: custom ?? this.custom,
defaultFieldAttributes:
defaultFieldAttributes ?? this.defaultFieldAttributes,
translation: translation ?? this.translation);
}