Overview of the Package Object in Create Logistics
The Package Object is a snapshot of a package at a specific moment. It can be obtained via .getItemDetail() on a package (which exposes a package field) or by using a packager/re-packager's getPackage() method.
Important Mutability Note: Because it is a snapshot, if the package data is changed by an addon or another computer using setAddress(), the snapshot will not be notified and will become outdated. If a package is currently inside a packager/re-packager (obtained via getPackage() or the package_created event), isEditable() will return true, allowing the address to be modified.