@@ -98,31 +98,32 @@ class ReportService
98
98
private $ subcol_pct_inc = null ;
99
99
private $ subcol_pct_exp = null ;
100
100
private $ adjusted_gain_loss = null ;
101
+ private $ showrows = null ;
101
102
102
103
public function getAdjustedGainLoss (){
103
- return $ this ->adjusted_gain_loss ;
104
+ return $ this ->adjusted_gain_loss ;
104
105
}
105
106
106
107
public function setAdjustedGainLoss ($ adjustedGainLoss ){
107
- return $ this ->adjusted_gain_loss = $ adjustedGainLoss ;
108
+ return $ this ->adjusted_gain_loss = $ adjustedGainLoss ;
108
109
}
109
110
110
111
public function getPercentIncome (){
111
- return $ this ->subcol_pct_inc ;
112
+ return $ this ->subcol_pct_inc ;
112
113
}
113
114
114
115
public function getPercentExpense (){
115
- return $ this ->subcol_pct_exp ;
116
+ return $ this ->subcol_pct_exp ;
116
117
}
117
118
118
119
public function setPercentIncome ($ percentIncome ){
119
- $ this ->subcol_pct_inc = $ percentIncome ;
120
- return $ this ;
120
+ $ this ->subcol_pct_inc = $ percentIncome ;
121
+ return $ this ;
121
122
}
122
123
123
124
public function setPercentExpense ($ percentExpense ){
124
- $ this ->subcol_pct_exp = $ percentExpense ;
125
- return $ this ;
125
+ $ this ->subcol_pct_exp = $ percentExpense ;
126
+ return $ this ;
126
127
}
127
128
/**
128
129
* @return null
@@ -960,6 +961,25 @@ public function setDocNum($doc_num)
960
961
return $ this ;
961
962
}
962
963
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
+
963
983
/**
964
984
* Returns serializer for response objects
965
985
* @return IEntitySerializer
@@ -1193,6 +1213,10 @@ private function getReportQueryParameters()
1193
1213
array_push ($ uriParameterList , ["adjusted_gain_loss " , $ this ->getAdjustedGainLoss ()]);
1194
1214
}
1195
1215
1216
+ if (!is_null ($ this ->showrows )) {
1217
+ array_push ($ uriParameterList , ["showrows " , $ this ->getShowRows ()]);
1218
+ }
1219
+
1196
1220
1197
1221
foreach ($ uriParameterList as $ uriParameter ) {
1198
1222
if (strlen ($ uriParameterString ) > 0 ) {
0 commit comments