Skip to content

Commit

Permalink
V1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
irfaardy committed Sep 2, 2020
1 parent 5a066bf commit 66859d2
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@




# 🔒 **ESH Dompet**

Package ini berfungsi untuk menyimpan saldo ke dompet digital

[^Note]: Masih Tahap Pengembangan jadi belum stabil.
Expand Down Expand Up @@ -80,6 +84,17 @@ Dompet::credential(1,123456)->update($new_pin);
```php
Dompet::credential(1,123456)->balance(2000)->reduce("Some Transaction",$transaction_id);
```
<h2>Get total Balance</h2>

```php
Dompet::credential($user->id)->sumBalance();
//result 5000
//Formated number
Dompet::credential($user->id)->sumBalance(true);
// result 5,000
```


<h2>Get Message success or fail</h2>

```php
Expand All @@ -95,7 +110,6 @@ if(Dompet::credential()->balance(2000)->add("Some Transaction",$transaction_id))

```


------

## How to Contributing
Expand Down

0 comments on commit 66859d2

Please sign in to comment.