I've seen healthy trees in nurseries do this and am not sure why, but it does look frighteningly like what happens when the xylem gets plugged by a fungus, say.
I suggest that you take a deep breath and relax for a little while (after letting the seller know what has happened). As long as the axillary buds are alive and well, it will come back. There is an axillary bud at the base of every leaf petiole - the petiole base sorta cups around the outside of it. They will turn dark brown to black over the next few weeks if your tree is dead. Generally they will enlarge and become a brighter color (usually red) if they are alive and your tree really is okay.
I've got a 10 foot tall Higasayama JM in my yard that 'flamed out' like this at the nursery where I bought it several years ago. I, however, had the luxury of seeing it come back later in that summer before I bought it.