copyWith method

WebApiModulesUtilitiesMigrateCompleteMigrateSessionRequest copyWith({
  1. String? sessionId,
  2. bool? migrateToNewOrder,
  3. String? newOrderOfficeLocationId,
  4. String? newOrderWarehouseId,
  5. String? newOrderDealId,
  6. String? newOrderDepartmentId,
  7. String? newOrderOrderTypeId,
  8. String? newOrderDescription,
  9. String? newOrderRateType,
  10. String? newOrderFromDate,
  11. String? newOrderFromTime,
  12. String? newOrderToDate,
  13. String? newOrderToTime,
  14. String? newOrderBillingStopDate,
  15. bool? newOrderPendingPO,
  16. bool? newOrderFlatPO,
  17. String? newOrderPurchaseOrderNumber,
  18. double? newOrderPurchaseOrderAmount,
  19. bool? migrateToExistingOrder,
  20. String? existingOrderId,
  21. String? inventoryFulfillIncrement,
  22. bool? fulfillStrictPricingMatch,
  23. bool? copyLineItemNotes,
  24. bool? copyOrderNotes,
  25. bool? copyRentalRates,
  26. bool? updateBillingStopDate,
  27. DateTime? billingStopDate,
  28. String? officeLocationId,
  29. String? warehouseId,
  30. String? responsiblePersonId,
  31. bool? checkItemsOut,
})

Implementation

WebApiModulesUtilitiesMigrateCompleteMigrateSessionRequest copyWith(
    {String? sessionId,
    bool? migrateToNewOrder,
    String? newOrderOfficeLocationId,
    String? newOrderWarehouseId,
    String? newOrderDealId,
    String? newOrderDepartmentId,
    String? newOrderOrderTypeId,
    String? newOrderDescription,
    String? newOrderRateType,
    String? newOrderFromDate,
    String? newOrderFromTime,
    String? newOrderToDate,
    String? newOrderToTime,
    String? newOrderBillingStopDate,
    bool? newOrderPendingPO,
    bool? newOrderFlatPO,
    String? newOrderPurchaseOrderNumber,
    double? newOrderPurchaseOrderAmount,
    bool? migrateToExistingOrder,
    String? existingOrderId,
    String? inventoryFulfillIncrement,
    bool? fulfillStrictPricingMatch,
    bool? copyLineItemNotes,
    bool? copyOrderNotes,
    bool? copyRentalRates,
    bool? updateBillingStopDate,
    DateTime? billingStopDate,
    String? officeLocationId,
    String? warehouseId,
    String? responsiblePersonId,
    bool? checkItemsOut}) {
  return WebApiModulesUtilitiesMigrateCompleteMigrateSessionRequest(
      sessionId: sessionId ?? this.sessionId,
      migrateToNewOrder: migrateToNewOrder ?? this.migrateToNewOrder,
      newOrderOfficeLocationId:
          newOrderOfficeLocationId ?? this.newOrderOfficeLocationId,
      newOrderWarehouseId: newOrderWarehouseId ?? this.newOrderWarehouseId,
      newOrderDealId: newOrderDealId ?? this.newOrderDealId,
      newOrderDepartmentId: newOrderDepartmentId ?? this.newOrderDepartmentId,
      newOrderOrderTypeId: newOrderOrderTypeId ?? this.newOrderOrderTypeId,
      newOrderDescription: newOrderDescription ?? this.newOrderDescription,
      newOrderRateType: newOrderRateType ?? this.newOrderRateType,
      newOrderFromDate: newOrderFromDate ?? this.newOrderFromDate,
      newOrderFromTime: newOrderFromTime ?? this.newOrderFromTime,
      newOrderToDate: newOrderToDate ?? this.newOrderToDate,
      newOrderToTime: newOrderToTime ?? this.newOrderToTime,
      newOrderBillingStopDate:
          newOrderBillingStopDate ?? this.newOrderBillingStopDate,
      newOrderPendingPO: newOrderPendingPO ?? this.newOrderPendingPO,
      newOrderFlatPO: newOrderFlatPO ?? this.newOrderFlatPO,
      newOrderPurchaseOrderNumber:
          newOrderPurchaseOrderNumber ?? this.newOrderPurchaseOrderNumber,
      newOrderPurchaseOrderAmount:
          newOrderPurchaseOrderAmount ?? this.newOrderPurchaseOrderAmount,
      migrateToExistingOrder:
          migrateToExistingOrder ?? this.migrateToExistingOrder,
      existingOrderId: existingOrderId ?? this.existingOrderId,
      inventoryFulfillIncrement:
          inventoryFulfillIncrement ?? this.inventoryFulfillIncrement,
      fulfillStrictPricingMatch:
          fulfillStrictPricingMatch ?? this.fulfillStrictPricingMatch,
      copyLineItemNotes: copyLineItemNotes ?? this.copyLineItemNotes,
      copyOrderNotes: copyOrderNotes ?? this.copyOrderNotes,
      copyRentalRates: copyRentalRates ?? this.copyRentalRates,
      updateBillingStopDate:
          updateBillingStopDate ?? this.updateBillingStopDate,
      billingStopDate: billingStopDate ?? this.billingStopDate,
      officeLocationId: officeLocationId ?? this.officeLocationId,
      warehouseId: warehouseId ?? this.warehouseId,
      responsiblePersonId: responsiblePersonId ?? this.responsiblePersonId,
      checkItemsOut: checkItemsOut ?? this.checkItemsOut);
}