| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 42 | public function listBalances($date = '') |
||
| 43 | { |
||
| 44 | $date = empty($date) ? Carbon::now()->toIso8601String() : Carbon::parse($date)->toIso8601String(); |
||
| 45 | |||
| 46 | $this->apiEndPoint = "v1/reporting/balances?currency_code={$this->currency}&as_of_date={$date}"; |
||
|
1 ignored issue
–
show
|
|||
| 47 | $this->apiUrl = collect([$this->apiUrl, $this->apiEndPoint])->implode('/'); |
||
|
1 ignored issue
–
show
|
|||
| 48 | |||
| 49 | $this->verb = 'get'; |
||
|
1 ignored issue
–
show
|
|||
| 50 | |||
| 51 | return $this->doPayPalRequest(); |
||
| 52 | } |
||
| 54 |