copyWithWrapped method
WebApiModulesAgentOrderCopyQuoteOrderRequest
copyWithWrapped({
- Wrapped<
String> ? copyToType, - Wrapped<
String?> ? locationId, - Wrapped<
String?> ? warehouseId, - Wrapped<
String?> ? newDescription, - Wrapped<
bool?> ? copyLineItemUnitCosts, - 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<bool?>? copyLineItemUnitCosts,
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),
copyLineItemUnitCosts: (copyLineItemUnitCosts != null
? copyLineItemUnitCosts.value
: this.copyLineItemUnitCosts),
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));
}