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:
51
vendor/omnipay/stripe/src/Message/DeletePlanRequest.php
vendored
Normal file
51
vendor/omnipay/stripe/src/Message/DeletePlanRequest.php
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Stripe Delete Plan Request.
|
||||
*/
|
||||
namespace Omnipay\Stripe\Message;
|
||||
|
||||
/**
|
||||
* Stripe Delete Plan Request.
|
||||
*
|
||||
* @link https://stripe.com/docs/api#delete_plan
|
||||
*/
|
||||
class DeletePlanRequest extends AbstractRequest
|
||||
{
|
||||
/**
|
||||
* Get the plan id.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->getParameter('id');
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the plan id.
|
||||
*
|
||||
* @return DeletePlanRequest provides a fluent interface.
|
||||
*/
|
||||
public function setId($planId)
|
||||
{
|
||||
return $this->setParameter('id', $planId);
|
||||
}
|
||||
|
||||
public function getData()
|
||||
{
|
||||
$this->validate('id');
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
public function getEndpoint()
|
||||
{
|
||||
return $this->endpoint.'/plans/'.$this->getId();
|
||||
}
|
||||
|
||||
public function getHttpMethod()
|
||||
{
|
||||
return 'DELETE';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user