copyWithWrapped method

WebApiModulesInventoryInventorySearchInventorySearchRequest copyWithWrapped({
  1. Wrapped<String?>? sessionId,
  2. Wrapped<String?>? orderId,
  3. Wrapped<String?>? availableFor,
  4. Wrapped<String?>? warehouseId,
  5. Wrapped<String?>? languageId,
  6. Wrapped<String?>? currencyId,
  7. Wrapped<String?>? inventoryTypeId,
  8. Wrapped<String?>? categoryId,
  9. Wrapped<String?>? subCategoryId,
  10. Wrapped<String?>? classification,
  11. Wrapped<String?>? searchText,
  12. Wrapped<String?>? attributeId,
  13. Wrapped<String?>? attributeValueId,
  14. Wrapped<String?>? attributeValueRange,
  15. Wrapped<bool?>? showAvailability,
  16. Wrapped<DateTime?>? fromDate,
  17. Wrapped<String?>? fromTime,
  18. Wrapped<DateTime?>? toDate,
  19. Wrapped<String?>? toTime,
  20. Wrapped<bool?>? showImages,
  21. Wrapped<bool?>? hideInventoryWithZeroQuantity,
  22. Wrapped<bool?>? hideInventoryWithZeroQuantityAllWarehouses,
  23. Wrapped<List<FwStandardModelsCheckBoxListItem>?>? excelFields,
})

Implementation

WebApiModulesInventoryInventorySearchInventorySearchRequest copyWithWrapped({
  Wrapped<String?>? sessionId,
  Wrapped<String?>? orderId,
  Wrapped<String?>? availableFor,
  Wrapped<String?>? warehouseId,
  Wrapped<String?>? languageId,
  Wrapped<String?>? currencyId,
  Wrapped<String?>? inventoryTypeId,
  Wrapped<String?>? categoryId,
  Wrapped<String?>? subCategoryId,
  Wrapped<String?>? classification,
  Wrapped<String?>? searchText,
  Wrapped<String?>? attributeId,
  Wrapped<String?>? attributeValueId,
  Wrapped<String?>? attributeValueRange,
  Wrapped<bool?>? showAvailability,
  Wrapped<DateTime?>? fromDate,
  Wrapped<String?>? fromTime,
  Wrapped<DateTime?>? toDate,
  Wrapped<String?>? toTime,
  Wrapped<bool?>? showImages,
  Wrapped<bool?>? hideInventoryWithZeroQuantity,
  Wrapped<bool?>? hideInventoryWithZeroQuantityAllWarehouses,
  Wrapped<List<FwStandardModelsCheckBoxListItem>?>? excelFields,
}) {
  return WebApiModulesInventoryInventorySearchInventorySearchRequest(
    sessionId: (sessionId != null ? sessionId.value : this.sessionId),
    orderId: (orderId != null ? orderId.value : this.orderId),
    availableFor: (availableFor != null
        ? availableFor.value
        : this.availableFor),
    warehouseId: (warehouseId != null ? warehouseId.value : this.warehouseId),
    languageId: (languageId != null ? languageId.value : this.languageId),
    currencyId: (currencyId != null ? currencyId.value : this.currencyId),
    inventoryTypeId: (inventoryTypeId != null
        ? inventoryTypeId.value
        : this.inventoryTypeId),
    categoryId: (categoryId != null ? categoryId.value : this.categoryId),
    subCategoryId: (subCategoryId != null
        ? subCategoryId.value
        : this.subCategoryId),
    classification: (classification != null
        ? classification.value
        : this.classification),
    searchText: (searchText != null ? searchText.value : this.searchText),
    attributeId: (attributeId != null ? attributeId.value : this.attributeId),
    attributeValueId: (attributeValueId != null
        ? attributeValueId.value
        : this.attributeValueId),
    attributeValueRange: (attributeValueRange != null
        ? attributeValueRange.value
        : this.attributeValueRange),
    showAvailability: (showAvailability != null
        ? showAvailability.value
        : this.showAvailability),
    fromDate: (fromDate != null ? fromDate.value : this.fromDate),
    fromTime: (fromTime != null ? fromTime.value : this.fromTime),
    toDate: (toDate != null ? toDate.value : this.toDate),
    toTime: (toTime != null ? toTime.value : this.toTime),
    showImages: (showImages != null ? showImages.value : this.showImages),
    hideInventoryWithZeroQuantity: (hideInventoryWithZeroQuantity != null
        ? hideInventoryWithZeroQuantity.value
        : this.hideInventoryWithZeroQuantity),
    hideInventoryWithZeroQuantityAllWarehouses:
        (hideInventoryWithZeroQuantityAllWarehouses != null
        ? hideInventoryWithZeroQuantityAllWarehouses.value
        : this.hideInventoryWithZeroQuantityAllWarehouses),
    excelFields: (excelFields != null ? excelFields.value : this.excelFields),
  );
}