⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.1
Server IP:
185.238.29.86
Server:
Linux server2 6.8.12-6-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-6 (2024-12-19T19:05Z) x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
work
/
vendor
/
omnipay
/
stripe
/
src
/
Message
/
View File Name :
DeleteCouponRequest.php
<?php namespace Omnipay\Stripe\Message; /** * Stripe Delete Coupon Request * * @see \Omnipay\Stripe\Gateway * @link https://stripe.com/docs/api/coupons/delete */ class DeleteCouponRequest extends AbstractRequest { /** * Get the source id. * * @return string */ public function getCouponId() { return $this->getParameter('couponId'); } /** * Set the coupon id. * * @param string $value * * @return DeleteCouponRequest provides a fluent interface */ public function setCouponId($value) { return $this->setParameter('couponId', $value); } public function getData() { $this->validate('couponId'); } public function getEndpoint() { return $this->endpoint.'/coupons/'.$this->getCouponId(); } public function getHttpMethod() { return 'DELETE'; } }