copyWithWrapped method
StorefrontPackageItem
copyWithWrapped({
- Wrapped<
List< ? images,WebApiModulesIntegrationsStorefrontProductImage> ?> - Wrapped<
int?> ? productId, - Wrapped<
String?> ? inventoryPackageInventoryId, - Wrapped<
String?> ? iCode, - Wrapped<
String?> ? description, - Wrapped<
String?> ? inventoryId, - Wrapped<
bool?> ? isPrimary, - Wrapped<
double?> ? defaultQuantity, - Wrapped<
String?> ? defaultQuantityColor, - Wrapped<
bool?> ? isOption, - Wrapped<
bool?> ? charge, - Wrapped<
bool?> ? noChargePrint, - Wrapped<
bool?> ? isRequired, - Wrapped<
String?> ? optionColor, - Wrapped<
String?> ? itemClass, - Wrapped<
String?> ? itemTrackedBy, - Wrapped<
String?> ? availFor, - Wrapped<
String?> ? availFrom, - Wrapped<
double?> ? orderBy, - Wrapped<
String?> ? itemColor, - Wrapped<
String?> ? isNestedComplete, - Wrapped<
String?> ? inactive, - Wrapped<
String?> ? warehouseId, - Wrapped<
String?> ? parentId, - Wrapped<
String?> ? packageItemClass, - Wrapped<
String?> ? itemNonDiscountable, - Wrapped<
String?> ? primaryInventoryId, - Wrapped<
String?> ? unitId, - Wrapped<
String?> ? packageId, - Wrapped<
WebApiModulesIntegrationsStorefrontProductAvailability?> ? availability, - Wrapped<
double?> ? dailyRate, - Wrapped<
double?> ? weeklyRate, - Wrapped<
double?> ? monthlyRate, - Wrapped<
double?> ? dailyExtended, - Wrapped<
double?> ? weeklyExtended, - Wrapped<
double?> ? monthlyExtended, - Wrapped<
double?> ? salesPrice, - Wrapped<
double?> ? retail, - Wrapped<
String?> ? currencyId, - Wrapped<
String?> ? currencyCode, - Wrapped<
String?> ? currencySymbol, - Wrapped<
String?> ? dateStamp,
Implementation
StorefrontPackageItem copyWithWrapped({
Wrapped<List<WebApiModulesIntegrationsStorefrontProductImage>?>? images,
Wrapped<int?>? productId,
Wrapped<String?>? inventoryPackageInventoryId,
Wrapped<String?>? iCode,
Wrapped<String?>? description,
Wrapped<String?>? inventoryId,
Wrapped<bool?>? isPrimary,
Wrapped<double?>? defaultQuantity,
Wrapped<String?>? defaultQuantityColor,
Wrapped<bool?>? isOption,
Wrapped<bool?>? charge,
Wrapped<bool?>? noChargePrint,
Wrapped<bool?>? isRequired,
Wrapped<String?>? optionColor,
Wrapped<String?>? itemClass,
Wrapped<String?>? itemTrackedBy,
Wrapped<String?>? availFor,
Wrapped<String?>? availFrom,
Wrapped<double?>? orderBy,
Wrapped<String?>? itemColor,
Wrapped<String?>? isNestedComplete,
Wrapped<String?>? inactive,
Wrapped<String?>? warehouseId,
Wrapped<String?>? parentId,
Wrapped<String?>? packageItemClass,
Wrapped<String?>? itemNonDiscountable,
Wrapped<String?>? primaryInventoryId,
Wrapped<String?>? unitId,
Wrapped<String?>? packageId,
Wrapped<WebApiModulesIntegrationsStorefrontProductAvailability?>?
availability,
Wrapped<double?>? dailyRate,
Wrapped<double?>? weeklyRate,
Wrapped<double?>? monthlyRate,
Wrapped<double?>? dailyExtended,
Wrapped<double?>? weeklyExtended,
Wrapped<double?>? monthlyExtended,
Wrapped<double?>? salesPrice,
Wrapped<double?>? retail,
Wrapped<String?>? currencyId,
Wrapped<String?>? currencyCode,
Wrapped<String?>? currencySymbol,
Wrapped<String?>? dateStamp,
}) {
return StorefrontPackageItem(
images: (images != null ? images.value : this.images),
productId: (productId != null ? productId.value : this.productId),
inventoryPackageInventoryId: (inventoryPackageInventoryId != null
? inventoryPackageInventoryId.value
: this.inventoryPackageInventoryId),
iCode: (iCode != null ? iCode.value : this.iCode),
description: (description != null ? description.value : this.description),
inventoryId: (inventoryId != null ? inventoryId.value : this.inventoryId),
isPrimary: (isPrimary != null ? isPrimary.value : this.isPrimary),
defaultQuantity: (defaultQuantity != null
? defaultQuantity.value
: this.defaultQuantity),
defaultQuantityColor: (defaultQuantityColor != null
? defaultQuantityColor.value
: this.defaultQuantityColor),
isOption: (isOption != null ? isOption.value : this.isOption),
charge: (charge != null ? charge.value : this.charge),
noChargePrint: (noChargePrint != null
? noChargePrint.value
: this.noChargePrint),
isRequired: (isRequired != null ? isRequired.value : this.isRequired),
optionColor: (optionColor != null ? optionColor.value : this.optionColor),
itemClass: (itemClass != null ? itemClass.value : this.itemClass),
itemTrackedBy: (itemTrackedBy != null
? itemTrackedBy.value
: this.itemTrackedBy),
availFor: (availFor != null ? availFor.value : this.availFor),
availFrom: (availFrom != null ? availFrom.value : this.availFrom),
orderBy: (orderBy != null ? orderBy.value : this.orderBy),
itemColor: (itemColor != null ? itemColor.value : this.itemColor),
isNestedComplete: (isNestedComplete != null
? isNestedComplete.value
: this.isNestedComplete),
inactive: (inactive != null ? inactive.value : this.inactive),
warehouseId: (warehouseId != null ? warehouseId.value : this.warehouseId),
parentId: (parentId != null ? parentId.value : this.parentId),
packageItemClass: (packageItemClass != null
? packageItemClass.value
: this.packageItemClass),
itemNonDiscountable: (itemNonDiscountable != null
? itemNonDiscountable.value
: this.itemNonDiscountable),
primaryInventoryId: (primaryInventoryId != null
? primaryInventoryId.value
: this.primaryInventoryId),
unitId: (unitId != null ? unitId.value : this.unitId),
packageId: (packageId != null ? packageId.value : this.packageId),
availability: (availability != null
? availability.value
: this.availability),
dailyRate: (dailyRate != null ? dailyRate.value : this.dailyRate),
weeklyRate: (weeklyRate != null ? weeklyRate.value : this.weeklyRate),
monthlyRate: (monthlyRate != null ? monthlyRate.value : this.monthlyRate),
dailyExtended: (dailyExtended != null
? dailyExtended.value
: this.dailyExtended),
weeklyExtended: (weeklyExtended != null
? weeklyExtended.value
: this.weeklyExtended),
monthlyExtended: (monthlyExtended != null
? monthlyExtended.value
: this.monthlyExtended),
salesPrice: (salesPrice != null ? salesPrice.value : this.salesPrice),
retail: (retail != null ? retail.value : this.retail),
currencyId: (currencyId != null ? currencyId.value : this.currencyId),
currencyCode: (currencyCode != null
? currencyCode.value
: this.currencyCode),
currencySymbol: (currencySymbol != null
? currencySymbol.value
: this.currencySymbol),
dateStamp: (dateStamp != null ? dateStamp.value : this.dateStamp),
);
}