|
Open Journal Systems
3.3.0
|
Protected Member Functions | |
| getEndpoint () | |
| getEndpoint () | |
Protected Member Functions inherited from Omnipay\PayPal\Message\AbstractRestRequest | |
| createResponse ($data, $statusCode) | |
| createResponse ($data, $statusCode) | |
| getHttpMethod () | |
| getHttpMethod () | |
Protected Member Functions inherited from Omnipay\Common\Message\AbstractRequest | |
| getCurrencies () | |
| getParameter ($key) | |
| setParameter ($key, $value) | |
| setParameter ($key, $value) | |
Additional Inherited Members | |
Data Fields inherited from Omnipay\PayPal\Message\AbstractRestRequest | |
| const | API_VERSION = 'v1' |
Protected Attributes inherited from Omnipay\PayPal\Message\AbstractRestRequest | |
| $liveEndpoint = 'https://api.paypal.com' | |
| $payerId = null | |
| $testEndpoint = 'https://api.sandbox.paypal.com' | |
Protected Attributes inherited from Omnipay\Common\Message\AbstractRequest | |
| $currencies | |
| $httpClient | |
| $httpRequest | |
| $negativeAmountAllowed = false | |
| $parameters | |
| $response | |
| $zeroAmountAllowed = true | |
With each API call, you’ll need to set request headers, including an OAuth 2.0 access token. Get an access token by using the OAuth 2.0 client_credentials token grant type with your clientId:secret as your Basic Auth credentials.
https://developer.paypal.com/docs/api/#authentication–headers
Definition at line 19 of file lib/vendor/omnipay/paypal/src/Message/RestTokenRequest.php.
| Omnipay\PayPal\Message\RestTokenRequest::getData | ( | ) |
Get the raw data array for this message. The format of this varies from gateway to gateway, but will usually be either an associative array, or a SimpleXMLElement.
Implements Omnipay\Common\Message\MessageInterface.
Definition at line 21 of file lib/vendor/omnipay/paypal/src/Message/RestTokenRequest.php.
| Omnipay\PayPal\Message\RestTokenRequest::getData | ( | ) |
Get the raw data array for this message. The format of this varies from gateway to gateway, but will usually be either an associative array, or a SimpleXMLElement.
Implements Omnipay\Common\Message\MessageInterface.
Definition at line 21 of file vendor/omnipay/paypal/src/Message/RestTokenRequest.php.
|
protected |
Reimplemented from Omnipay\PayPal\Message\AbstractRestRequest.
Definition at line 26 of file vendor/omnipay/paypal/src/Message/RestTokenRequest.php.
|
protected |
Reimplemented from Omnipay\PayPal\Message\AbstractRestRequest.
Definition at line 26 of file lib/vendor/omnipay/paypal/src/Message/RestTokenRequest.php.
Referenced by Omnipay\PayPal\Message\RestTokenRequest\sendData().
| Omnipay\PayPal\Message\RestTokenRequest::sendData | ( | $data | ) |
Send the request with specified data
| mixed | $data | The data to send |
Reimplemented from Omnipay\PayPal\Message\AbstractRestRequest.
Definition at line 31 of file lib/vendor/omnipay/paypal/src/Message/RestTokenRequest.php.
References Omnipay\Common\Message\AbstractRequest\$httpRequest, Omnipay\PayPal\Message\AbstractRestRequest\getClientId(), Omnipay\PayPal\Message\RestTokenRequest\getEndpoint(), Omnipay\PayPal\Message\AbstractRestRequest\getHttpMethod(), and Omnipay\PayPal\Message\AbstractRestRequest\getSecret().
| Omnipay\PayPal\Message\RestTokenRequest::sendData | ( | $data | ) |
Send the request with specified data
| mixed | $data | The data to send |
Reimplemented from Omnipay\PayPal\Message\AbstractRestRequest.
Definition at line 31 of file vendor/omnipay/paypal/src/Message/RestTokenRequest.php.
References Omnipay\PayPal\Message\RestTokenRequest\getEndpoint(), and Omnipay\PayPal\Message\AbstractRestRequest\getHttpMethod().