copyWithWrapped method

WebApiModulesInventoryPhysicalInventoryPhysicalInventoryCloseRequest copyWithWrapped({
  1. Wrapped<String?>? physicalInventoryId,
  2. Wrapped<bool?>? addAndRetireInventory,
})

Implementation

WebApiModulesInventoryPhysicalInventoryPhysicalInventoryCloseRequest
    copyWithWrapped(
        {Wrapped<String?>? physicalInventoryId,
        Wrapped<bool?>? addAndRetireInventory}) {
  return WebApiModulesInventoryPhysicalInventoryPhysicalInventoryCloseRequest(
      physicalInventoryId: (physicalInventoryId != null
          ? physicalInventoryId.value
          : this.physicalInventoryId),
      addAndRetireInventory: (addAndRetireInventory != null
          ? addAndRetireInventory.value
          : this.addAndRetireInventory));
}