copyWithWrapped method

WebApiModulesAgentOrderCopyQuoteOrderRequest copyWithWrapped({
  1. Wrapped<String>? copyToType,
  2. Wrapped<String?>? locationId,
  3. Wrapped<String?>? warehouseId,
  4. Wrapped<String?>? newDescription,
  5. Wrapped<bool?>? copyLineItemUnitCosts,
  6. Wrapped<bool?>? copyLineItemNotes,
  7. Wrapped<bool?>? useCurrentPricing,
  8. Wrapped<bool?>? copyOrderNotes,
  9. Wrapped<bool?>? combineSubs,
  10. Wrapped<bool?>? copyDocuments,
  11. Wrapped<bool?>? copyCarrierShipVia,
  12. 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));
}