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? consignorFeePoType,
  10. String? defaultConsignorFeeBasedOn,
  11. int? defaultConsignorPercent,
  12. int? defaultHousePercent,
  13. String? reReceiveConsignedItemUnretiredReasonId,
  14. String? reReceiveConsignedItemUnretiredReason,
  15. bool? hideConsignmentTransactionsOnSubRentalTab,
  16. bool? awardConsignorFeesForStaged,
  17. bool? awardFullConsignorFeeEvenWhenItemsAreOverfulfilled,
  18. bool? defaultTreatConsignedQtyAsOwned,
  19. String? dateStamp,
  20. String? auditNote,
  21. String? recordTitle,
  22. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  23. List<FwStandardDataFwCustomValue>? custom,
  24. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  25. 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);
}