copyWithWrapped method
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,
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));
}