1. Create the contract as normal you designed with reference to your param list.
2. Add below method.
public InventDimViewContract parmNestedContract(InventDimViewContract _nestedContract = InventDimViewContract)
InventDimViewContract = _nestedContract;
Here this methods inherits the another contract class called InventDimContract.
3. Dont forgot to declare in class declaration method as
InventDimViewContract InventDimViewContract ;