| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | public function acceptDisputeClaim($dispute_id, $dispute_note, array $data = []) |
||
| 21 | { |
||
| 22 | $this->apiEndPoint = "v1/customer/disputes/{$dispute_id}/accept-claim"; |
||
|
1 ignored issue
–
show
|
|||
| 23 | $this->apiUrl = collect([$this->apiUrl, $this->apiEndPoint])->implode('/'); |
||
|
1 ignored issue
–
show
|
|||
| 24 | |||
| 25 | $data["note"] = $dispute_note; |
||
| 26 | $data["accept_claim_type"] = "REFUND"; |
||
| 27 | |||
| 28 | $this->options['json'] = $data; |
||
|
1 ignored issue
–
show
|
|||
| 29 | |||
| 30 | $this->verb = 'post'; |
||
|
1 ignored issue
–
show
|
|||
| 31 | |||
| 32 | return $this->doPayPalRequest(); |
||
|
1 ignored issue
–
show
|
|||
| 33 | } |
||
| 89 |