copyWith method
Implementation
WebApiModulesIntegrationsStorefrontGetProductWarehouseDetailsResponse
copyWith({
WebApiModulesIntegrationsStorefrontProductAvailability? availability,
double? dailyRate,
double? weeklyRate,
double? monthlyRate,
String? currencySymbol,
String? currencyCode,
}) {
return WebApiModulesIntegrationsStorefrontGetProductWarehouseDetailsResponse(
availability: availability ?? this.availability,
dailyRate: dailyRate ?? this.dailyRate,
weeklyRate: weeklyRate ?? this.weeklyRate,
monthlyRate: monthlyRate ?? this.monthlyRate,
currencySymbol: currencySymbol ?? this.currencySymbol,
currencyCode: currencyCode ?? this.currencyCode,
);
}