copyWithWrapped method
WebApiModulesHomeControlsOrderItemSplitOrderItemRequest
copyWithWrapped({
- Wrapped<
String?> ? orderId, - Wrapped<
String?> ? orderItemId, - Wrapped<
double?> ? splitQuantity, - Wrapped<
double?> ? splitConsignQuantity, - Wrapped<
bool?> ? splitEntirePackage, - Wrapped<
bool?> ? separateLine, - Wrapped<
bool?> ? stagedOutOnly, - Wrapped<
bool?> ? outOnly, - Wrapped<
bool?> ? inOnly, - Wrapped<
String?> ? consignorId, - Wrapped<
String?> ? consignorAgreementId, - Wrapped<
bool?> ? reSortItemsAfterSplit,
Implementation
WebApiModulesHomeControlsOrderItemSplitOrderItemRequest copyWithWrapped(
{Wrapped<String?>? orderId,
Wrapped<String?>? orderItemId,
Wrapped<double?>? splitQuantity,
Wrapped<double?>? splitConsignQuantity,
Wrapped<bool?>? splitEntirePackage,
Wrapped<bool?>? separateLine,
Wrapped<bool?>? stagedOutOnly,
Wrapped<bool?>? outOnly,
Wrapped<bool?>? inOnly,
Wrapped<String?>? consignorId,
Wrapped<String?>? consignorAgreementId,
Wrapped<bool?>? reSortItemsAfterSplit}) {
return WebApiModulesHomeControlsOrderItemSplitOrderItemRequest(
orderId: (orderId != null ? orderId.value : this.orderId),
orderItemId:
(orderItemId != null ? orderItemId.value : this.orderItemId),
splitQuantity:
(splitQuantity != null ? splitQuantity.value : this.splitQuantity),
splitConsignQuantity: (splitConsignQuantity != null
? splitConsignQuantity.value
: this.splitConsignQuantity),
splitEntirePackage: (splitEntirePackage != null
? splitEntirePackage.value
: this.splitEntirePackage),
separateLine:
(separateLine != null ? separateLine.value : this.separateLine),
stagedOutOnly:
(stagedOutOnly != null ? stagedOutOnly.value : this.stagedOutOnly),
outOnly: (outOnly != null ? outOnly.value : this.outOnly),
inOnly: (inOnly != null ? inOnly.value : this.inOnly),
consignorId:
(consignorId != null ? consignorId.value : this.consignorId),
consignorAgreementId: (consignorAgreementId != null
? consignorAgreementId.value
: this.consignorAgreementId),
reSortItemsAfterSplit: (reSortItemsAfterSplit != null
? reSortItemsAfterSplit.value
: this.reSortItemsAfterSplit));
}