copyWith method
WebApiModulesUtilitiesInventoryPurchaseUtilityInventoryPurchaseCompleteSessionRequest
copyWith({
- int? status,
- bool? success,
- String? msg,
- String? sessionId,
- String? inventoryId,
- int? quantity,
- String? warehouseId,
- String? aisleLocation,
- String? shelfLocation,
- String? manufacturerVendorId,
- String? manufacturerModelNumber,
- String? manufacturerPartNumber,
- String? countryId,
- int? warrantyDays,
- String? warrantyExpiration,
- String? purchaseVendorId,
- String? outsidePoNumber,
- DateTime? purchaseDate,
- DateTime? receiveDate,
- String? vendorPartNumber,
- String? currencyId,
- double? unitCost,
- String? originalShowId,
Implementation
WebApiModulesUtilitiesInventoryPurchaseUtilityInventoryPurchaseCompleteSessionRequest
copyWith(
{int? status,
bool? success,
String? msg,
String? sessionId,
String? inventoryId,
int? quantity,
String? warehouseId,
String? aisleLocation,
String? shelfLocation,
String? manufacturerVendorId,
String? manufacturerModelNumber,
String? manufacturerPartNumber,
String? countryId,
int? warrantyDays,
String? warrantyExpiration,
String? purchaseVendorId,
String? outsidePoNumber,
DateTime? purchaseDate,
DateTime? receiveDate,
String? vendorPartNumber,
String? currencyId,
double? unitCost,
String? originalShowId}) {
return WebApiModulesUtilitiesInventoryPurchaseUtilityInventoryPurchaseCompleteSessionRequest(
status: status ?? this.status,
success: success ?? this.success,
msg: msg ?? this.msg,
sessionId: sessionId ?? this.sessionId,
inventoryId: inventoryId ?? this.inventoryId,
quantity: quantity ?? this.quantity,
warehouseId: warehouseId ?? this.warehouseId,
aisleLocation: aisleLocation ?? this.aisleLocation,
shelfLocation: shelfLocation ?? this.shelfLocation,
manufacturerVendorId: manufacturerVendorId ?? this.manufacturerVendorId,
manufacturerModelNumber:
manufacturerModelNumber ?? this.manufacturerModelNumber,
manufacturerPartNumber:
manufacturerPartNumber ?? this.manufacturerPartNumber,
countryId: countryId ?? this.countryId,
warrantyDays: warrantyDays ?? this.warrantyDays,
warrantyExpiration: warrantyExpiration ?? this.warrantyExpiration,
purchaseVendorId: purchaseVendorId ?? this.purchaseVendorId,
outsidePoNumber: outsidePoNumber ?? this.outsidePoNumber,
purchaseDate: purchaseDate ?? this.purchaseDate,
receiveDate: receiveDate ?? this.receiveDate,
vendorPartNumber: vendorPartNumber ?? this.vendorPartNumber,
currencyId: currencyId ?? this.currencyId,
unitCost: unitCost ?? this.unitCost,
originalShowId: originalShowId ?? this.originalShowId);
}