1 | <?php |
||
17 | class CompletePurchaseRequest extends AbstractRequest |
||
18 | { |
||
19 | protected $mainEndpoint = 'https://ipnpb.paypal.com/cgi-bin/webscr'; |
||
20 | protected $testEndpoint = 'https://ipnpb.sandbox.paypal.com/cgi-bin/webscr'; |
||
21 | |||
22 | /** |
||
23 | * Get the data for this request. |
||
24 | * @return array request data |
||
25 | 2 | */ |
|
26 | public function getData() |
||
34 | |||
35 | /** |
||
36 | * Send the request with specified data. |
||
37 | * @param mixed $data The data to send |
||
38 | * @return CompletePurchaseResponse |
||
39 | 1 | */ |
|
40 | public function sendData($data) |
||
55 | } |
||
56 |