Subversion Repositories SmartDukaan

Rev

Rev 6187 | Rev 6257 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6187 Rev 6192
Line 104... Line 104...
104
    /**
104
    /**
105
     * @param args
105
     * @param args
106
     * @throws Exception
106
     * @throws Exception
107
     */
107
     */
108
    public static void main(String[] args) throws Exception {
108
    public static void main(String[] args) throws Exception {
109
        Client cc = new CatalogClient().getClient();
109
        ContentGenerationUtility cgu = new ContentGenerationUtility();
-
 
110
 
-
 
111
        // Load arguments
110
        System.out.println(cc.getVatAmountForItem(9l, 500l));
112
        cgu.loadArgs(args);
-
 
113
 
111
        System.out.println(cc.getItem(10l).getSellingPrice());
114
        // Call method based on arguments
112
        System.out.println(cc.getVatPercentageForItem(9l, 500l));
115
        cgu.callMethod();
113
    }
116
    }
114
 
117
 
115
    /**
118
    /**
116
     * Validate and set command line arguments. Exit after printing usage if
119
     * Validate and set command line arguments. Exit after printing usage if
117
     * anything is astray
120
     * anything is astray