forked from LiveCarta/PayPal-PHP-SDK
Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
"psr/log": "^1.0.0"
|
"psr/log": "^1.0.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "3.7.*"
|
"phpunit/phpunit": "^4.8.35"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-0": {
|
"psr-0": {
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\Address;
|
use PayPal\Api\Address;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Address
|
* Class Address
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class AddressTest extends \PHPUnit_Framework_TestCase
|
class AddressTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object Address
|
* Gets Json String of Object Address
|
||||||
@@ -29,7 +29,6 @@ class AddressTest extends \PHPUnit_Framework_TestCase
|
|||||||
return new Address(self::getJson());
|
return new Address(self::getJson());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests for Serialization and Deserialization Issues
|
* Tests for Serialization and Deserialization Issues
|
||||||
* @return Address
|
* @return Address
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\AgreementStateDescriptor;
|
use PayPal\Api\AgreementStateDescriptor;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class AgreementStateDescriptor
|
* Class AgreementStateDescriptor
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class AgreementStateDescriptorTest extends \PHPUnit_Framework_TestCase
|
class AgreementStateDescriptorTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object AgreementStateDescriptor
|
* Gets Json String of Object AgreementStateDescriptor
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\Agreement;
|
use PayPal\Api\Agreement;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Agreement
|
* Class Agreement
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class AgreementTest extends \PHPUnit_Framework_TestCase
|
class AgreementTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object Agreement
|
* Gets Json String of Object Agreement
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\AgreementTransaction;
|
use PayPal\Api\AgreementTransaction;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class AgreementTransaction
|
* Class AgreementTransaction
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class AgreementTransactionTest extends \PHPUnit_Framework_TestCase
|
class AgreementTransactionTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object AgreementTransaction
|
* Gets Json String of Object AgreementTransaction
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\AgreementTransactions;
|
use PayPal\Api\AgreementTransactions;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class AgreementTransactions
|
* Class AgreementTransactions
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class AgreementTransactionsTest extends \PHPUnit_Framework_TestCase
|
class AgreementTransactionsTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object AgreementTransactions
|
* Gets Json String of Object AgreementTransactions
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\AlternatePayment;
|
use PayPal\Api\AlternatePayment;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class AlternatePayment
|
* Class AlternatePayment
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class AlternatePaymentTest extends \PHPUnit_Framework_TestCase
|
class AlternatePaymentTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object AlternatePayment
|
* Gets Json String of Object AlternatePayment
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\Amount;
|
use PayPal\Api\Amount;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Amount
|
* Class Amount
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class AmountTest extends \PHPUnit_Framework_TestCase
|
class AmountTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object Amount
|
* Gets Json String of Object Amount
|
||||||
|
|||||||
@@ -4,13 +4,14 @@ namespace PayPal\Test\Api;
|
|||||||
|
|
||||||
use PayPal\Api\Authorization;
|
use PayPal\Api\Authorization;
|
||||||
use PayPal\Transport\PPRestCall;
|
use PayPal\Transport\PPRestCall;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Authorization
|
* Class Authorization
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class AuthorizationTest extends \PHPUnit_Framework_TestCase
|
class AuthorizationTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object Authorization
|
* Gets Json String of Object Authorization
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\BankAccount;
|
use PayPal\Api\BankAccount;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class BankAccount
|
* Class BankAccount
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class BankAccountTest extends \PHPUnit_Framework_TestCase
|
class BankAccountTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object BankAccount
|
* Gets Json String of Object BankAccount
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\BankAccountsList;
|
use PayPal\Api\BankAccountsList;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class BankAccountsList
|
* Class BankAccountsList
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class BankAccountsListTest extends \PHPUnit_Framework_TestCase
|
class BankAccountsListTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object BankAccountsList
|
* Gets Json String of Object BankAccountsList
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\BankToken;
|
use PayPal\Api\BankToken;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class BankToken
|
* Class BankToken
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class BankTokenTest extends \PHPUnit_Framework_TestCase
|
class BankTokenTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object BankToken
|
* Gets Json String of Object BankToken
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\BillingInfo;
|
use PayPal\Api\BillingInfo;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class BillingInfo
|
* Class BillingInfo
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class BillingInfoTest extends \PHPUnit_Framework_TestCase
|
class BillingInfoTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object BillingInfo
|
* Gets Json String of Object BillingInfo
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\Billing;
|
use PayPal\Api\Billing;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Billing
|
* Class Billing
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class BillingTest extends \PHPUnit_Framework_TestCase
|
class BillingTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object Billing
|
* Gets Json String of Object Billing
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\CancelNotification;
|
use PayPal\Api\CancelNotification;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class CancelNotification
|
* Class CancelNotification
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class CancelNotificationTest extends \PHPUnit_Framework_TestCase
|
class CancelNotificationTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object CancelNotification
|
* Gets Json String of Object CancelNotification
|
||||||
|
|||||||
@@ -4,13 +4,14 @@ namespace PayPal\Test\Api;
|
|||||||
|
|
||||||
use PayPal\Api\Capture;
|
use PayPal\Api\Capture;
|
||||||
use PayPal\Transport\PPRestCall;
|
use PayPal\Transport\PPRestCall;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Capture
|
* Class Capture
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class CaptureTest extends \PHPUnit_Framework_TestCase
|
class CaptureTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object Capture
|
* Gets Json String of Object Capture
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\CarrierAccount;
|
use PayPal\Api\CarrierAccount;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class CarrierAccount
|
* Class CarrierAccount
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class CarrierAccountTest extends \PHPUnit_Framework_TestCase
|
class CarrierAccountTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object CarrierAccount
|
* Gets Json String of Object CarrierAccount
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\CarrierAccountToken;
|
use PayPal\Api\CarrierAccountToken;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class CarrierAccountToken
|
* Class CarrierAccountToken
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class CarrierAccountTokenTest extends \PHPUnit_Framework_TestCase
|
class CarrierAccountTokenTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object CarrierAccountToken
|
* Gets Json String of Object CarrierAccountToken
|
||||||
|
|||||||
@@ -4,13 +4,14 @@ namespace PayPal\Test\Api;
|
|||||||
|
|
||||||
use PayPal\Common\PayPalModel;
|
use PayPal\Common\PayPalModel;
|
||||||
use PayPal\Api\CartBase;
|
use PayPal\Api\CartBase;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class CartBase
|
* Class CartBase
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class CartBaseTest extends \PHPUnit_Framework_TestCase
|
class CartBaseTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object CartBase
|
* Gets Json String of Object CartBase
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\ChargeModel;
|
use PayPal\Api\ChargeModel;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class ChargeModel
|
* Class ChargeModel
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class ChargeModelTest extends \PHPUnit_Framework_TestCase
|
class ChargeModelTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object ChargeModels
|
* Gets Json String of Object ChargeModels
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\Cost;
|
use PayPal\Api\Cost;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Cost
|
* Class Cost
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class CostTest extends \PHPUnit_Framework_TestCase
|
class CostTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object Cost
|
* Gets Json String of Object Cost
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\CountryCode;
|
use PayPal\Api\CountryCode;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class CountryCode
|
* Class CountryCode
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class CountryCodeTest extends \PHPUnit_Framework_TestCase
|
class CountryCodeTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object CountryCode
|
* Gets Json String of Object CountryCode
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\CreateProfileResponse;
|
use PayPal\Api\CreateProfileResponse;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class CreateProfileResponse
|
* Class CreateProfileResponse
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class CreateProfileResponseTest extends \PHPUnit_Framework_TestCase
|
class CreateProfileResponseTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object CreateProfileResponse
|
* Gets Json String of Object CreateProfileResponse
|
||||||
|
|||||||
@@ -3,8 +3,9 @@ namespace PayPal\Test\Api;
|
|||||||
|
|
||||||
use PayPal\Api\CreditCard;
|
use PayPal\Api\CreditCard;
|
||||||
use PayPal\Api\CreditCardHistory;
|
use PayPal\Api\CreditCardHistory;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
class CreditCardHistoryTest extends \PHPUnit_Framework_TestCase
|
class CreditCardHistoryTest extends TestCase
|
||||||
{
|
{
|
||||||
|
|
||||||
private $cards;
|
private $cards;
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\CreditCardList;
|
use PayPal\Api\CreditCardList;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class CreditCardList
|
* Class CreditCardList
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class CreditCardListTest extends \PHPUnit_Framework_TestCase
|
class CreditCardListTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object CreditCardList
|
* Gets Json String of Object CreditCardList
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\CreditCard;
|
use PayPal\Api\CreditCard;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class CreditCard
|
* Class CreditCard
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class CreditCardTest extends \PHPUnit_Framework_TestCase
|
class CreditCardTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object CreditCard
|
* Gets Json String of Object CreditCard
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\CreditCardToken;
|
use PayPal\Api\CreditCardToken;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class CreditCardToken
|
* Class CreditCardToken
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class CreditCardTokenTest extends \PHPUnit_Framework_TestCase
|
class CreditCardTokenTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object CreditCardToken
|
* Gets Json String of Object CreditCardToken
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\CreditFinancingOffered;
|
use PayPal\Api\CreditFinancingOffered;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class CreditFinancingOffered
|
* Class CreditFinancingOffered
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class CreditFinancingOfferedTest extends \PHPUnit_Framework_TestCase
|
class CreditFinancingOfferedTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object CreditFinancingOffered
|
* Gets Json String of Object CreditFinancingOffered
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\Credit;
|
use PayPal\Api\Credit;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Credit
|
* Class Credit
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class CreditTest extends \PHPUnit_Framework_TestCase
|
class CreditTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object Credit
|
* Gets Json String of Object Credit
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\CurrencyConversion;
|
use PayPal\Api\CurrencyConversion;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class CurrencyConversion
|
* Class CurrencyConversion
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class CurrencyConversionTest extends \PHPUnit_Framework_TestCase
|
class CurrencyConversionTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object CurrencyConversion
|
* Gets Json String of Object CurrencyConversion
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\Currency;
|
use PayPal\Api\Currency;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Currency
|
* Class Currency
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class CurrencyTest extends \PHPUnit_Framework_TestCase
|
class CurrencyTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object Currency
|
* Gets Json String of Object Currency
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\CustomAmount;
|
use PayPal\Api\CustomAmount;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class CustomAmount
|
* Class CustomAmount
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class CustomAmountTest extends \PHPUnit_Framework_TestCase
|
class CustomAmountTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object CustomAmount
|
* Gets Json String of Object CustomAmount
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\DetailedRefund;
|
use PayPal\Api\DetailedRefund;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class DetailedRefund
|
* Class DetailedRefund
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class DetailedRefundTest extends \PHPUnit_Framework_TestCase
|
class DetailedRefundTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object DetailedRefund
|
* Gets Json String of Object DetailedRefund
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\Details;
|
use PayPal\Api\Details;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Details
|
* Class Details
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class DetailsTest extends \PHPUnit_Framework_TestCase
|
class DetailsTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object Details
|
* Gets Json String of Object Details
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\ErrorDetails;
|
use PayPal\Api\ErrorDetails;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class ErrorDetails
|
* Class ErrorDetails
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class ErrorDetailsTest extends \PHPUnit_Framework_TestCase
|
class ErrorDetailsTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object ErrorDetails
|
* Gets Json String of Object ErrorDetails
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\Error;
|
use PayPal\Api\Error;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Error
|
* Class Error
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class ErrorTest extends \PHPUnit_Framework_TestCase
|
class ErrorTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object Error
|
* Gets Json String of Object Error
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\ExtendedBankAccount;
|
use PayPal\Api\ExtendedBankAccount;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class ExtendedBankAccount
|
* Class ExtendedBankAccount
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class ExtendedBankAccountTest extends \PHPUnit_Framework_TestCase
|
class ExtendedBankAccountTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object ExtendedBankAccount
|
* Gets Json String of Object ExtendedBankAccount
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\ExternalFunding;
|
use PayPal\Api\ExternalFunding;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class ExternalFunding
|
* Class ExternalFunding
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class ExternalFundingTest extends \PHPUnit_Framework_TestCase
|
class ExternalFundingTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object ExternalFunding
|
* Gets Json String of Object ExternalFunding
|
||||||
|
|||||||
@@ -4,13 +4,14 @@ namespace PayPal\Test\Api;
|
|||||||
|
|
||||||
use PayPal\Common\PayPalModel;
|
use PayPal\Common\PayPalModel;
|
||||||
use PayPal\Api\FileAttachment;
|
use PayPal\Api\FileAttachment;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class FileAttachment
|
* Class FileAttachment
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class FileAttachmentTest extends \PHPUnit_Framework_TestCase
|
class FileAttachmentTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object FileAttachment
|
* Gets Json String of Object FileAttachment
|
||||||
|
|||||||
@@ -4,13 +4,14 @@ namespace PayPal\Test\Api;
|
|||||||
|
|
||||||
use PayPal\Common\PayPalModel;
|
use PayPal\Common\PayPalModel;
|
||||||
use PayPal\Api\FlowConfig;
|
use PayPal\Api\FlowConfig;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class FlowConfig
|
* Class FlowConfig
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class FlowConfigTest extends \PHPUnit_Framework_TestCase
|
class FlowConfigTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object FlowConfig
|
* Gets Json String of Object FlowConfig
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\FmfDetails;
|
use PayPal\Api\FmfDetails;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class FmfDetails
|
* Class FmfDetails
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class FmfDetailsTest extends \PHPUnit_Framework_TestCase
|
class FmfDetailsTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object FmfDetails
|
* Gets Json String of Object FmfDetails
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\FundingDetail;
|
use PayPal\Api\FundingDetail;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class FundingDetail
|
* Class FundingDetail
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class FundingDetailTest extends \PHPUnit_Framework_TestCase
|
class FundingDetailTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object FundingDetail
|
* Gets Json String of Object FundingDetail
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\FundingInstrument;
|
use PayPal\Api\FundingInstrument;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class FundingInstrument
|
* Class FundingInstrument
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class FundingInstrumentTest extends \PHPUnit_Framework_TestCase
|
class FundingInstrumentTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object FundingInstrument
|
* Gets Json String of Object FundingInstrument
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\FundingOption;
|
use PayPal\Api\FundingOption;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class FundingOption
|
* Class FundingOption
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class FundingOptionTest extends \PHPUnit_Framework_TestCase
|
class FundingOptionTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object FundingOption
|
* Gets Json String of Object FundingOption
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\FundingSource;
|
use PayPal\Api\FundingSource;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class FundingSource
|
* Class FundingSource
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class FundingSourceTest extends \PHPUnit_Framework_TestCase
|
class FundingSourceTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object FundingSource
|
* Gets Json String of Object FundingSource
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\HyperSchema;
|
use PayPal\Api\HyperSchema;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class HyperSchema
|
* Class HyperSchema
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class HyperSchemaTest extends \PHPUnit_Framework_TestCase
|
class HyperSchemaTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object HyperSchema
|
* Gets Json String of Object HyperSchema
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\Image;
|
use PayPal\Api\Image;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Image
|
* Class Image
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class ImageTest extends \PHPUnit_Framework_TestCase
|
class ImageTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object Patch
|
* Gets Json String of Object Patch
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\Incentive;
|
use PayPal\Api\Incentive;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Incentive
|
* Class Incentive
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class IncentiveTest extends \PHPUnit_Framework_TestCase
|
class IncentiveTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object Incentive
|
* Gets Json String of Object Incentive
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\InputFields;
|
use PayPal\Api\InputFields;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class InputFields
|
* Class InputFields
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class InputFieldsTest extends \PHPUnit_Framework_TestCase
|
class InputFieldsTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object InputFields
|
* Gets Json String of Object InputFields
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\InstallmentInfo;
|
use PayPal\Api\InstallmentInfo;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class InstallmentInfo
|
* Class InstallmentInfo
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class InstallmentInfoTest extends \PHPUnit_Framework_TestCase
|
class InstallmentInfoTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object InstallmentInfo
|
* Gets Json String of Object InstallmentInfo
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\InstallmentOption;
|
use PayPal\Api\InstallmentOption;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class InstallmentOption
|
* Class InstallmentOption
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class InstallmentOptionTest extends \PHPUnit_Framework_TestCase
|
class InstallmentOptionTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object InstallmentOption
|
* Gets Json String of Object InstallmentOption
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\InvoiceAddress;
|
use PayPal\Api\InvoiceAddress;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class InvoiceAddress
|
* Class InvoiceAddress
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class InvoiceAddressTest extends \PHPUnit_Framework_TestCase
|
class InvoiceAddressTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object Address
|
* Gets Json String of Object Address
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\InvoiceItem;
|
use PayPal\Api\InvoiceItem;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class InvoiceItem
|
* Class InvoiceItem
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class InvoiceItemTest extends \PHPUnit_Framework_TestCase
|
class InvoiceItemTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object InvoiceItem
|
* Gets Json String of Object InvoiceItem
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\InvoiceNumber;
|
use PayPal\Api\InvoiceNumber;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Cost
|
* Class Cost
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class InvoiceNumberTest extends \PHPUnit_Framework_TestCase
|
class InvoiceNumberTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object Cost
|
* Gets Json String of Object Cost
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\InvoiceSearchResponse;
|
use PayPal\Api\InvoiceSearchResponse;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class InvoiceSearchResponse
|
* Class InvoiceSearchResponse
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class InvoiceSearchResponseTest extends \PHPUnit_Framework_TestCase
|
class InvoiceSearchResponseTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object InvoiceSearchResponse
|
* Gets Json String of Object InvoiceSearchResponse
|
||||||
|
|||||||
@@ -4,13 +4,14 @@ namespace PayPal\Test\Api;
|
|||||||
|
|
||||||
use PayPal\Api\Invoice;
|
use PayPal\Api\Invoice;
|
||||||
use PayPal\Api\InvoiceNumber;
|
use PayPal\Api\InvoiceNumber;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Invoice
|
* Class Invoice
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class InvoiceTest extends \PHPUnit_Framework_TestCase
|
class InvoiceTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object Invoice
|
* Gets Json String of Object Invoice
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\ItemList;
|
use PayPal\Api\ItemList;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class ItemList
|
* Class ItemList
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class ItemListTest extends \PHPUnit_Framework_TestCase
|
class ItemListTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object ItemList
|
* Gets Json String of Object ItemList
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\Item;
|
use PayPal\Api\Item;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Item
|
* Class Item
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class ItemTest extends \PHPUnit_Framework_TestCase
|
class ItemTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object Item
|
* Gets Json String of Object Item
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\Links;
|
use PayPal\Api\Links;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Links
|
* Class Links
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class LinksTest extends \PHPUnit_Framework_TestCase
|
class LinksTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object Links
|
* Gets Json String of Object Links
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\Measurement;
|
use PayPal\Api\Measurement;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Measurement
|
* Class Measurement
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class MeasurementTest extends \PHPUnit_Framework_TestCase
|
class MeasurementTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object Measurement
|
* Gets Json String of Object Measurement
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\MerchantInfo;
|
use PayPal\Api\MerchantInfo;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class MerchantInfo
|
* Class MerchantInfo
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class MerchantInfoTest extends \PHPUnit_Framework_TestCase
|
class MerchantInfoTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object MerchantInfo
|
* Gets Json String of Object MerchantInfo
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\MerchantPreferences;
|
use PayPal\Api\MerchantPreferences;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class MerchantPreferences
|
* Class MerchantPreferences
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class MerchantPreferencesTest extends \PHPUnit_Framework_TestCase
|
class MerchantPreferencesTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object MerchantPreferences
|
* Gets Json String of Object MerchantPreferences
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\Metadata;
|
use PayPal\Api\Metadata;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Metadata
|
* Class Metadata
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class MetadataTest extends \PHPUnit_Framework_TestCase
|
class MetadataTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object Metadata
|
* Gets Json String of Object Metadata
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\NameValuePair;
|
use PayPal\Api\NameValuePair;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class NameValuePair
|
* Class NameValuePair
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class NameValuePairTest extends \PHPUnit_Framework_TestCase
|
class NameValuePairTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object NameValuePair
|
* Gets Json String of Object NameValuePair
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\Notification;
|
use PayPal\Api\Notification;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Notification
|
* Class Notification
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class NotificationTest extends \PHPUnit_Framework_TestCase
|
class NotificationTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object Notification
|
* Gets Json String of Object Notification
|
||||||
|
|||||||
@@ -2,12 +2,13 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\OpenIdAddress;
|
use PayPal\Api\OpenIdAddress;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test class for OpenIdAddress.
|
* Test class for OpenIdAddress.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
class OpenIdAddressTest extends \PHPUnit_Framework_TestCase
|
class OpenIdAddressTest extends TestCase
|
||||||
{
|
{
|
||||||
|
|
||||||
/** @var OpenIdAddress */
|
/** @var OpenIdAddress */
|
||||||
@@ -28,6 +29,7 @@ class OpenIdAddressTest extends \PHPUnit_Framework_TestCase
|
|||||||
*/
|
*/
|
||||||
protected function tearDown()
|
protected function tearDown()
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function getTestData()
|
public static function getTestData()
|
||||||
@@ -49,4 +51,5 @@ class OpenIdAddressTest extends \PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
$this->assertEquals($this->addr, $addrCopy);
|
$this->assertEquals($this->addr, $addrCopy);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,12 +3,13 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\OpenIdError;
|
use PayPal\Api\OpenIdError;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test class for OpenIdError.
|
* Test class for OpenIdError.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
class OpenIdErrorTest extends \PHPUnit_Framework_TestCase
|
class OpenIdErrorTest extends TestCase
|
||||||
{
|
{
|
||||||
|
|
||||||
/** @var OpenIdError */
|
/** @var OpenIdError */
|
||||||
|
|||||||
@@ -4,12 +4,13 @@ namespace PayPal\Test\Api;
|
|||||||
|
|
||||||
use PayPal\Api\OpenIdSession;
|
use PayPal\Api\OpenIdSession;
|
||||||
use PayPal\Rest\ApiContext;
|
use PayPal\Rest\ApiContext;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test class for OpenIdSession.
|
* Test class for OpenIdSession.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
class OpenIdSessionTest extends \PHPUnit_Framework_TestCase
|
class OpenIdSessionTest extends TestCase
|
||||||
{
|
{
|
||||||
|
|
||||||
private $context;
|
private $context;
|
||||||
|
|||||||
@@ -2,12 +2,13 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\OpenIdTokeninfo;
|
use PayPal\Api\OpenIdTokeninfo;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test class for OpenIdTokeninfo.
|
* Test class for OpenIdTokeninfo.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
class OpenIdTokeninfoTest extends \PHPUnit_Framework_TestCase
|
class OpenIdTokeninfoTest extends TestCase
|
||||||
{
|
{
|
||||||
|
|
||||||
/** @var OpenIdTokeninfo */
|
/** @var OpenIdTokeninfo */
|
||||||
|
|||||||
@@ -3,12 +3,13 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\OpenIdUserinfo;
|
use PayPal\Api\OpenIdUserinfo;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test class for OpenIdUserinfo.
|
* Test class for OpenIdUserinfo.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
class OpenIdUserinfoTest extends \PHPUnit_Framework_TestCase
|
class OpenIdUserinfoTest extends TestCase
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -4,13 +4,14 @@ namespace PayPal\Test\Api;
|
|||||||
|
|
||||||
use PayPal\Api\Authorization;
|
use PayPal\Api\Authorization;
|
||||||
use PayPal\Api\Order;
|
use PayPal\Api\Order;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Order
|
* Class Order
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class OrderTest extends \PHPUnit_Framework_TestCase
|
class OrderTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object Order
|
* Gets Json String of Object Order
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\OverrideChargeModel;
|
use PayPal\Api\OverrideChargeModel;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class OverrideChargeModel
|
* Class OverrideChargeModel
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class OverrideChargeModelTest extends \PHPUnit_Framework_TestCase
|
class OverrideChargeModelTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object OverrideChargeModel
|
* Gets Json String of Object OverrideChargeModel
|
||||||
|
|||||||
@@ -4,13 +4,14 @@ namespace PayPal\Test\Api;
|
|||||||
|
|
||||||
use PayPal\Common\PayPalModel;
|
use PayPal\Common\PayPalModel;
|
||||||
use PayPal\Api\Participant;
|
use PayPal\Api\Participant;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Participant
|
* Class Participant
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class ParticipantTest extends \PHPUnit_Framework_TestCase
|
class ParticipantTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object Participant
|
* Gets Json String of Object Participant
|
||||||
|
|||||||
@@ -4,13 +4,14 @@ namespace PayPal\Test\Api;
|
|||||||
|
|
||||||
use PayPal\Common\PayPalModel;
|
use PayPal\Common\PayPalModel;
|
||||||
use PayPal\Api\PatchRequest;
|
use PayPal\Api\PatchRequest;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class PatchRequest
|
* Class PatchRequest
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class PatchRequestTest extends \PHPUnit_Framework_TestCase
|
class PatchRequestTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object PatchRequest
|
* Gets Json String of Object PatchRequest
|
||||||
|
|||||||
@@ -4,13 +4,14 @@ namespace PayPal\Test\Api;
|
|||||||
|
|
||||||
use PayPal\Common\PayPalModel;
|
use PayPal\Common\PayPalModel;
|
||||||
use PayPal\Api\Patch;
|
use PayPal\Api\Patch;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Patch
|
* Class Patch
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class PatchTest extends \PHPUnit_Framework_TestCase
|
class PatchTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object Patch
|
* Gets Json String of Object Patch
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\Payee;
|
use PayPal\Api\Payee;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Payee
|
* Class Payee
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class PayeeTest extends \PHPUnit_Framework_TestCase
|
class PayeeTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object Payee
|
* Gets Json String of Object Payee
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\PayerInfo;
|
use PayPal\Api\PayerInfo;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class PayerInfo
|
* Class PayerInfo
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class PayerInfoTest extends \PHPUnit_Framework_TestCase
|
class PayerInfoTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object PayerInfo
|
* Gets Json String of Object PayerInfo
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\Payer;
|
use PayPal\Api\Payer;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Payer
|
* Class Payer
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class PayerTest extends \PHPUnit_Framework_TestCase
|
class PayerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object Payer
|
* Gets Json String of Object Payer
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\PaymentCard;
|
use PayPal\Api\PaymentCard;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class PaymentCard
|
* Class PaymentCard
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class PaymentCardTest extends \PHPUnit_Framework_TestCase
|
class PaymentCardTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object PaymentCard
|
* Gets Json String of Object PaymentCard
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\PaymentCardToken;
|
use PayPal\Api\PaymentCardToken;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class PaymentCardToken
|
* Class PaymentCardToken
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class PaymentCardTokenTest extends \PHPUnit_Framework_TestCase
|
class PaymentCardTokenTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object PaymentCardToken
|
* Gets Json String of Object PaymentCardToken
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\PaymentDefinition;
|
use PayPal\Api\PaymentDefinition;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class PaymentDefinition
|
* Class PaymentDefinition
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class PaymentDefinitionTest extends \PHPUnit_Framework_TestCase
|
class PaymentDefinitionTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object PaymentDefinition
|
* Gets Json String of Object PaymentDefinition
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\PaymentDetail;
|
use PayPal\Api\PaymentDetail;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class PaymentDetail
|
* Class PaymentDetail
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class PaymentDetailTest extends \PHPUnit_Framework_TestCase
|
class PaymentDetailTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object PaymentDetail
|
* Gets Json String of Object PaymentDetail
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\PaymentExecution;
|
use PayPal\Api\PaymentExecution;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class PaymentExecution
|
* Class PaymentExecution
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class PaymentExecutionTest extends \PHPUnit_Framework_TestCase
|
class PaymentExecutionTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object PaymentExecution
|
* Gets Json String of Object PaymentExecution
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\PaymentHistory;
|
use PayPal\Api\PaymentHistory;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class PaymentHistory
|
* Class PaymentHistory
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class PaymentHistoryTest extends \PHPUnit_Framework_TestCase
|
class PaymentHistoryTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object PaymentHistory
|
* Gets Json String of Object PaymentHistory
|
||||||
|
|||||||
@@ -4,13 +4,14 @@ namespace PayPal\Test\Api;
|
|||||||
|
|
||||||
use PayPal\Api\PaymentInstruction;
|
use PayPal\Api\PaymentInstruction;
|
||||||
use PayPal\Transport\PPRestCall;
|
use PayPal\Transport\PPRestCall;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class PaymentInstruction
|
* Class PaymentInstruction
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class PaymentInstructionTest extends \PHPUnit_Framework_TestCase
|
class PaymentInstructionTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object PaymentInstruction
|
* Gets Json String of Object PaymentInstruction
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\PaymentOptions;
|
use PayPal\Api\PaymentOptions;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class PaymentOptions
|
* Class PaymentOptions
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class PaymentOptionsTest extends \PHPUnit_Framework_TestCase
|
class PaymentOptionsTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object PaymentOptions
|
* Gets Json String of Object PaymentOptions
|
||||||
|
|||||||
@@ -4,13 +4,14 @@ namespace PayPal\Test\Api;
|
|||||||
|
|
||||||
use PayPal\Common\PayPalModel;
|
use PayPal\Common\PayPalModel;
|
||||||
use PayPal\Api\PaymentSummary;
|
use PayPal\Api\PaymentSummary;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class PaymentSummary
|
* Class PaymentSummary
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class PaymentSummaryTest extends \PHPUnit_Framework_TestCase
|
class PaymentSummaryTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object PaymentSummary
|
* Gets Json String of Object PaymentSummary
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\PaymentTerm;
|
use PayPal\Api\PaymentTerm;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class PaymentTerm
|
* Class PaymentTerm
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class PaymentTermTest extends \PHPUnit_Framework_TestCase
|
class PaymentTermTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object PaymentTerm
|
* Gets Json String of Object PaymentTerm
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\Payment;
|
use PayPal\Api\Payment;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Payment
|
* Class Payment
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class PaymentTest extends \PHPUnit_Framework_TestCase
|
class PaymentTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object Payment
|
* Gets Json String of Object Payment
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\PayoutBatchHeader;
|
use PayPal\Api\PayoutBatchHeader;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class PayoutBatchHeader
|
* Class PayoutBatchHeader
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class PayoutBatchHeaderTest extends \PHPUnit_Framework_TestCase
|
class PayoutBatchHeaderTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object PayoutBatchHeader
|
* Gets Json String of Object PayoutBatchHeader
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\PayoutBatch;
|
use PayPal\Api\PayoutBatch;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class PayoutBatch
|
* Class PayoutBatch
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class PayoutBatchTest extends \PHPUnit_Framework_TestCase
|
class PayoutBatchTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object PayoutBatch
|
* Gets Json String of Object PayoutBatch
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\PayoutItemDetails;
|
use PayPal\Api\PayoutItemDetails;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class PayoutItemDetails
|
* Class PayoutItemDetails
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class PayoutItemDetailsTest extends \PHPUnit_Framework_TestCase
|
class PayoutItemDetailsTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object PayoutItemDetails
|
* Gets Json String of Object PayoutItemDetails
|
||||||
|
|||||||
@@ -5,13 +5,14 @@ namespace PayPal\Test\Api;
|
|||||||
use PayPal\Api\ItemsArray;
|
use PayPal\Api\ItemsArray;
|
||||||
use PayPal\Api\PayoutItem;
|
use PayPal\Api\PayoutItem;
|
||||||
use PayPal\Transport\PPRestCall;
|
use PayPal\Transport\PPRestCall;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class PayoutItem
|
* Class PayoutItem
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class PayoutItemTest extends \PHPUnit_Framework_TestCase
|
class PayoutItemTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object PayoutItem
|
* Gets Json String of Object PayoutItem
|
||||||
|
|||||||
@@ -4,13 +4,14 @@ namespace PayPal\Test\Api;
|
|||||||
|
|
||||||
use PayPal\Common\PayPalModel;
|
use PayPal\Common\PayPalModel;
|
||||||
use PayPal\Api\PayoutSenderBatchHeader;
|
use PayPal\Api\PayoutSenderBatchHeader;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class PayoutSenderBatchHeader
|
* Class PayoutSenderBatchHeader
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class PayoutSenderBatchHeaderTest extends \PHPUnit_Framework_TestCase
|
class PayoutSenderBatchHeaderTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object PayoutSenderBatchHeader
|
* Gets Json String of Object PayoutSenderBatchHeader
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\Payout;
|
use PayPal\Api\Payout;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Payout
|
* Class Payout
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class PayoutTest extends \PHPUnit_Framework_TestCase
|
class PayoutTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object Payout
|
* Gets Json String of Object Payout
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\Phone;
|
use PayPal\Api\Phone;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Phone
|
* Class Phone
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class PhoneTest extends \PHPUnit_Framework_TestCase
|
class PhoneTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object Phone
|
* Gets Json String of Object Phone
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\PlanList;
|
use PayPal\Api\PlanList;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class PlanList
|
* Class PlanList
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class PlanListTest extends \PHPUnit_Framework_TestCase
|
class PlanListTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object PlanList
|
* Gets Json String of Object PlanList
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\Plan;
|
use PayPal\Api\Plan;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Plan
|
* Class Plan
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class PlanTest extends \PHPUnit_Framework_TestCase
|
class PlanTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object Plan
|
* Gets Json String of Object Plan
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\PotentialPayerInfo;
|
use PayPal\Api\PotentialPayerInfo;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class PotentialPayerInfo
|
* Class PotentialPayerInfo
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class PotentialPayerInfoTest extends \PHPUnit_Framework_TestCase
|
class PotentialPayerInfoTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object PotentialPayerInfo
|
* Gets Json String of Object PotentialPayerInfo
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
namespace PayPal\Test\Api;
|
namespace PayPal\Test\Api;
|
||||||
|
|
||||||
use PayPal\Api\Presentation;
|
use PayPal\Api\Presentation;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Presentation
|
* Class Presentation
|
||||||
*
|
*
|
||||||
* @package PayPal\Test\Api
|
* @package PayPal\Test\Api
|
||||||
*/
|
*/
|
||||||
class PresentationTest extends \PHPUnit_Framework_TestCase
|
class PresentationTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Gets Json String of Object Presentation
|
* Gets Json String of Object Presentation
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user