@@ -63,7 +63,6 @@ public TransferLimitsBalanceAccountLevelApi(Client client, String baseURL) {
6363 *
6464 * @param id {@link String } The unique identifier of the balance account. (required)
6565 * @param approveTransferLimitRequest {@link ApproveTransferLimitRequest } (required)
66- * @param approveTransferLimitRequest {@link ApproveTransferLimitRequest } (required)
6766 * @throws ApiException if fails to make API call
6867 */
6968 public void approvePendingTransferLimits (
@@ -104,7 +103,6 @@ public void approvePendingTransferLimits(
104103 *
105104 * @param id {@link String } The unique identifier of the balance account. (required)
106105 * @param createTransferLimitRequest {@link CreateTransferLimitRequest } (required)
107- * @param createTransferLimitRequest {@link CreateTransferLimitRequest } (required)
108106 * @return {@link TransferLimit }
109107 * @throws ApiException if fails to make API call
110108 */
@@ -147,37 +145,37 @@ public TransferLimit createTransferLimit(
147145 /**
148146 * Delete a scheduled or pending transfer limit
149147 *
150- * @param transferLimitId {@link String } The unique identifier of the transfer limit. (required)
151148 * @param id {@link String } The unique identifier of the balance account. (required)
149+ * @param transferLimitId {@link String } The unique identifier of the transfer limit. (required)
152150 * @throws ApiException if fails to make API call
153151 */
154- public void deletePendingTransferLimit (String transferLimitId , String id )
152+ public void deletePendingTransferLimit (String id , String transferLimitId )
155153 throws ApiException , IOException {
156- deletePendingTransferLimit (transferLimitId , id , null );
154+ deletePendingTransferLimit (id , transferLimitId , null );
157155 }
158156
159157 /**
160158 * Delete a scheduled or pending transfer limit
161159 *
162- * @param transferLimitId {@link String } The unique identifier of the transfer limit. (required)
163160 * @param id {@link String } The unique identifier of the balance account. (required)
161+ * @param transferLimitId {@link String } The unique identifier of the transfer limit. (required)
164162 * @param requestOptions {@link RequestOptions } Object to store additional data such as
165163 * idempotency-keys (optional)
166164 * @throws ApiException if fails to make API call
167165 */
168166 public void deletePendingTransferLimit (
169- String transferLimitId , String id , RequestOptions requestOptions )
167+ String id , String transferLimitId , RequestOptions requestOptions )
170168 throws ApiException , IOException {
171169 // Add path params
172170 Map <String , String > pathParams = new HashMap <>();
173- if (transferLimitId == null ) {
174- throw new IllegalArgumentException ("Please provide the transferLimitId path parameter" );
175- }
176- pathParams .put ("transferLimitId" , transferLimitId );
177171 if (id == null ) {
178172 throw new IllegalArgumentException ("Please provide the id path parameter" );
179173 }
180174 pathParams .put ("id" , id );
175+ if (transferLimitId == null ) {
176+ throw new IllegalArgumentException ("Please provide the transferLimitId path parameter" );
177+ }
178+ pathParams .put ("transferLimitId" , transferLimitId );
181179
182180 String requestBody = null ;
183181 Resource resource =
@@ -245,39 +243,39 @@ public TransferLimitListResponse getCurrentTransferLimits(
245243 /**
246244 * Get the details of a transfer limit
247245 *
248- * @param transferLimitId {@link String } The unique identifier of the transfer limit. (required)
249246 * @param id {@link String } The unique identifier of the balance account. (required)
247+ * @param transferLimitId {@link String } The unique identifier of the transfer limit. (required)
250248 * @return {@link TransferLimit }
251249 * @throws ApiException if fails to make API call
252250 */
253- public TransferLimit getSpecificTransferLimit (String transferLimitId , String id )
251+ public TransferLimit getSpecificTransferLimit (String id , String transferLimitId )
254252 throws ApiException , IOException {
255- return getSpecificTransferLimit (transferLimitId , id , null );
253+ return getSpecificTransferLimit (id , transferLimitId , null );
256254 }
257255
258256 /**
259257 * Get the details of a transfer limit
260258 *
261- * @param transferLimitId {@link String } The unique identifier of the transfer limit. (required)
262259 * @param id {@link String } The unique identifier of the balance account. (required)
260+ * @param transferLimitId {@link String } The unique identifier of the transfer limit. (required)
263261 * @param requestOptions {@link RequestOptions } Object to store additional data such as
264262 * idempotency-keys (optional)
265263 * @return {@link TransferLimit }
266264 * @throws ApiException if fails to make API call
267265 */
268266 public TransferLimit getSpecificTransferLimit (
269- String transferLimitId , String id , RequestOptions requestOptions )
267+ String id , String transferLimitId , RequestOptions requestOptions )
270268 throws ApiException , IOException {
271269 // Add path params
272270 Map <String , String > pathParams = new HashMap <>();
273- if (transferLimitId == null ) {
274- throw new IllegalArgumentException ("Please provide the transferLimitId path parameter" );
275- }
276- pathParams .put ("transferLimitId" , transferLimitId );
277271 if (id == null ) {
278272 throw new IllegalArgumentException ("Please provide the id path parameter" );
279273 }
280274 pathParams .put ("id" , id );
275+ if (transferLimitId == null ) {
276+ throw new IllegalArgumentException ("Please provide the transferLimitId path parameter" );
277+ }
278+ pathParams .put ("transferLimitId" , transferLimitId );
281279
282280 String requestBody = null ;
283281 Resource resource =
0 commit comments