copyWithWrapped method
WebApiModulesSettingsDepartmentLocationDepartmentLocation
copyWithWrapped({
- Wrapped<
int?> ? id, - Wrapped<
String?> ? departmentId, - Wrapped<
String?> ? department, - Wrapped<
String?> ? locationId, - Wrapped<
String?> ? location, - Wrapped<
String?> ? defaultOrderTypeId, - Wrapped<
String?> ? defaultOrderType, - Wrapped<
String?> ? defaultTransferTypeId, - Wrapped<
String?> ? defaultTransferType, - Wrapped<
String?> ? glPrefix, - Wrapped<
String?> ? glSuffix, - Wrapped<
bool?> ? creditCardFeeFlag, - Wrapped<
String?> ? creditCardFeeId, - Wrapped<
String?> ? creditCardFeeICode, - Wrapped<
String?> ? creditCardFeeDescription, - Wrapped<
double?> ? creditCardFeePercent, - Wrapped<
bool?> ? allowDecreaseOrderQuantityWhenStaged, - Wrapped<
bool?> ? allowDecreaseOrderQuantityWhenOut, - Wrapped<
bool?> ? autoCreditOnSalesReturn, - Wrapped<
String?> ? depositFeeRateId, - Wrapped<
String?> ? depositFeeRateICode, - Wrapped<
String?> ? depositFeeRateDescription, - Wrapped<
bool?> ? updateEstimatedStartAndStopDatesOnSubPurchaseOrders, - Wrapped<
bool?> ? promptToUpdateEstimatedStartAndStopDatesOnSubPurchaseOrders, - Wrapped<
bool?> ? updateBillingStartAndStopDatesOnSubPurchaseOrders, - Wrapped<
bool?> ? promptToUpdateBillingStartAndStopDatesOnSubPurchaseOrders, - Wrapped<
bool?> ? purchaseOrderRequireFirstApproval, - Wrapped<
bool?> ? purchaseOrderRequireSecondApproval, - Wrapped<
bool?> ? purchaseOrderAllowSecondApprovalWithoutFirstApproval, - Wrapped<
double?> ? purchaseOrderUnapproveIncreaseAmount, - Wrapped<
double?> ? purchaseOrderUnapproveIncreasePercent, - Wrapped<
bool?> ? purchaseOrderPreventReceiveUnapproved, - Wrapped<
double?> ? purchaseOrderFirstApprovalThresholdRental, - Wrapped<
double?> ? purchaseOrderFirstApprovalThresholdSales, - Wrapped<
double?> ? purchaseOrderFirstApprovalThresholdParts, - Wrapped<
double?> ? purchaseOrderFirstApprovalThresholdMiscellaneous, - Wrapped<
double?> ? purchaseOrderFirstApprovalThresholdLabor, - Wrapped<
double?> ? purchaseOrderFirstApprovalThresholdRepair, - Wrapped<
double?> ? purchaseOrderFirstApprovalThresholdSubRental, - Wrapped<
double?> ? purchaseOrderFirstApprovalThresholdSubSales, - Wrapped<
double?> ? purchaseOrderFirstApprovalThresholdSubMiscellaneous, - Wrapped<
double?> ? purchaseOrderFirstApprovalThresholdSubLabor, - Wrapped<
double?> ? purchaseOrderSecondApprovalThresholdRental, - Wrapped<
double?> ? purchaseOrderSecondApprovalThresholdSales, - Wrapped<
double?> ? purchaseOrderSecondApprovalThresholdParts, - Wrapped<
double?> ? purchaseOrderSecondApprovalThresholdMiscellaneous, - Wrapped<
double?> ? purchaseOrderSecondApprovalThresholdLabor, - Wrapped<
double?> ? purchaseOrderSecondApprovalThresholdRepair, - Wrapped<
double?> ? purchaseOrderSecondApprovalThresholdSubRental, - Wrapped<
double?> ? purchaseOrderSecondApprovalThresholdSubSales, - Wrapped<
double?> ? purchaseOrderSecondApprovalThresholdSubMiscellaneous, - Wrapped<
double?> ? purchaseOrderSecondApprovalThresholdSubLabor, - Wrapped<
bool?> ? completeRentalWithLAndDOrder, - Wrapped<
bool?> ? storefrontEnableInventoryInquiryEmails, - Wrapped<
String?> ? storefrontInventoryInquiryEmailToAddress, - Wrapped<
bool?> ? storefrontEnableQuoteRequestEmails, - Wrapped<
String?> ? storefrontQuoteRequestEmailToAddress, - Wrapped<
bool?> ? useResponsiblePerson, - Wrapped<
bool?> ? requireResponsiblePerson, - Wrapped<
String?> ? vendorInvoiceModificationsPushToPo, - Wrapped<
bool?> ? inactive, - Wrapped<
String?> ? dateStamp, - Wrapped<
String?> ? auditNote, - Wrapped<
String?> ? recordTitle, - Wrapped<
List< ? fields,FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ?> - Wrapped<
List< ? custom,FwStandardDataFwCustomValue> ?> - Wrapped<
List< ? defaultFieldAttributes,FwStandardDataFwDefaultAttribute> ?> - Wrapped<
List< ? translation,FwStandardDataFwTranslatedValue> ?>
Implementation
WebApiModulesSettingsDepartmentLocationDepartmentLocation copyWithWrapped(
{Wrapped<int?>? id,
Wrapped<String?>? departmentId,
Wrapped<String?>? department,
Wrapped<String?>? locationId,
Wrapped<String?>? location,
Wrapped<String?>? defaultOrderTypeId,
Wrapped<String?>? defaultOrderType,
Wrapped<String?>? defaultTransferTypeId,
Wrapped<String?>? defaultTransferType,
Wrapped<String?>? glPrefix,
Wrapped<String?>? glSuffix,
Wrapped<bool?>? creditCardFeeFlag,
Wrapped<String?>? creditCardFeeId,
Wrapped<String?>? creditCardFeeICode,
Wrapped<String?>? creditCardFeeDescription,
Wrapped<double?>? creditCardFeePercent,
Wrapped<bool?>? allowDecreaseOrderQuantityWhenStaged,
Wrapped<bool?>? allowDecreaseOrderQuantityWhenOut,
Wrapped<bool?>? autoCreditOnSalesReturn,
Wrapped<String?>? depositFeeRateId,
Wrapped<String?>? depositFeeRateICode,
Wrapped<String?>? depositFeeRateDescription,
Wrapped<bool?>? updateEstimatedStartAndStopDatesOnSubPurchaseOrders,
Wrapped<bool?>?
promptToUpdateEstimatedStartAndStopDatesOnSubPurchaseOrders,
Wrapped<bool?>? updateBillingStartAndStopDatesOnSubPurchaseOrders,
Wrapped<bool?>? promptToUpdateBillingStartAndStopDatesOnSubPurchaseOrders,
Wrapped<bool?>? purchaseOrderRequireFirstApproval,
Wrapped<bool?>? purchaseOrderRequireSecondApproval,
Wrapped<bool?>? purchaseOrderAllowSecondApprovalWithoutFirstApproval,
Wrapped<double?>? purchaseOrderUnapproveIncreaseAmount,
Wrapped<double?>? purchaseOrderUnapproveIncreasePercent,
Wrapped<bool?>? purchaseOrderPreventReceiveUnapproved,
Wrapped<double?>? purchaseOrderFirstApprovalThresholdRental,
Wrapped<double?>? purchaseOrderFirstApprovalThresholdSales,
Wrapped<double?>? purchaseOrderFirstApprovalThresholdParts,
Wrapped<double?>? purchaseOrderFirstApprovalThresholdMiscellaneous,
Wrapped<double?>? purchaseOrderFirstApprovalThresholdLabor,
Wrapped<double?>? purchaseOrderFirstApprovalThresholdRepair,
Wrapped<double?>? purchaseOrderFirstApprovalThresholdSubRental,
Wrapped<double?>? purchaseOrderFirstApprovalThresholdSubSales,
Wrapped<double?>? purchaseOrderFirstApprovalThresholdSubMiscellaneous,
Wrapped<double?>? purchaseOrderFirstApprovalThresholdSubLabor,
Wrapped<double?>? purchaseOrderSecondApprovalThresholdRental,
Wrapped<double?>? purchaseOrderSecondApprovalThresholdSales,
Wrapped<double?>? purchaseOrderSecondApprovalThresholdParts,
Wrapped<double?>? purchaseOrderSecondApprovalThresholdMiscellaneous,
Wrapped<double?>? purchaseOrderSecondApprovalThresholdLabor,
Wrapped<double?>? purchaseOrderSecondApprovalThresholdRepair,
Wrapped<double?>? purchaseOrderSecondApprovalThresholdSubRental,
Wrapped<double?>? purchaseOrderSecondApprovalThresholdSubSales,
Wrapped<double?>? purchaseOrderSecondApprovalThresholdSubMiscellaneous,
Wrapped<double?>? purchaseOrderSecondApprovalThresholdSubLabor,
Wrapped<bool?>? completeRentalWithLAndDOrder,
Wrapped<bool?>? storefrontEnableInventoryInquiryEmails,
Wrapped<String?>? storefrontInventoryInquiryEmailToAddress,
Wrapped<bool?>? storefrontEnableQuoteRequestEmails,
Wrapped<String?>? storefrontQuoteRequestEmailToAddress,
Wrapped<bool?>? useResponsiblePerson,
Wrapped<bool?>? requireResponsiblePerson,
Wrapped<String?>? vendorInvoiceModificationsPushToPo,
Wrapped<bool?>? inactive,
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 WebApiModulesSettingsDepartmentLocationDepartmentLocation(
id: (id != null ? id.value : this.id),
departmentId:
(departmentId != null ? departmentId.value : this.departmentId),
department: (department != null ? department.value : this.department),
locationId: (locationId != null ? locationId.value : this.locationId),
location: (location != null ? location.value : this.location),
defaultOrderTypeId: (defaultOrderTypeId != null
? defaultOrderTypeId.value
: this.defaultOrderTypeId),
defaultOrderType: (defaultOrderType != null
? defaultOrderType.value
: this.defaultOrderType),
defaultTransferTypeId: (defaultTransferTypeId != null
? defaultTransferTypeId.value
: this.defaultTransferTypeId),
defaultTransferType: (defaultTransferType != null
? defaultTransferType.value
: this.defaultTransferType),
glPrefix: (glPrefix != null ? glPrefix.value : this.glPrefix),
glSuffix: (glSuffix != null ? glSuffix.value : this.glSuffix),
creditCardFeeFlag: (creditCardFeeFlag != null
? creditCardFeeFlag.value
: this.creditCardFeeFlag),
creditCardFeeId: (creditCardFeeId != null
? creditCardFeeId.value
: this.creditCardFeeId),
creditCardFeeICode: (creditCardFeeICode != null
? creditCardFeeICode.value
: this.creditCardFeeICode),
creditCardFeeDescription: (creditCardFeeDescription != null
? creditCardFeeDescription.value
: this.creditCardFeeDescription),
creditCardFeePercent: (creditCardFeePercent != null
? creditCardFeePercent.value
: this.creditCardFeePercent),
allowDecreaseOrderQuantityWhenStaged: (allowDecreaseOrderQuantityWhenStaged != null
? allowDecreaseOrderQuantityWhenStaged.value
: this.allowDecreaseOrderQuantityWhenStaged),
allowDecreaseOrderQuantityWhenOut: (allowDecreaseOrderQuantityWhenOut != null
? allowDecreaseOrderQuantityWhenOut.value
: this.allowDecreaseOrderQuantityWhenOut),
autoCreditOnSalesReturn: (autoCreditOnSalesReturn != null
? autoCreditOnSalesReturn.value
: this.autoCreditOnSalesReturn),
depositFeeRateId: (depositFeeRateId != null
? depositFeeRateId.value
: this.depositFeeRateId),
depositFeeRateICode: (depositFeeRateICode != null
? depositFeeRateICode.value
: this.depositFeeRateICode),
depositFeeRateDescription: (depositFeeRateDescription != null
? depositFeeRateDescription.value
: this.depositFeeRateDescription),
updateEstimatedStartAndStopDatesOnSubPurchaseOrders: (updateEstimatedStartAndStopDatesOnSubPurchaseOrders != null
? updateEstimatedStartAndStopDatesOnSubPurchaseOrders.value
: this.updateEstimatedStartAndStopDatesOnSubPurchaseOrders),
promptToUpdateEstimatedStartAndStopDatesOnSubPurchaseOrders: (promptToUpdateEstimatedStartAndStopDatesOnSubPurchaseOrders != null
? promptToUpdateEstimatedStartAndStopDatesOnSubPurchaseOrders.value
: this.promptToUpdateEstimatedStartAndStopDatesOnSubPurchaseOrders),
updateBillingStartAndStopDatesOnSubPurchaseOrders: (updateBillingStartAndStopDatesOnSubPurchaseOrders != null
? updateBillingStartAndStopDatesOnSubPurchaseOrders.value
: this.updateBillingStartAndStopDatesOnSubPurchaseOrders),
promptToUpdateBillingStartAndStopDatesOnSubPurchaseOrders: (promptToUpdateBillingStartAndStopDatesOnSubPurchaseOrders != null
? promptToUpdateBillingStartAndStopDatesOnSubPurchaseOrders.value
: this.promptToUpdateBillingStartAndStopDatesOnSubPurchaseOrders),
purchaseOrderRequireFirstApproval: (purchaseOrderRequireFirstApproval != null
? purchaseOrderRequireFirstApproval.value
: this.purchaseOrderRequireFirstApproval),
purchaseOrderRequireSecondApproval: (purchaseOrderRequireSecondApproval != null
? purchaseOrderRequireSecondApproval.value
: this.purchaseOrderRequireSecondApproval),
purchaseOrderAllowSecondApprovalWithoutFirstApproval:
(purchaseOrderAllowSecondApprovalWithoutFirstApproval != null
? purchaseOrderAllowSecondApprovalWithoutFirstApproval.value
: this.purchaseOrderAllowSecondApprovalWithoutFirstApproval),
purchaseOrderUnapproveIncreaseAmount: (purchaseOrderUnapproveIncreaseAmount != null ? purchaseOrderUnapproveIncreaseAmount.value : this.purchaseOrderUnapproveIncreaseAmount),
purchaseOrderUnapproveIncreasePercent: (purchaseOrderUnapproveIncreasePercent != null ? purchaseOrderUnapproveIncreasePercent.value : this.purchaseOrderUnapproveIncreasePercent),
purchaseOrderPreventReceiveUnapproved: (purchaseOrderPreventReceiveUnapproved != null ? purchaseOrderPreventReceiveUnapproved.value : this.purchaseOrderPreventReceiveUnapproved),
purchaseOrderFirstApprovalThresholdRental: (purchaseOrderFirstApprovalThresholdRental != null ? purchaseOrderFirstApprovalThresholdRental.value : this.purchaseOrderFirstApprovalThresholdRental),
purchaseOrderFirstApprovalThresholdSales: (purchaseOrderFirstApprovalThresholdSales != null ? purchaseOrderFirstApprovalThresholdSales.value : this.purchaseOrderFirstApprovalThresholdSales),
purchaseOrderFirstApprovalThresholdParts: (purchaseOrderFirstApprovalThresholdParts != null ? purchaseOrderFirstApprovalThresholdParts.value : this.purchaseOrderFirstApprovalThresholdParts),
purchaseOrderFirstApprovalThresholdMiscellaneous: (purchaseOrderFirstApprovalThresholdMiscellaneous != null ? purchaseOrderFirstApprovalThresholdMiscellaneous.value : this.purchaseOrderFirstApprovalThresholdMiscellaneous),
purchaseOrderFirstApprovalThresholdLabor: (purchaseOrderFirstApprovalThresholdLabor != null ? purchaseOrderFirstApprovalThresholdLabor.value : this.purchaseOrderFirstApprovalThresholdLabor),
purchaseOrderFirstApprovalThresholdRepair: (purchaseOrderFirstApprovalThresholdRepair != null ? purchaseOrderFirstApprovalThresholdRepair.value : this.purchaseOrderFirstApprovalThresholdRepair),
purchaseOrderFirstApprovalThresholdSubRental: (purchaseOrderFirstApprovalThresholdSubRental != null ? purchaseOrderFirstApprovalThresholdSubRental.value : this.purchaseOrderFirstApprovalThresholdSubRental),
purchaseOrderFirstApprovalThresholdSubSales: (purchaseOrderFirstApprovalThresholdSubSales != null ? purchaseOrderFirstApprovalThresholdSubSales.value : this.purchaseOrderFirstApprovalThresholdSubSales),
purchaseOrderFirstApprovalThresholdSubMiscellaneous: (purchaseOrderFirstApprovalThresholdSubMiscellaneous != null ? purchaseOrderFirstApprovalThresholdSubMiscellaneous.value : this.purchaseOrderFirstApprovalThresholdSubMiscellaneous),
purchaseOrderFirstApprovalThresholdSubLabor: (purchaseOrderFirstApprovalThresholdSubLabor != null ? purchaseOrderFirstApprovalThresholdSubLabor.value : this.purchaseOrderFirstApprovalThresholdSubLabor),
purchaseOrderSecondApprovalThresholdRental: (purchaseOrderSecondApprovalThresholdRental != null ? purchaseOrderSecondApprovalThresholdRental.value : this.purchaseOrderSecondApprovalThresholdRental),
purchaseOrderSecondApprovalThresholdSales: (purchaseOrderSecondApprovalThresholdSales != null ? purchaseOrderSecondApprovalThresholdSales.value : this.purchaseOrderSecondApprovalThresholdSales),
purchaseOrderSecondApprovalThresholdParts: (purchaseOrderSecondApprovalThresholdParts != null ? purchaseOrderSecondApprovalThresholdParts.value : this.purchaseOrderSecondApprovalThresholdParts),
purchaseOrderSecondApprovalThresholdMiscellaneous: (purchaseOrderSecondApprovalThresholdMiscellaneous != null ? purchaseOrderSecondApprovalThresholdMiscellaneous.value : this.purchaseOrderSecondApprovalThresholdMiscellaneous),
purchaseOrderSecondApprovalThresholdLabor: (purchaseOrderSecondApprovalThresholdLabor != null ? purchaseOrderSecondApprovalThresholdLabor.value : this.purchaseOrderSecondApprovalThresholdLabor),
purchaseOrderSecondApprovalThresholdRepair: (purchaseOrderSecondApprovalThresholdRepair != null ? purchaseOrderSecondApprovalThresholdRepair.value : this.purchaseOrderSecondApprovalThresholdRepair),
purchaseOrderSecondApprovalThresholdSubRental: (purchaseOrderSecondApprovalThresholdSubRental != null ? purchaseOrderSecondApprovalThresholdSubRental.value : this.purchaseOrderSecondApprovalThresholdSubRental),
purchaseOrderSecondApprovalThresholdSubSales: (purchaseOrderSecondApprovalThresholdSubSales != null ? purchaseOrderSecondApprovalThresholdSubSales.value : this.purchaseOrderSecondApprovalThresholdSubSales),
purchaseOrderSecondApprovalThresholdSubMiscellaneous: (purchaseOrderSecondApprovalThresholdSubMiscellaneous != null ? purchaseOrderSecondApprovalThresholdSubMiscellaneous.value : this.purchaseOrderSecondApprovalThresholdSubMiscellaneous),
purchaseOrderSecondApprovalThresholdSubLabor: (purchaseOrderSecondApprovalThresholdSubLabor != null ? purchaseOrderSecondApprovalThresholdSubLabor.value : this.purchaseOrderSecondApprovalThresholdSubLabor),
completeRentalWithLAndDOrder: (completeRentalWithLAndDOrder != null ? completeRentalWithLAndDOrder.value : this.completeRentalWithLAndDOrder),
storefrontEnableInventoryInquiryEmails: (storefrontEnableInventoryInquiryEmails != null ? storefrontEnableInventoryInquiryEmails.value : this.storefrontEnableInventoryInquiryEmails),
storefrontInventoryInquiryEmailToAddress: (storefrontInventoryInquiryEmailToAddress != null ? storefrontInventoryInquiryEmailToAddress.value : this.storefrontInventoryInquiryEmailToAddress),
storefrontEnableQuoteRequestEmails: (storefrontEnableQuoteRequestEmails != null ? storefrontEnableQuoteRequestEmails.value : this.storefrontEnableQuoteRequestEmails),
storefrontQuoteRequestEmailToAddress: (storefrontQuoteRequestEmailToAddress != null ? storefrontQuoteRequestEmailToAddress.value : this.storefrontQuoteRequestEmailToAddress),
useResponsiblePerson: (useResponsiblePerson != null ? useResponsiblePerson.value : this.useResponsiblePerson),
requireResponsiblePerson: (requireResponsiblePerson != null ? requireResponsiblePerson.value : this.requireResponsiblePerson),
vendorInvoiceModificationsPushToPo: (vendorInvoiceModificationsPushToPo != null ? vendorInvoiceModificationsPushToPo.value : this.vendorInvoiceModificationsPushToPo),
inactive: (inactive != null ? inactive.value : this.inactive),
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));
}