25 lines
576 B
PHP
Executable File
25 lines
576 B
PHP
Executable File
<?php
|
|
|
|
namespace Omnipay\PayPal;
|
|
|
|
/**
|
|
* PayPal Express In-Context Class
|
|
*/
|
|
class ExpressInContextGateway extends ExpressGateway
|
|
{
|
|
public function getName()
|
|
{
|
|
return 'PayPal Express In-Context';
|
|
}
|
|
|
|
public function authorize(array $parameters = array())
|
|
{
|
|
return $this->createRequest('\Omnipay\PayPal\Message\ExpressInContextAuthorizeRequest', $parameters);
|
|
}
|
|
|
|
public function order(array $parameters = array())
|
|
{
|
|
return $this->createRequest('\Omnipay\PayPal\Message\ExpressInContextOrderRequest', $parameters);
|
|
}
|
|
}
|