copyWith method

WebApiModulesSettingsInventorySettingsStorefrontUpdateCatalogItemPercentRequest copyWith({
  1. int? onlineCatalogItemId,
  2. double? ownedQuantityPercent,
})

Implementation

WebApiModulesSettingsInventorySettingsStorefrontUpdateCatalogItemPercentRequest
copyWith({int? onlineCatalogItemId, double? ownedQuantityPercent}) {
  return WebApiModulesSettingsInventorySettingsStorefrontUpdateCatalogItemPercentRequest(
    onlineCatalogItemId: onlineCatalogItemId ?? this.onlineCatalogItemId,
    ownedQuantityPercent: ownedQuantityPercent ?? this.ownedQuantityPercent,
  );
}