in case you are wondering, why you haven't got any useful replies, let me tell you. The question is vague, you have not provided any main function so we don't know which functions you want to call, how is your input stored and why you are not able to pass it to your class functions, you have started your post with a node::add_coupons function and provided several other function implementations which do not seem related to your question.
Agni 370 Practically a Master Poster Featured Poster
Agni 370 Practically a Master Poster Featured Poster
Jetsetivan commented: Concise help, thank you! +1
Agni 370 Practically a Master Poster Featured Poster
Agni 370 Practically a Master Poster Featured Poster
Agni 370 Practically a Master Poster Featured Poster
Agni 370 Practically a Master Poster Featured Poster
Agni 370 Practically a Master Poster Featured Poster
FancyShoes commented: helped me with do while problem +1
Ancient Dragon commented: Excellent suggestion :) +25
Agni 370 Practically a Master Poster Featured Poster
freelancelote commented: thanks +2
Agni 370 Practically a Master Poster Featured Poster
Agni 370 Practically a Master Poster Featured Poster
Salem commented: Seems about right to me. +36
Salem commented: A valiant effort, but I'm afraid the OP hasn't learn anything from any of their other posts either. +36
Agni 370 Practically a Master Poster Featured Poster
Agni 370 Practically a Master Poster Featured Poster
Agni 370 Practically a Master Poster Featured Poster
Nick Evan commented: sounds like good advice to me :) +12
Agni 370 Practically a Master Poster Featured Poster
Agni 370 Practically a Master Poster Featured Poster
homeryansta commented: awesome guy! +1
Agni 370 Practically a Master Poster Featured Poster