copyWithWrapped method

WebApiModulesSettingsSystemSettingsConsignmentSettingsConsignmentSettings copyWithWrapped({
  1. Wrapped<String?>? consignmentSettingsId,
  2. Wrapped<String?>? consignmentSettingsName,
  3. Wrapped<bool?>? enableConsignment,
  4. Wrapped<String?>? consignmentColor,
  5. Wrapped<String?>? consignorFeePoRateId,
  6. Wrapped<String?>? consignorFeePoRateICode,
  7. Wrapped<String?>? consignorFeePoRateDescription,
  8. Wrapped<String?>? consignorFeePoTypeId,
  9. Wrapped<String?>? consignorFeePoType,
  10. Wrapped<String?>? defaultConsignorFeeBasedOn,
  11. Wrapped<int?>? defaultConsignorPercent,
  12. Wrapped<int?>? defaultHousePercent,
  13. Wrapped<String?>? reReceiveConsignedItemUnretiredReasonId,
  14. Wrapped<String?>? reReceiveConsignedItemUnretiredReason,
  15. Wrapped<bool?>? hideConsignmentTransactionsOnSubRentalTab,
  16. Wrapped<bool?>? awardConsignorFeesForStaged,
  17. Wrapped<bool?>? awardFullConsignorFeeEvenWhenItemsAreOverfulfilled,
  18. Wrapped<bool?>? defaultTreatConsignedQtyAsOwned,
  19. Wrapped<String?>? dateStamp,
  20. Wrapped<String?>? auditNote,
  21. Wrapped<String?>? recordTitle,
  22. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  23. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  24. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  25. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

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