����JFIF��x�x����'
| Server IP : 78.140.185.180 / Your IP : 216.73.216.169 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/./././public_html/common/Billing/Gateways/Stripe/ |
Upload File : |
<?php namespace Common\Billing\Gateways\Stripe;
use Omnipay\Stripe\Message\CreatePlanRequest;
class StripeCreatePlanRequest extends CreatePlanRequest
{
/**
* Set the plan name
*
* @param string $planNickname
* @return CreatePlanRequest provides a fluent interface.
*/
public function setNickname($planNickname)
{
return $this->setParameter('nickname', $planNickname);
}
/**
* Get the plan name
*
* @return string
*/
public function getNickname()
{
return $this->getParameter('nickname');
}
/**
* Set the plan name
*
* @param $product
* @return CreatePlanRequest provides a fluent interface.
*/
public function setProduct($product)
{
return $this->setParameter('product', $product);
}
/**
* Get the plan name
*
* @return string
*/
public function getProduct()
{
return $this->getParameter('product');
}
public function getData()
{
$data = parent::getData();
unset($data['name']);
$data['product'] = $this->getProduct();
$data['nickname'] = $this->getNickname();
return $data;
}
}