Files
kulakpos_web/vendor/omnipay/stripe/src/Message/FetchSourceRequest.php
triagungbiantoro 417b7b7453
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 3m27s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 31s
Build, Push and Deploy / deploy-production (push) Has been skipped
harga pada beranda terhubung ke manage plans di dashboard admin
2026-04-25 21:57:25 +07:00

55 lines
1005 B
PHP
Executable File

<?php
/**
* Stripe Fetch Source Request.
*/
namespace Omnipay\Stripe\Message;
/**
* Stripe Fetch Source Request.
*
* @link https://stripe.com/docs/api/sources/retrieve
*/
class FetchSourceRequest extends AbstractRequest
{
/**
* @return string|null
*/
public function getClientSecret()
{
return $this->getParameter('clientSecret');
}
/**
* @param string $value
*
* @return FetchSourceRequest
*/
public function setClientSecret($value)
{
return $this->setParameter('clientSecret', $value);
}
public function getData()
{
$this->validate('source');
$data = array();
if ($clientSecret = $this->getClientSecret()) {
$data['client_secret'] = $clientSecret;
}
return $data;
}
public function getEndpoint()
{
return $this->endpoint.'/sources/'.$this->getSource();
}
public function getHttpMethod()
{
return 'GET';
}
}