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? fulfillStrictNestingLvlMatch,
  24. bool? copyLineItemNotes,
  25. bool? copyOrderNotes,
  26. bool? copyRentalRates,
  27. bool? updateBillingStopDate,
  28. DateTime? billingStopDate,
  29. String? officeLocationId,
  30. String? warehouseId,
  31. String? responsiblePersonId,
  32. 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? fulfillStrictNestingLvlMatch,
  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,
    fulfillStrictNestingLvlMatch:
        fulfillStrictNestingLvlMatch ?? this.fulfillStrictNestingLvlMatch,
    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,
  );
}