We recommend reading the main readme first, to understand the requirements for using the library and how to initiate this in your apps. This guide assumes you've read that.
This describes how to get bill categories
new Bills().getCategories(Optional.airtime,
Optional.data_bundle,
Optional.power,
Optional.internet,
Optional.toll,
Optional.cable,
Optional.biller_code);This describes how to create a bill payment
Response response = new Bills()
.runTransaction(new BillRequest("NG",
"+23490803840303",
new BigDecimal("'500'"),
Optional.of(ONCE),
Optional.empty()));This describes how to validate a bill service
Response response = new Bills().validateBillService("AT099",
"BIL099", "+2348109328188");This describes how to create bulk bills
List<BillRequest> billRequestList = new ArrayList<>();
billRequestList.add(billRequest);
Response response = new Bills()
.runBulkTransaction("billRequestList);This describes how to get bill payments
Response response = new Bills()
.getBills(from, to);This describes how to get actions of a bill payment
Response response = new Bills().getStatus(id);