copyWith method
WebApiModulesHomeControlsOrderItemSplitOrderItemRequest
copyWith(
{ - String? orderId,
- String? orderItemId,
- double? splitQuantity,
- double? splitConsignQuantity,
- bool? splitEntirePackage,
- bool? separateLine,
- bool? stagedOutOnly,
- bool? outOnly,
- bool? inOnly,
- String? consignorId,
- String? consignorAgreementId,
- bool? reSortItemsAfterSplit,
})
Implementation
WebApiModulesHomeControlsOrderItemSplitOrderItemRequest copyWith(
{String? orderId,
String? orderItemId,
double? splitQuantity,
double? splitConsignQuantity,
bool? splitEntirePackage,
bool? separateLine,
bool? stagedOutOnly,
bool? outOnly,
bool? inOnly,
String? consignorId,
String? consignorAgreementId,
bool? reSortItemsAfterSplit}) {
return WebApiModulesHomeControlsOrderItemSplitOrderItemRequest(
orderId: orderId ?? this.orderId,
orderItemId: orderItemId ?? this.orderItemId,
splitQuantity: splitQuantity ?? this.splitQuantity,
splitConsignQuantity: splitConsignQuantity ?? this.splitConsignQuantity,
splitEntirePackage: splitEntirePackage ?? this.splitEntirePackage,
separateLine: separateLine ?? this.separateLine,
stagedOutOnly: stagedOutOnly ?? this.stagedOutOnly,
outOnly: outOnly ?? this.outOnly,
inOnly: inOnly ?? this.inOnly,
consignorId: consignorId ?? this.consignorId,
consignorAgreementId: consignorAgreementId ?? this.consignorAgreementId,
reSortItemsAfterSplit:
reSortItemsAfterSplit ?? this.reSortItemsAfterSplit);
}