@@ -98,31 +98,32 @@ class ReportService
9898 private $ subcol_pct_inc = null ;
9999 private $ subcol_pct_exp = null ;
100100 private $ adjusted_gain_loss = null ;
101+ private $ showrows = null ;
101102
102103 public function getAdjustedGainLoss (){
103- return $ this ->adjusted_gain_loss ;
104+ return $ this ->adjusted_gain_loss ;
104105 }
105106
106107 public function setAdjustedGainLoss ($ adjustedGainLoss ){
107- return $ this ->adjusted_gain_loss = $ adjustedGainLoss ;
108+ return $ this ->adjusted_gain_loss = $ adjustedGainLoss ;
108109 }
109110
110111 public function getPercentIncome (){
111- return $ this ->subcol_pct_inc ;
112+ return $ this ->subcol_pct_inc ;
112113 }
113114
114115 public function getPercentExpense (){
115- return $ this ->subcol_pct_exp ;
116+ return $ this ->subcol_pct_exp ;
116117 }
117118
118119 public function setPercentIncome ($ percentIncome ){
119- $ this ->subcol_pct_inc = $ percentIncome ;
120- return $ this ;
120+ $ this ->subcol_pct_inc = $ percentIncome ;
121+ return $ this ;
121122 }
122123
123124 public function setPercentExpense ($ percentExpense ){
124- $ this ->subcol_pct_exp = $ percentExpense ;
125- return $ this ;
125+ $ this ->subcol_pct_exp = $ percentExpense ;
126+ return $ this ;
126127 }
127128 /**
128129 * @return null
@@ -960,6 +961,25 @@ public function setDocNum($doc_num)
960961 return $ this ;
961962 }
962963
964+ /**
965+ * @return null
966+ */
967+ public function getShowRows ()
968+ {
969+ return $ this ->showrows ;
970+ }
971+
972+ /**
973+ * @param null $showrows
974+ *
975+ * @return $this
976+ */
977+ public function setShowRows ($ showrows )
978+ {
979+ $ this ->showrows = $ showrows ;
980+ return $ this ;
981+ }
982+
963983 /**
964984 * Returns serializer for response objects
965985 * @return IEntitySerializer
@@ -1193,6 +1213,10 @@ private function getReportQueryParameters()
11931213 array_push ($ uriParameterList , ["adjusted_gain_loss " , $ this ->getAdjustedGainLoss ()]);
11941214 }
11951215
1216+ if (!is_null ($ this ->showrows )) {
1217+ array_push ($ uriParameterList , ["showrows " , $ this ->getShowRows ()]);
1218+ }
1219+
11961220
11971221 foreach ($ uriParameterList as $ uriParameter ) {
11981222 if (strlen ($ uriParameterString ) > 0 ) {
0 commit comments