示例#1
0
        private Itm7 GetItm7(GST_TRN_INVOICE_DATA data)
        {
            Itm7 itm7 = new Itm7();

            itm7.csamt = (int?)data.CessAmt;
            itm7.iamt  = (int?)data.IGSTAmt;
            itm7.rt    = (int?)data.Rate;
            return(itm7);
        }
示例#2
0
        private Itm7 GetItm7(GST_TRN_OFFLINE_INVOICE_DATAITEM data)
        {
            Itm7 itm7 = new Itm7();

            itm7.csamt = (int?)data.CessAmt;
            itm7.iamt  = (int?)data.IGSTAmt;
            itm7.rt    = data.GST_TRN_OFFLINE_INVOICE_RATE == null ? null : (int?)data.GST_TRN_OFFLINE_INVOICE_RATE.RATE;
            return(itm7);
        }