Open Journal Systems
3.3.0
vendor/omnipay/paypal/src/Message/RestFetchPurchaseRequest.php
1
<?php
6
namespace
Omnipay\PayPal\Message
;
7
30
class
RestFetchPurchaseRequest
extends
AbstractRestRequest
31
{
32
public
function
getData
()
33
{
34
$this->
validate
(
'transactionReference'
);
35
return
array();
36
}
37
46
protected
function
getHttpMethod
()
47
{
48
return
'GET'
;
49
}
50
51
public
function
getEndpoint
()
52
{
53
return
parent::getEndpoint() .
'/payments/payment/'
. $this->
getTransactionReference
();
54
}
55
}
Omnipay\PayPal\Message\RestFetchPurchaseRequest\getData
getData()
Definition:
vendor/omnipay/paypal/src/Message/RestFetchPurchaseRequest.php:32
Omnipay\Common\Message\AbstractRequest\getTransactionReference
getTransactionReference()
Definition:
lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php:508
Omnipay\Common\Message\AbstractRequest\validate
validate()
Definition:
lib/vendor/omnipay/common/src/Omnipay/Common/Message/AbstractRequest.php:226
Omnipay\PayPal\Message
Definition:
lib/vendor/omnipay/paypal/src/Message/AbstractRequest.php:6
Omnipay\PayPal\Message\RestFetchPurchaseRequest\getHttpMethod
getHttpMethod()
Definition:
vendor/omnipay/paypal/src/Message/RestFetchPurchaseRequest.php:46
Omnipay\PayPal\Message\RestFetchPurchaseRequest\getEndpoint
getEndpoint()
Definition:
vendor/omnipay/paypal/src/Message/RestFetchPurchaseRequest.php:51
plugins
paymethod
paypal
vendor
omnipay
paypal
src
Message
RestFetchPurchaseRequest.php
Generated on Fri Aug 28 2020 14:53:28 for Open Journal Systems by
1.8.17