pallet scan object constructor that takes receiving object