copyWithWrapped method
WebApiModulesAgentOrderCopyQuoteOrderRequest
copyWithWrapped({
- Wrapped<
String> ? copyToType, - Wrapped<
String?> ? locationId, - Wrapped<
String?> ? warehouseId, - Wrapped<
String?> ? newDescription, - Wrapped<
String?> ? pickDate, - Wrapped<
String?> ? pickTime, - Wrapped<
String?> ? estimatedStartDate, - Wrapped<
String?> ? estimatedStartTime, - Wrapped<
String?> ? estimatedStopDate, - Wrapped<
String?> ? estimatedStopTime, - Wrapped<
bool?> ? copyLineItemUnitCosts, - Wrapped<
bool?> ? copyWithUserSelectedDates, - Wrapped<
bool?> ? copyLineItemNotes, - Wrapped<
bool?> ? useCurrentPricing, - Wrapped<
bool?> ? copyOrderNotes, - Wrapped<
bool?> ? combineSubs, - Wrapped<
bool?> ? copyDocuments, - Wrapped<
bool?> ? copyCarrierShipVia, - Wrapped<
bool?> ? useCurrentDealTax,
Implementation
WebApiModulesAgentOrderCopyQuoteOrderRequest copyWithWrapped({
Wrapped<String>? copyToType,
Wrapped<String?>? locationId,
Wrapped<String?>? warehouseId,
Wrapped<String?>? newDescription,
Wrapped<String?>? pickDate,
Wrapped<String?>? pickTime,
Wrapped<String?>? estimatedStartDate,
Wrapped<String?>? estimatedStartTime,
Wrapped<String?>? estimatedStopDate,
Wrapped<String?>? estimatedStopTime,
Wrapped<bool?>? copyLineItemUnitCosts,
Wrapped<bool?>? copyWithUserSelectedDates,
Wrapped<bool?>? copyLineItemNotes,
Wrapped<bool?>? useCurrentPricing,
Wrapped<bool?>? copyOrderNotes,
Wrapped<bool?>? combineSubs,
Wrapped<bool?>? copyDocuments,
Wrapped<bool?>? copyCarrierShipVia,
Wrapped<bool?>? useCurrentDealTax,
}) {
return WebApiModulesAgentOrderCopyQuoteOrderRequest(
copyToType: (copyToType != null ? copyToType.value : this.copyToType),
locationId: (locationId != null ? locationId.value : this.locationId),
warehouseId: (warehouseId != null ? warehouseId.value : this.warehouseId),
newDescription: (newDescription != null
? newDescription.value
: this.newDescription),
pickDate: (pickDate != null ? pickDate.value : this.pickDate),
pickTime: (pickTime != null ? pickTime.value : this.pickTime),
estimatedStartDate: (estimatedStartDate != null
? estimatedStartDate.value
: this.estimatedStartDate),
estimatedStartTime: (estimatedStartTime != null
? estimatedStartTime.value
: this.estimatedStartTime),
estimatedStopDate: (estimatedStopDate != null
? estimatedStopDate.value
: this.estimatedStopDate),
estimatedStopTime: (estimatedStopTime != null
? estimatedStopTime.value
: this.estimatedStopTime),
copyLineItemUnitCosts: (copyLineItemUnitCosts != null
? copyLineItemUnitCosts.value
: this.copyLineItemUnitCosts),
copyWithUserSelectedDates: (copyWithUserSelectedDates != null
? copyWithUserSelectedDates.value
: this.copyWithUserSelectedDates),
copyLineItemNotes: (copyLineItemNotes != null
? copyLineItemNotes.value
: this.copyLineItemNotes),
useCurrentPricing: (useCurrentPricing != null
? useCurrentPricing.value
: this.useCurrentPricing),
copyOrderNotes: (copyOrderNotes != null
? copyOrderNotes.value
: this.copyOrderNotes),
combineSubs: (combineSubs != null ? combineSubs.value : this.combineSubs),
copyDocuments: (copyDocuments != null
? copyDocuments.value
: this.copyDocuments),
copyCarrierShipVia: (copyCarrierShipVia != null
? copyCarrierShipVia.value
: this.copyCarrierShipVia),
useCurrentDealTax: (useCurrentDealTax != null
? useCurrentDealTax.value
: this.useCurrentDealTax),
);
}