Update payments API to v1.9

This commit is contained in:
mrak and sdcoffey
2016-10-25 17:29:48 -05:00
committed by jaypatel512 and sdcoffey
parent 7c5ea8b997
commit c2947ff409
92 changed files with 1583 additions and 973 deletions

View File

@@ -13,7 +13,6 @@ class FundingInstrumentTest extends \PHPUnit_Framework_TestCase
{
/**
* Gets Json String of Object FundingInstrument
*
* @return string
*/
public static function getJson()
@@ -23,7 +22,6 @@ class FundingInstrumentTest extends \PHPUnit_Framework_TestCase
/**
* Gets Object Instance with Json data filled in
*
* @return FundingInstrument
*/
public static function getObject()
@@ -34,7 +32,6 @@ class FundingInstrumentTest extends \PHPUnit_Framework_TestCase
/**
* Tests for Serialization and Deserialization Issues
*
* @return FundingInstrument
*/
public function testSerializationDeserialization()
@@ -53,7 +50,6 @@ class FundingInstrumentTest extends \PHPUnit_Framework_TestCase
$this->assertNotNull($obj->getCarrierAccount());
$this->assertNotNull($obj->getPrivateLabelCard());
$this->assertNotNull($obj->getBilling());
$this->assertNotNull($obj->getAlternatePayment());
$this->assertEquals(self::getJson(), $obj->toJson());
return $obj;
}
@@ -76,6 +72,5 @@ class FundingInstrumentTest extends \PHPUnit_Framework_TestCase
$this->assertEquals($obj->getCarrierAccount(), CarrierAccountTest::getObject());
$this->assertEquals($obj->getPrivateLabelCard(), PrivateLabelCardTest::getObject());
$this->assertEquals($obj->getBilling(), BillingTest::getObject());
$this->assertEquals($obj->getAlternatePayment(), AlternatePaymentTest::getObject());
}
}