copyWith method

WebApiModulesSettingsSystemSettingsConsignmentSettingsConsignmentSettings copyWith({
  1. String? consignmentSettingsId,
  2. String? consignmentSettingsName,
  3. bool? enableConsignment,
  4. String? consignmentColor,
  5. String? consignorFeePoRateId,
  6. String? consignorFeePoRateICode,
  7. String? consignorFeePoRateDescription,
  8. String? consignorFeePoTypeId,
  9. String? consignorFeePoDescription,
  10. String? consignorFeePoType,
  11. String? defaultConsignorFeeBasedOn,
  12. int? defaultConsignorPercent,
  13. int? defaultHousePercent,
  14. String? reReceiveConsignedItemUnretiredReasonId,
  15. String? reReceiveConsignedItemUnretiredReason,
  16. bool? hideConsignmentTransactionsOnSubRentalTab,
  17. bool? awardConsignorFeesForStaged,
  18. bool? awardFullConsignorFeeEvenWhenItemsAreOverfulfilled,
  19. bool? defaultTreatConsignedQtyAsOwned,
  20. String? dateStamp,
  21. bool? defaultProcessConsignmentSelectAllInvoices,
  22. String? auditNote,
  23. String? recordTitle,
  24. dynamic urlIdentifier,
  25. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  26. List<FwStandardDataFwCustomValue>? custom,
  27. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  28. FwStandardBusinessLogicFwBusinessLogic? original,
  29. List<FwStandardDataFwTranslatedValue>? translation,
  30. bool? hasImport,
  31. String? createdByUserId,
  32. String? createdByUserName,
  33. String? createdDateTime,
  34. String? modifiedByUserId,
  35. String? modifiedByUserName,
  36. String? modifiedDateTime,
})

Implementation

WebApiModulesSettingsSystemSettingsConsignmentSettingsConsignmentSettings
copyWith({
  String? consignmentSettingsId,
  String? consignmentSettingsName,
  bool? enableConsignment,
  String? consignmentColor,
  String? consignorFeePoRateId,
  String? consignorFeePoRateICode,
  String? consignorFeePoRateDescription,
  String? consignorFeePoTypeId,
  String? consignorFeePoDescription,
  String? consignorFeePoType,
  String? defaultConsignorFeeBasedOn,
  int? defaultConsignorPercent,
  int? defaultHousePercent,
  String? reReceiveConsignedItemUnretiredReasonId,
  String? reReceiveConsignedItemUnretiredReason,
  bool? hideConsignmentTransactionsOnSubRentalTab,
  bool? awardConsignorFeesForStaged,
  bool? awardFullConsignorFeeEvenWhenItemsAreOverfulfilled,
  bool? defaultTreatConsignedQtyAsOwned,
  String? dateStamp,
  bool? defaultProcessConsignmentSelectAllInvoices,
  String? auditNote,
  String? recordTitle,
  dynamic urlIdentifier,
  List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  List<FwStandardDataFwCustomValue>? custom,
  List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  FwStandardBusinessLogicFwBusinessLogic? original,
  List<FwStandardDataFwTranslatedValue>? translation,
  bool? hasImport,
  String? createdByUserId,
  String? createdByUserName,
  String? createdDateTime,
  String? modifiedByUserId,
  String? modifiedByUserName,
  String? modifiedDateTime,
}) {
  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,
    consignorFeePoDescription:
        consignorFeePoDescription ?? this.consignorFeePoDescription,
    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,
    defaultProcessConsignmentSelectAllInvoices:
        defaultProcessConsignmentSelectAllInvoices ??
        this.defaultProcessConsignmentSelectAllInvoices,
    auditNote: auditNote ?? this.auditNote,
    recordTitle: recordTitle ?? this.recordTitle,
    urlIdentifier: urlIdentifier ?? this.urlIdentifier,
    fields: fields ?? this.fields,
    custom: custom ?? this.custom,
    defaultFieldAttributes:
        defaultFieldAttributes ?? this.defaultFieldAttributes,
    original: original ?? this.original,
    translation: translation ?? this.translation,
    hasImport: hasImport ?? this.hasImport,
    createdByUserId: createdByUserId ?? this.createdByUserId,
    createdByUserName: createdByUserName ?? this.createdByUserName,
    createdDateTime: createdDateTime ?? this.createdDateTime,
    modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
    modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
    modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
  );
}