Skip to content

Commit b06d400

Browse files
committed
CS-2170: Renamed ACH method names in DapiApp
1 parent b38f593 commit b06d400

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/main/java/co/dapi/DapiApp.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ public GetAccountsMetadataResponse getAccountsMetadata(String accessToken, Strin
300300
}
301301

302302
/**
303-
* createPull talks to the CreatePull endpoint of Dapi, with this {@link DapiApp}'s appSecret,
303+
* createACHPull talks to the CreatePull endpoint of Dapi, with this {@link DapiApp}'s appSecret,
304304
* to continue a previous operation that required to provide some userInputs.
305305
*
306306
* @param transfer the transfer details that we want to initiate.
@@ -311,22 +311,22 @@ public GetAccountsMetadataResponse getAccountsMetadata(String accessToken, Strin
311311
* @return an {@link CreatePullResponse}.
312312
* @throws IOException in case of trouble happened while executing the request or reading the response.
313313
*/
314-
public CreatePullResponse createPull(ACH.PullTransfer transfer, String accessToken, String userSecret, String operationID, UserInput[] userInputs) throws IOException {
314+
public CreatePullResponse createACHPull(ACH.PullTransfer transfer, String accessToken, String userSecret, String operationID, UserInput[] userInputs) throws IOException {
315315
return this.ach.createPull(transfer, accessToken, userSecret, operationID, userInputs);
316316
}
317317

318318
/**
319-
* getPull talks to the GetPull endpoint of Dapi, with this {@link DapiApp}'s appSecret,
319+
* getACHPull talks to the GetPull endpoint of Dapi, with this {@link DapiApp}'s appSecret,
320320
* to continue a previous operation that required to provide some userInputs.
321321
*
322322
* @param accessToken retrieved from the ExchangeToken process.
323323
* @param userSecret retrieved from the user login.
324-
* @param operationID OperationID of the createPull request
324+
* @param operationID OperationID of the createACHPull request
325325
* @param userInputs built from the previous call's response, and the required user input.
326326
* @return an {@link GetPullResponse}.
327327
* @throws IOException in case of trouble happened while executing the request or reading the response.
328328
*/
329-
public GetPullResponse getPull(String accessToken, String userSecret, String operationID, UserInput[] userInputs) throws IOException {
329+
public GetPullResponse getACHPull(String accessToken, String userSecret, String operationID, UserInput[] userInputs) throws IOException {
330330
return this.ach.getPull(accessToken, userSecret, operationID, userInputs);
331331
}
332332

0 commit comments

Comments
 (0)