copyWith method

WebApiModulesAgentOrderCopyQuoteOrderRequest copyWith({
  1. String? copyToType,
  2. String? locationId,
  3. String? warehouseId,
  4. String? newDescription,
  5. String? pickDate,
  6. String? pickTime,
  7. String? estimatedStartDate,
  8. String? estimatedStartTime,
  9. String? estimatedStopDate,
  10. String? estimatedStopTime,
  11. bool? copyLineItemUnitCosts,
  12. bool? copyWithUserSelectedDates,
  13. bool? copyLineItemNotes,
  14. bool? useCurrentPricing,
  15. bool? copyOrderNotes,
  16. bool? combineSubs,
  17. bool? copyDocuments,
  18. bool? copyCarrierShipVia,
  19. 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,
  );
}