Skip to content

Commit 2cf9cda

Browse files
docs(readme): Update readme with newly added methods
1 parent 7510b54 commit 2cf9cda

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ class PaymentController extends Controller
158158
}
159159
}
160160
```
161-
Let me explain the two main fluent methods a bit here.
162161

162+
Let me explain the fluent methods this package provides a bit here.
163163
```php
164164
/**
165165
* This fluent method does all the dirty work of sending a POST request with the form data
@@ -176,6 +176,24 @@ Paystack::getAuthorizationUrl()->redirectNow();
176176
* to allow for easy recurrent subscription.
177177
*/
178178
Paystack::getPaymentData();
179+
180+
/**
181+
* This method returns all the customers that have performed transactions on your platform with Paystack
182+
* @returns array
183+
*/
184+
Paystack::getAllCustomers();
185+
186+
/**
187+
* This method returns all the plans that you have registered on Paystack
188+
* @returns array
189+
*/
190+
Paystack::getAllPlans();
191+
192+
/**
193+
* This method returns all the transactions that have occurred
194+
* @returns array
195+
*/
196+
Paystack::getAllTransactions();
179197
```
180198

181199
A sample form will look like so:

0 commit comments

Comments
 (0)