copyWithWrapped method

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

Implementation

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