Contract class for excel report parameter AX2012

Is it possible to create a excel report parameters(dialog) through contract class? if possible how can we do that and use the parameter value in other class…please give any kind of example .

We can use the contract class to create parameter for RDP reports…

Any help is appreciated,