copyWith method
WebApiModulesAgentOrderCopyQuoteOrderRequest
copyWith(
{ - String? copyToType,
- String? locationId,
- String? warehouseId,
- String? newDescription,
- bool? copyLineItemUnitCosts,
- 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,
bool? copyLineItemUnitCosts,
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,
copyLineItemUnitCosts:
copyLineItemUnitCosts ?? this.copyLineItemUnitCosts,
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);
}