Skip to content

Commit

Permalink
Update readme regarding method name
Browse files Browse the repository at this point in the history
  • Loading branch information
Xaxxis authored May 27, 2020
1 parent 8b81ac4 commit 228e472
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,14 @@ Available methods for `MidtransCoreApi` class
* @return {JSONObject} - org.json Promise contains Object from JSON decoded response
*/
JSONObject denyTransaction(String orderId);

/**
* Do `v1/bins/{bin}` API request to Core API
* @param binNumber {String} of the transaction (more detail refer to: https://api-docs.midtrans.com/#bin-api)
* @return {JSONObject} - org.json Promise contains Object from JSON decoded response
* @throws MidtransError when an exception was occurred during executing the request.
*/
JSONObject getBIN(String binNumber) throws MidtransError;
```
`params` is Map Object or String of JSON of [Core API Parameter](https://api-docs.midtrans.com/#json-objects)

Expand Down Expand Up @@ -598,7 +606,7 @@ public class MidtransIrisExample {
Available methods for `MidtransIrisApi` class
```java
/**
* Do re-set config Class iris-credentials, IrisIdempotencyKey
* Do re-set config Class iris-credential, IrisIdempotencyKey
*
* @return {Config class}
*/
Expand All @@ -618,7 +626,7 @@ Available methods for `MidtransIrisApi` class
* @return {JSONObject} - org.json Promise contains Object from JSON decoded response refer to: https://iris-docs.midtrans.com/#check-balance-aggregator
* @throws MidtransError when an exception was occurred during executing the request.
*/
JSONObject getAggregatorBalance() throws MidtransError;
JSONObject getBalance() throws MidtransError;

/**
* Do create `/beneficiaries` Use this API to create a new beneficiary information for quick access on the payout page in Iris Portal.
Expand All @@ -645,7 +653,7 @@ Available methods for `MidtransIrisApi` class
* @return {JSONObject} - org.json Promise contains Object from JSON decoded response refer to: https://iris-docs.midtrans.com/#list-beneficiaries
* @throws MidtransError when an exception was occurred during executing the request.
*/
JSONArray getListBeneficiaries() throws MidtransError;
JSONArray getBeneficiaries() throws MidtransError;

/**
* Do create `/payouts` This API is for Creator to create a payout. It can be used for single payout and also multiple payouts.
Expand Down Expand Up @@ -681,7 +689,7 @@ Available methods for `MidtransIrisApi` class
* @return {JSONObject} - org.json Promise contains Object from JSON decoded response
* @throws MidtransError when an exception was occurred during executing the request.
*/
JSONObject getPayoutsDetails(String referenceNo) throws MidtransError;
JSONObject getPayoutDetails(String referenceNo) throws MidtransError;

/**
* Do get `/statements` Use this API for list all transactions history for a month. You can specified start date and also end date for range transaction history.
Expand Down Expand Up @@ -712,6 +720,7 @@ Available methods for `MidtransIrisApi` class
/**
* Do get `/bank_accounts/{bank_account_id}/balance` For Facilitator Partner, use this API is to get current balance information of your registered bank account.
*
* @param bankAccountId String Bank Account Number
* @return {JSONObject} - org.json Promise contains Object from JSON decoded response refer to: https://iris-docs.midtrans.com/#check-balance-facilitator
* @throws MidtransError when an exception was occurred during executing the request.
*/
Expand All @@ -723,10 +732,10 @@ Available methods for `MidtransIrisApi` class
* @return {JSONObject} - org.json Promise contains Object from JSON decoded response (more params detail refer to: https://iris-docs.midtrans.com/#list-banks)
* @throws MidtransError when an exception was occurred during executing the request.
*/
JSONObject getListBank() throws MidtransError;
JSONObject getBeneficiaryBanks() throws MidtransError;

/**
* Do validate `/account_validation?bank={bank}&account={account}` Use this API for check if an account is valid, if valid return account information.
* Do validate `/account_validation` Use this API for check if an account is valid, if valid return account information.
*
* @param bank String bank code
* @param account String Account number
Expand Down

0 comments on commit 228e472

Please sign in to comment.