!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/dokan/script/vendor/omnipay/paypal/src/Support/InstantUpdateApi/   drwxrwxrwx
Free 13.17 GB of 57.97 GB (22.72%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     BillingAgreement.php (2.16 KB)      -rwxrwxrwx
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Omnipay\PayPal\Support\InstantUpdateApi;

use 
Omnipay\Common\Exception\InvalidRequestException;

class 
BillingAgreement
{
    
/**
     * Billing agreement types for single or recurring payment
     *
     * @var array
     */
    
protected $types = array(
        
'single' => 'MerchantInitiatedBillingSingleAgreement',
        
'recurring' => 'MerchantInitiatedBilling',
    );

    
/** @var string */
    
private $type;

    
/** @var string */
    
private $description;

    
/** @var string */
    
private $paymentType;

    
/** @var string */
    
private $customAnnotation;

    
/**
     * @param bool $recurring L_BILLINGTYPE0
     * @param string $description L_BILLINGAGREEMENTDESCRIPTION0
     * @param null|string $paymentType L_PAYMENTTYPE0
     * @param null|string $customAnnotation L_BILLINGAGREEMENTCUSTOM0
     * @throws \Exception
     */
    
public function __construct($recurring$description$paymentType null$customAnnotation null)
    {
        if (!
$recurring && !is_null($paymentType) && !in_array($paymentType, array('Any''InstantOnly'))) {
            throw new 
InvalidRequestException("The 'paymentType' parameter can be only 'Any' or 'InstantOnly'");
        }

        
$this->type $recurring $this->types['recurring'] : $this->types['single'];
        
$this->description $description;
        
$this->customAnnotation $customAnnotation;
        
$this->paymentType $paymentType;
    }

    
/**
     * @return string
     */
    
public function getType()
    {
        return 
$this->type;
    }

    
/**
     * @return string
     */
    
public function getDescription()
    {
        return 
$this->description;
    }

    
/**
     * @return bool
     */
    
public function hasPaymentType()
    {
        return !
is_null($this->paymentType);
    }

    
/**
     * @return string
     */
    
public function getPaymentType()
    {
        return 
$this->paymentType;
    }

    
/**
     * @return bool
     */
    
public function hasCustomAnnotation()
    {
        return !
is_null($this->customAnnotation);
    }

    
/**
     * @return string
     */
    
public function getCustomAnnotation()
    {
        return 
$this->customAnnotation;
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.005 ]--