Wairama had pleaded guilty to a charge of aggravated robbery and the unlawful taking of a green Subaru Legacy station wagon from Lipscombe Cr, Havelock North, for use in the heist.
The robbery came a few hours after an unrelated superette robbery in Napier and in a spate of smaller business robberies which have been plaguing Hawke's Bay this year.
A police summary said Wairama and a 16-year-old took the station wagon between 7pm and 7.45pm, picked-up two other teenagers from a nearby address, and drove into the Havelock North Village to start "casing" petrol stations and liquor stores.
Just before 8pm, the knife-wielding Wairama and an associate brandishing a hammer, both using jerseys to hide their faces, waited in the vehicle on the Mobil station forecourt while the lone attendant was serving a customer.
The pair entered the shop where Wairama grabbed the attendant and while flaying the knife, with the accomplice behind him brandishing the hammer, demanded: "Give up the cash."
Following the attendant behind the counter, the pair shut a door to block an escape route for the victim who then opened a till and gave Wairama $460.
The robbers then took cigarettes and tobacco worth $1669.50 from a cabinet before running from the store and leaving in the car driven by another accomplice.
The vehicle was hidden in a shed at an associate's address, and over the following days Wairama and one of the group stripped parts and removed the registration plates.
The robbery was recorded in full by security cameras, and police soon apprehended their suspects, recovered the car, and seized most of the clothing worn in the raid, but none of the cash, cigarettes or tobacco was found.
Police said Wairama "admitted the facts as outlined."