Any officer, agent, or servant of any railroad, manufacturing, or mining corporation who is authorized or employed to buy any property or who may be empowered to contract for, let out, locate, superintend, or estimate for any work or construction for such corporation and who demands, asks for, bargains for, agrees to take, takes, or receives, directly or indirectly, from the seller of such property or the contractor or other person any rebate, discount, drawback, return commission, gift, or gratuity, must be punished on conviction as if he had stolen it.