allow vendord
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 3m3s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 32s
Build, Push and Deploy / deploy-production (push) Has been skipped
Build, Push and Deploy / cleanup (push) Successful in 1s
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 3m3s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 32s
Build, Push and Deploy / deploy-production (push) Has been skipped
Build, Push and Deploy / cleanup (push) Successful in 1s
This commit is contained in:
53
vendor/omnipay/stripe/src/Message/FetchSubscriptionSchedulesRequest.php
vendored
Normal file
53
vendor/omnipay/stripe/src/Message/FetchSubscriptionSchedulesRequest.php
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Stripe Fetch Subscription Request.
|
||||
*/
|
||||
|
||||
namespace Omnipay\Stripe\Message;
|
||||
|
||||
/**
|
||||
* Stripe Fetch Subscription Request.
|
||||
*
|
||||
* @link https://stripe.com/docs/api/subscription_schedules/retrieve
|
||||
*/
|
||||
class FetchSubscriptionSchedulesRequest extends AbstractRequest
|
||||
{
|
||||
/**
|
||||
* Get the subscription reference.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getSubscriptionSchedulesReference()
|
||||
{
|
||||
return $this->getParameter('subscriptionSchedulesReference');
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the subscription reference.
|
||||
*
|
||||
* @param $value
|
||||
* @return \Omnipay\Common\Message\AbstractRequest|FetchSubscriptionRequest
|
||||
*/
|
||||
public function setSubscriptionSchedulesReference($value)
|
||||
{
|
||||
return $this->setParameter('subscriptionSchedulesReference', $value);
|
||||
}
|
||||
|
||||
public function getData()
|
||||
{
|
||||
$this->validate('subscriptionSchedulesReference');
|
||||
|
||||
return array();
|
||||
}
|
||||
|
||||
public function getEndpoint()
|
||||
{
|
||||
return $this->endpoint.'/subscription_schedules/'.$this->getSubscriptionSchedulesReference();
|
||||
}
|
||||
|
||||
public function getHttpMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user