forked from LiveCarta/PayPal-PHP-SDK
Updated Invoice API
This commit is contained in:
@@ -39,6 +39,7 @@ class RefundDetailTest extends \PHPUnit_Framework_TestCase
|
||||
$obj = new RefundDetail(self::getJson());
|
||||
$this->assertNotNull($obj);
|
||||
$this->assertNotNull($obj->getType());
|
||||
$this->assertNotNull($obj->getTransactionId());
|
||||
$this->assertNotNull($obj->getDate());
|
||||
$this->assertNotNull($obj->getNote());
|
||||
$this->assertNotNull($obj->getAmount());
|
||||
@@ -53,6 +54,7 @@ class RefundDetailTest extends \PHPUnit_Framework_TestCase
|
||||
public function testGetters($obj)
|
||||
{
|
||||
$this->assertEquals($obj->getType(), "TestSample");
|
||||
$this->assertEquals($obj->getTransactionId(), "TestSample");
|
||||
$this->assertEquals($obj->getDate(), "TestSample");
|
||||
$this->assertEquals($obj->getNote(), "TestSample");
|
||||
$this->assertEquals($obj->getAmount(), CurrencyTest::getObject());
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
namespace PayPal\Test\Api;
|
||||
|
||||
use PayPal\Common\PayPalModel;
|
||||
use PayPal\Api\TemplateData;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user