Skip to content

Commit ab9ad98

Browse files
committed
updates
1 parent e0e1061 commit ab9ad98

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+33
-34
lines changed

pom.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@
114114
<maven.compiler.target>19</maven.compiler.target>
115115
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
116116
</properties>
117-
118-
117+
119118

120119
</project>

src/main/java/com/flutterwave/services/Bills.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,19 +85,19 @@ public Response validateBillService(String item_code, String code, String custom
8585
/**
8686
* Retrieve the information for each Biller.
8787
* These information are important as they are required for the bill payment attempt. You can filter your query by biller type and biller_code.
88-
* @param airtime Optional<Integer> This parameter allows you filter the response object for airtime billers only (MTN, Vodafone, Airtel, 9mobile).
88+
* @param airtime Optional This parameter allows you filter the response object for airtime billers only (MTN, Vodafone, Airtel, 9mobile).
8989
* You should set this to 1 if you would like to filter only airtime billers. Expected values are 0 and 1.
90-
* @param data_bundle Optional<Integer> This parameter allows you filter the response object for data billers only (MTN, Vodafone, Airtel, 9mobile).
90+
* @param data_bundle Optional This parameter allows you filter the response object for data billers only (MTN, Vodafone, Airtel, 9mobile).
9191
* You should set this to 1 if you would like to filter only data billers. Expected values are 0 and 1.
92-
* @param power Optional<Integer> This parameter allows you filter the response object for power billers only (EKEDC, IKEDC, KDLC).
92+
* @param power Optional This parameter allows you filter the response object for power billers only (EKEDC, IKEDC, KDLC).
9393
* You should set this to 1 if you would like to filter only power billers. Expected values are 0 and 1.
94-
* @param internet Optional<Integer> This parameter allows you filter the response object for internet billers only (SWIFT, Smile, ipNX).
94+
* @param internet Optional This parameter allows you filter the response object for internet billers only (SWIFT, Smile, ipNX).
9595
* You should set this to 1 if you would like to filter only internet billers. Expected values are 0 and 1.
96-
* @param toll Optional<Integer> This parameter allows you filter the response object for toll billers only.
96+
* @param toll Optional This parameter allows you filter the response object for toll billers only.
9797
* You should set this to 1 if you would like to filter only toll billers. Expected values are 0 and 1.
98-
* @param cable Optional<Integer> This parameter allows you filter the response object for cable billers only (DSTV, Startimes, GOTV).
98+
* @param cable Optional This parameter allows you filter the response object for cable billers only (DSTV, Startimes, GOTV).
9999
* You should set this to 1 if you would like to filter only cable billers. Expected values are 0 and 1.
100-
* @param biller_code Optional<String> This parameter allows you filter the response object for a specific Biller using the biller_code.
100+
* @param biller_code Optional This parameter allows you filter the response object for a specific Biller using the biller_code.
101101
* @return ListResponse
102102
*/
103103
public ListResponse getCategories(Optional<Integer> airtime, Optional<Integer> data_bundle,

src/main/java/com/flutterwave/services/Settlements.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ public class Settlements {
2222

2323
/**
2424
* Query all settlements made to an account.
25-
* @param page Optional<Integer> This is the page number to retrieve e.g. setting 1 retrieves the first page.
26-
* @param from Optional<String> This is the specified date to start the list from. YYYY-MM-DD.
27-
* @param to Optional<String> The is the specified end period for the search . YYYY-MM-DD.
28-
* @param subaccount_id Optional<String> This is the unique id of the sub account you want to fetch. It is returned in the call to create a sub account.
25+
* @param page Optional This is the page number to retrieve e.g. setting 1 retrieves the first page.
26+
* @param from Optional This is the specified date to start the list from. YYYY-MM-DD.
27+
* @param to Optional The is the specified end period for the search . YYYY-MM-DD.
28+
* @param subaccount_id Optional This is the unique id of the sub account you want to fetch. It is returned in the call to create a sub account.
2929
* @return ListResponse
3030
*/
3131
public ListResponse runGetAllSettlements(Optional<Integer> page, Optional<String> from, Optional<String> to,
@@ -44,8 +44,8 @@ public ListResponse runGetAllSettlements(Optional<Integer> page, Optional<String
4444
/**
4545
* Get details on a particular settlement specified by its ID.
4646
* @param id int This is a unique identifier for the particular settlement you want to fetch. It is returned in the call to list all settlements as data.id.
47-
* @param from Optional<String> The start date range to retrieve data from. Expected format is YYYY-MM-DD.
48-
* @param to Optional<String> The end date range to retrieve data. Expected format is YYYY-MM-DD.
47+
* @param from Optional The start date range to retrieve data from. Expected format is YYYY-MM-DD.
48+
* @param to Optional The end date range to retrieve data. Expected format is YYYY-MM-DD.
4949
* @return Response
5050
*/
5151
public Response runGetSettlement(int id, Optional<String> from, Optional<String> to){

src/main/java/com/flutterwave/services/SubAccounts.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ public Response runCreateSubAccounts(CollectionsSubAccountRequest collectionsSub
4242

4343
/**
4444
* List all subaccounts on Flutterwave.
45-
* @param account_bank Optional<String> This is the sub-accounts bank ISO code
46-
* @param account_number Optional<String> This is the account number associated with the subaccount you want to fetch
47-
* @param bank_name Optional<String> This is the name of the bank associated with the ISO code provided in account_bankfield
48-
* @param page Optional<Integer> This is the page number to retrieve e.g. setting 1 retrieves the first page
45+
* @param account_bank Optional This is the sub-accounts bank ISO code
46+
* @param account_number Optional This is the account number associated with the subaccount you want to fetch
47+
* @param bank_name Optional This is the name of the bank associated with the ISO code provided in account_bankfield
48+
* @param page Optional This is the page number to retrieve e.g. setting 1 retrieves the first page
4949
* @param type COLLECTION or PAYOUT
5050
* @return ListResponse
5151
*/
@@ -74,8 +74,8 @@ public ListResponse runGetSubAccounts(Optional<String> account_bank, Optional<St
7474
/**
7575
* Fetch a subaccount on Flutterwave.
7676
* @param id INT This is the unique id of the sub account you want to fetch. It is returned in the call to create a sub account as data.id
77-
* @param account_reference Optional<String> The unique reference for the payout
78-
* @param include_limit Optional<String> Pass this parameter to ensure the limit for the subaccount are returned in the response
77+
* @param account_reference Optional The unique reference for the payout
78+
* @param include_limit Optional Pass this parameter to ensure the limit for the subaccount are returned in the response
7979
* @param type COLLECTION or PAYOUT
8080
* @return Response
8181
*/
@@ -99,7 +99,7 @@ public Response runGetSubAccount(int id, Optional<String> account_reference,
9999
* @param id int This is the unique id of the subaccount you want to update. It is returned in the call to create a subaccount as data.id
100100
* @param updateCollectionSubAccountRequest bean
101101
* @param updatePayoutSubAccountRequest bean
102-
* @param account_reference Optional<String> The unique reference for the payout
102+
* @param account_reference Optional The unique reference for the payout
103103
* @param type COLLECTION or PAYOUT
104104
* @return
105105
*/

src/main/java/com/flutterwave/services/Subscriptions.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ public class Subscriptions {
2525

2626
/**
2727
* Query all subscribers (cancelled subscriber included). You can do a single or bulk query with the endpoint depending on your use case.
28-
* @param email Optional<String> This is the email of the subscriber. You can use this to query the transactions for a single customer.
29-
* @param transaction_id Optional<Integer> This is a unique transaction identifier generated by our systems. It is returned in the initiate charge response as data.id.
30-
* @param plan Optional<Integer> This is the ID of the payment plan. It is returned in the call to create a payment plan as data.id.
31-
* @param subscribed_from Optional<String> This is the start date of the subscriptions(when they are first active). You can use this as a starting point for your query. The expected date format for this parameter is YYYY-MM-DD
32-
* @param subscribed_to Optional<String> This is the end date for a subscription. Like subscribed_from, It also has an expected date format of YYYY-MM-DD.
33-
* @param next_due_from Optional<String> This is the parameter to filter from the start date of the next due subscriptions.
34-
* @param next_due_to Optional<String> This is the parameter to filter to the end date of the next due subscriptions.
35-
* @param page Optional<String> This is the page number to retrieve e.g. setting 1 retrieves the first page.
36-
* @param status Optional<String> This is the status for the queried transactions. Expected values are active and cancelled.
28+
* @param email Optional This is the email of the subscriber. You can use this to query the transactions for a single customer.
29+
* @param transaction_id Optional This is a unique transaction identifier generated by our systems. It is returned in the initiate charge response as data.id.
30+
* @param plan Optional This is the ID of the payment plan. It is returned in the call to create a payment plan as data.id.
31+
* @param subscribed_from Optional This is the start date of the subscriptions(when they are first active). You can use this as a starting point for your query. The expected date format for this parameter is YYYY-MM-DD
32+
* @param subscribed_to Optional This is the end date for a subscription. Like subscribed_from, It also has an expected date format of YYYY-MM-DD.
33+
* @param next_due_from Optional This is the parameter to filter from the start date of the next due subscriptions.
34+
* @param next_due_to Optional This is the parameter to filter to the end date of the next due subscriptions.
35+
* @param page Optional This is the page number to retrieve e.g. setting 1 retrieves the first page.
36+
* @param status Optional This is the status for the queried transactions. Expected values are active and cancelled.
3737
* @return ListResponse
3838
*/
3939
public ListResponse getAllSubscriptions(Optional<String> email, Optional<Integer> transaction_id, Optional<Integer> plan,

src/main/java/com/flutterwave/services/Transactions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public Response runGetTransactionsFees(BigDecimal amount, String currency) {
6363
/**
6464
* Resend webhooks from failed sending queues to your server.
6565
* @param id int This is a unique transaction identifier generated by our systems. It is returned in the initiate charge response as data.id
66-
* @param wait Optional<Integer> This parameter would hold for the hook response and return what you respond with as the response. The expected value is 1.
66+
* @param wait Optional This parameter would hold for the hook response and return what you respond with as the response. The expected value is 1.
6767
* @return Response
6868
*/
6969
public Response runResendWebhook(int id, Optional<Integer> wait) {

src/main/java/com/flutterwave/services/Transfer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ public Response getTransfer(int id){
9999

100100
/**
101101
* Spool all their transfers.
102-
* @param page Optional<String> specific page e.g. setting 1 retrieves the first page.
103-
* @param status Optional<String> specific status e.g. fetch all successful transactions. Expected values include failed, successful.
102+
* @param page Optional specific page e.g. setting 1 retrieves the first page.
103+
* @param status Optional specific status e.g. fetch all successful transactions. Expected values include failed, successful.
104104
* @return ListResponse
105105
*/
106106
public ListResponse getAllTransfers(Optional<String> page, Optional<String> status){
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)