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:
52
vendor/omnipay/stripe/src/Message/DeleteInvoiceItemRequest.php
vendored
Normal file
52
vendor/omnipay/stripe/src/Message/DeleteInvoiceItemRequest.php
vendored
Normal file
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Stripe Delete Invoice Item Request.
|
||||
*/
|
||||
namespace Omnipay\Stripe\Message;
|
||||
|
||||
/**
|
||||
* Stripe Delete Invoice Item Request.
|
||||
*
|
||||
* @link https://stripe.com/docs/api#delete_invoiceitem
|
||||
*/
|
||||
class DeleteInvoiceItemRequest extends AbstractRequest
|
||||
{
|
||||
/**
|
||||
* Get the invoice-item reference.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getInvoiceItemReference()
|
||||
{
|
||||
return $this->getParameter('invoiceItemReference');
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the set invoice-item reference.
|
||||
*
|
||||
* @return DeleteInvoiceItemRequest provides a fluent interface.
|
||||
*/
|
||||
public function setInvoiceItemReference($value)
|
||||
{
|
||||
return $this->setParameter('invoiceItemReference', $value);
|
||||
}
|
||||
|
||||
public function getData()
|
||||
{
|
||||
$this->validate('invoiceItemReference');
|
||||
$data = array();
|
||||
|
||||
return $data;
|
||||
}
|
||||
|
||||
public function getEndpoint()
|
||||
{
|
||||
return $this->endpoint.'/invoiceitems/'.$this->getInvoiceItemReference();
|
||||
}
|
||||
|
||||
public function getHttpMethod()
|
||||
{
|
||||
return 'DELETE';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user