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