copyWithWrapped method

WebApiModulesUtilitiesInventoryPurchaseUtilityInventoryPurchaseCompleteSessionRequest copyWithWrapped({
  1. Wrapped<int?>? status,
  2. Wrapped<bool?>? success,
  3. Wrapped<String?>? msg,
  4. Wrapped<String?>? sessionId,
  5. Wrapped<String?>? inventoryId,
  6. Wrapped<int?>? quantity,
  7. Wrapped<String?>? warehouseId,
  8. Wrapped<String?>? aisleLocation,
  9. Wrapped<String?>? shelfLocation,
  10. Wrapped<String?>? manufacturerVendorId,
  11. Wrapped<String?>? manufacturerModelNumber,
  12. Wrapped<String?>? manufacturerPartNumber,
  13. Wrapped<String?>? countryId,
  14. Wrapped<int?>? warrantyDays,
  15. Wrapped<String?>? warrantyExpiration,
  16. Wrapped<String?>? purchaseVendorId,
  17. Wrapped<String?>? outsidePoNumber,
  18. Wrapped<DateTime?>? purchaseDate,
  19. Wrapped<DateTime?>? receiveDate,
  20. Wrapped<String?>? receiveTime,
  21. Wrapped<String?>? vendorPartNumber,
  22. Wrapped<String?>? currencyId,
  23. Wrapped<double?>? unitCost,
  24. Wrapped<String?>? originalShowId,
})

Implementation

WebApiModulesUtilitiesInventoryPurchaseUtilityInventoryPurchaseCompleteSessionRequest
copyWithWrapped({
  Wrapped<int?>? status,
  Wrapped<bool?>? success,
  Wrapped<String?>? msg,
  Wrapped<String?>? sessionId,
  Wrapped<String?>? inventoryId,
  Wrapped<int?>? quantity,
  Wrapped<String?>? warehouseId,
  Wrapped<String?>? aisleLocation,
  Wrapped<String?>? shelfLocation,
  Wrapped<String?>? manufacturerVendorId,
  Wrapped<String?>? manufacturerModelNumber,
  Wrapped<String?>? manufacturerPartNumber,
  Wrapped<String?>? countryId,
  Wrapped<int?>? warrantyDays,
  Wrapped<String?>? warrantyExpiration,
  Wrapped<String?>? purchaseVendorId,
  Wrapped<String?>? outsidePoNumber,
  Wrapped<DateTime?>? purchaseDate,
  Wrapped<DateTime?>? receiveDate,
  Wrapped<String?>? receiveTime,
  Wrapped<String?>? vendorPartNumber,
  Wrapped<String?>? currencyId,
  Wrapped<double?>? unitCost,
  Wrapped<String?>? originalShowId,
}) {
  return WebApiModulesUtilitiesInventoryPurchaseUtilityInventoryPurchaseCompleteSessionRequest(
    status: (status != null ? status.value : this.status),
    success: (success != null ? success.value : this.success),
    msg: (msg != null ? msg.value : this.msg),
    sessionId: (sessionId != null ? sessionId.value : this.sessionId),
    inventoryId: (inventoryId != null ? inventoryId.value : this.inventoryId),
    quantity: (quantity != null ? quantity.value : this.quantity),
    warehouseId: (warehouseId != null ? warehouseId.value : this.warehouseId),
    aisleLocation: (aisleLocation != null
        ? aisleLocation.value
        : this.aisleLocation),
    shelfLocation: (shelfLocation != null
        ? shelfLocation.value
        : this.shelfLocation),
    manufacturerVendorId: (manufacturerVendorId != null
        ? manufacturerVendorId.value
        : this.manufacturerVendorId),
    manufacturerModelNumber: (manufacturerModelNumber != null
        ? manufacturerModelNumber.value
        : this.manufacturerModelNumber),
    manufacturerPartNumber: (manufacturerPartNumber != null
        ? manufacturerPartNumber.value
        : this.manufacturerPartNumber),
    countryId: (countryId != null ? countryId.value : this.countryId),
    warrantyDays: (warrantyDays != null
        ? warrantyDays.value
        : this.warrantyDays),
    warrantyExpiration: (warrantyExpiration != null
        ? warrantyExpiration.value
        : this.warrantyExpiration),
    purchaseVendorId: (purchaseVendorId != null
        ? purchaseVendorId.value
        : this.purchaseVendorId),
    outsidePoNumber: (outsidePoNumber != null
        ? outsidePoNumber.value
        : this.outsidePoNumber),
    purchaseDate: (purchaseDate != null
        ? purchaseDate.value
        : this.purchaseDate),
    receiveDate: (receiveDate != null ? receiveDate.value : this.receiveDate),
    receiveTime: (receiveTime != null ? receiveTime.value : this.receiveTime),
    vendorPartNumber: (vendorPartNumber != null
        ? vendorPartNumber.value
        : this.vendorPartNumber),
    currencyId: (currencyId != null ? currencyId.value : this.currencyId),
    unitCost: (unitCost != null ? unitCost.value : this.unitCost),
    originalShowId: (originalShowId != null
        ? originalShowId.value
        : this.originalShowId),
  );
}