����JFIF��x�x����'
| Server IP : 78.140.185.180 / Your IP : 216.73.216.170 Web Server : LiteSpeed System : Linux cpanel13.v.fozzy.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : builderbox ( 1072) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/builderbox/./././www/vendor/omnipay/stripe/src/Message/PaymentIntents/ |
Upload File : |
<?php
/**
* Stripe Abstract Request.
*/
namespace Omnipay\Stripe\Message\PaymentIntents;
/**
* Stripe Payment Intent Abstract Request.
*
* This is the parent class for all Stripe payment intent requests.
* It adds just a getter and setter.
*
* @see \Omnipay\Stripe\PaymentIntentsGateway
* @see \Omnipay\Stripe\Message\AbstractRequest
* @link https://stripe.com/docs/api/payment_intents
*/
abstract class AbstractRequest extends \Omnipay\Stripe\Message\AbstractRequest
{
/**
* @param string $value
*
* @return AbstractRequest provides a fluent interface.
*/
public function setPaymentIntentReference($value)
{
return $this->setParameter('paymentIntentReference', $value);
}
/**
* @return mixed
*/
public function getPaymentIntentReference()
{
return $this->getParameter('paymentIntentReference');
}
/**
* If there's a reference to a payment method, return that instead.
*
* @inheritdoc
*/
public function getCardReference()
{
if ($paymentMethod = $this->getPaymentMethod()) {
return $paymentMethod;
}
return parent::getCardReference();
}
/**
* Actually, set the payment method, which is the preferred API.
*
* @inheritdoc
*/
public function setCardReference($reference)
{
$this->setPaymentMethod($reference);
}
}