copyWith method
WebApiModulesAgentOrderCopyQuoteOrderRequest
copyWith({
- String? copyToType,
- String? locationId,
- String? warehouseId,
- String? newDescription,
- String? pickDate,
- String? pickTime,
- String? estimatedStartDate,
- String? estimatedStartTime,
- String? estimatedStopDate,
- String? estimatedStopTime,
- bool? copyLineItemUnitCosts,
- bool? copyWithUserSelectedDates,
- bool? copyLineItemNotes,
- bool? useCurrentPricing,
- bool? copyOrderNotes,
- bool? combineSubs,
- bool? copyDocuments,
- bool? copyCarrierShipVia,
- bool? useCurrentDealTax,
Implementation
WebApiModulesAgentOrderCopyQuoteOrderRequest copyWith({
String? copyToType,
String? locationId,
String? warehouseId,
String? newDescription,
String? pickDate,
String? pickTime,
String? estimatedStartDate,
String? estimatedStartTime,
String? estimatedStopDate,
String? estimatedStopTime,
bool? copyLineItemUnitCosts,
bool? copyWithUserSelectedDates,
bool? copyLineItemNotes,
bool? useCurrentPricing,
bool? copyOrderNotes,
bool? combineSubs,
bool? copyDocuments,
bool? copyCarrierShipVia,
bool? useCurrentDealTax,
}) {
return WebApiModulesAgentOrderCopyQuoteOrderRequest(
copyToType: copyToType ?? this.copyToType,
locationId: locationId ?? this.locationId,
warehouseId: warehouseId ?? this.warehouseId,
newDescription: newDescription ?? this.newDescription,
pickDate: pickDate ?? this.pickDate,
pickTime: pickTime ?? this.pickTime,
estimatedStartDate: estimatedStartDate ?? this.estimatedStartDate,
estimatedStartTime: estimatedStartTime ?? this.estimatedStartTime,
estimatedStopDate: estimatedStopDate ?? this.estimatedStopDate,
estimatedStopTime: estimatedStopTime ?? this.estimatedStopTime,
copyLineItemUnitCosts:
copyLineItemUnitCosts ?? this.copyLineItemUnitCosts,
copyWithUserSelectedDates:
copyWithUserSelectedDates ?? this.copyWithUserSelectedDates,
copyLineItemNotes: copyLineItemNotes ?? this.copyLineItemNotes,
useCurrentPricing: useCurrentPricing ?? this.useCurrentPricing,
copyOrderNotes: copyOrderNotes ?? this.copyOrderNotes,
combineSubs: combineSubs ?? this.combineSubs,
copyDocuments: copyDocuments ?? this.copyDocuments,
copyCarrierShipVia: copyCarrierShipVia ?? this.copyCarrierShipVia,
useCurrentDealTax: useCurrentDealTax ?? this.useCurrentDealTax,
);
}