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