This is an original application to this eonrt for a writ of habeas corpus and involves the constitutionality of an act approved the 16th of March, 1901. (Sixth Sess. Laws, p. 155.) The following facts appear from the record: That the petitioner is a resident of the state of Iowa and was, at the time, of his arrest, an agent of Mason & Abel, wholesale merchants of St. Louis, Missouri; that the said Abel was traveling through Latah county as such agent and solicitor and selling buggies at retail to various people in Latah county at the time of his arrest. He was brought before the court on complaint of the district attorney of Latah county and fined, and is now serving a term of imprisonment in the county jail in default of the payment of said fine. The case was submitted to-the trial court on an agreed statement of facts, which statement contains the following: That the petitioner was the agent and solicitor of the firm above named, which firm is the manufacturer and wholesale dealer of buggies; that the petitioner was the duly authorized agent and solicitor of said firm for buggies in the state of Idaho, and as such agent and solicitor he engaged in the business of selling and offering to sell buggies in the state of Idaho, by delivering to the purchaser at the time of sale the buggies so sold, and that on the thirteenth day of May, 1904, in said county, the petitioner sold to one Charles Hobart, and delivered the same to him, a certain buggy belonging to said firm; that neither the petitioner nor said firm at the time of such sale had procured a license from the county auditor of said county before engaging in said business and making said sale, as required by the above-mentioned law. It is further •agreed that prior to the commencement of this action the board of county commissioners of said county fixed the license under •said act as follows: Peddlers or hawkers on foot, $.25 per year; peddlers or hawkers with wagon, $50 per year.
•Section-1 of said act makes it unlawful to peddle without a license. Section 2 provides that every peddler or hawker, trav*291eling with a pack and on foot, shall pay a license of not less than $25 nor more than $50 per year. Section 3 provides that every peddler or hawker, traveling with a wagon or other vehicle, shall pay a license of not less than $50 nor more than $100 per year. Section 4 provides that every peddler or solicitor taking orders for groceries, clothing, hardware, or other mercantile establishments shall pay a license of not less than $75 nor more than $125 per jear. Section 5 provides that the money so received for licenses shall be turned into the general fund of the county. Section 6 provides that every peddler or hawker shall he compelled to exhibit his license when called upon by any party to whom he is endeavoring to make a sale of goods. Section 7 provides that no license shall continue for a less period than one year. Section 8 is as follows: “The provisions of this act shall not be construed to apply to runners traveling for wholesale houses and taking orders from merchants only, nor to peddlers or hawkers in farm products.” Section 9 provides the penalty for the violation of the provisions of said act. Section 10 malees it the duty of the county commissioners to fix the amount of such license, and provides that the county auditor shall issue such licenses upon payment of the prescribed fee.
It is first contended by counsel for the petitioner that under the provisions of said section 8, that hawkers or peddlers traveling for wholesale houses may take their goods with them, take orders from merchants, and deliver the goods sold to the merchants at the time of the purchase, and that hawkers and peddlers of farm products may sell indiscriminately both to merchants and others, and contend that said law was enacted for the benefit of wholesale houses and for the benefit of merchants only, in that it permits them to buy from peddlers or hawkers whatever goods they may wish and have them delivered at the-time of the purchase, while it prevents every person not a merchant from purchasing from such peddler or hawker and receiving his goods at the time of the purchase. We cannot agree; ■with these contentions of counsel. Said section does not authorize the runners or drummers traveling for a wholesale house to< carry the goods to be sold with them. The phrase “taking; orders,” as used in said section, does not contemplate that the *292limner shall have the goods with him at the time of the sale and deliver them; that would be a sale and delivery of the goods if that were done, and not taking orders for goods. The legislature has not the power to restrict drummers and runners traveling for wholesale houses from taking orders from people generally, and they cannot by legislation confine the taking of orders to merchants only, as that would be class legislation. And that part of said section, whereby it is attempted to confine the taking of orders for merchandise to merchants only, is unconstitutional and clearly class legislation. But that objectionable feature of said section does not render the whole act unconstitutional and void, as the remaining part of the act is capable of being executed in accordance with the apparent legislative intent wholly independent of that portion attempting to confine the taking of orders to merchants only; the invalid part may be rejected and the valid portion permitted to stand, as we think the legislature would have passed the law regardless of the invalid part thereof. The provisions of said section except from the operation of said act peddlers and hawkers in farm products. That applies, of course, to the farm products of other states as well as those of the state of Idaho, and is not class legislation within the meaning of that term and is not repugnant to the provisions of our constitution, and in no manner interferes with interstate commerce.
TJnder the stipulated facts it appears that the petitioner takes his buggies with him and travels around among the farmers, and when he sells one he thereupon delivers it to the purchaser. It will be observed that the property at the time of the sale was within the state and under the control of the agent.
This court held in Re Kinyon, 9 Idaho, 642, 75 Pac. 268, that where both the property and the business or occupation are within the jurisdiction of the state, they are subject to its regulation and control, and that any transaction with' reference thereto does not look to interstate commerce for carrying out the execution of the contract. This principle was announced and distinction made in Emert v. State, 156 U. S. 296, 15 Sup. Ct. Rep. 367, 39 L. ed. 430, where Mr. Justice Gray said: “The defendant’s occupation was offering for sale and selling sewing-machines by go*293ing from place to place in the state of Missouri, in a wagon, without a license. There is nothing in the case to show that he ever offered for sale any machine that he did not have with him at the time. His dealings were neither accompanied nor followed by any transfer of goods, or of any order for their transfer, from one state to another, and were neither interstate commerce in themselves nor were they in any way directly connected with such commerce. The only business or commerce in which he was engaged was internal and domestic; and so far as appears, the only goods in which he was dealing had become part of the mass of property within the state. Both the occupation and the goods, therefore, were subject to the taxing power and the police power of the state.The necessary conclusion, upon authority as well as upon principle, is that the statute of Missouri now in question is in no wise repugnant to the power of Congress to regulate commerce among the several states, but is a valid exercise of the power of the state over persons and business within its borders.”
The only business or commerce in which the petitioner was engaged was internal and domestic, and the vehicles which he was selling had become part of the mass of property within the state. Both the occupation and the property were, therefore, subject to the taxing power and to the police power of the state, and the licensing of that business was a valid exercise of the legislative power of the state over such business and persons engaging therein.
The writ must be denied, and it is so ordered.
Stockslager and Ailshie, J. J., concur.