Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
78 | public function resendEventNotification($event_id, array $items) |
||
79 | { |
||
80 | $this->apiEndPoint = "v1/notifications/webhooks-events/{$event_id}/resend"; |
||
1 ignored issue
–
show
|
|||
81 | $this->apiUrl = collect([$this->apiUrl, $this->apiEndPoint])->implode('/'); |
||
1 ignored issue
–
show
|
|||
82 | |||
83 | $this->options['json'] = [ |
||
1 ignored issue
–
show
|
|||
84 | 'webhook_ids' => $items |
||
85 | ]; |
||
86 | $this->verb = 'post'; |
||
1 ignored issue
–
show
|
|||
87 | |||
88 | return $this->doPayPalRequest(); |
||
89 | } |
||
91 |