PayPal\Api\FundingSource::getNegativeBalanceAmount PHP Method

getNegativeBalanceAmount() public method

Additional amount to be pulled from the instrument to recover a negative balance on the buyer's account that is owed to PayPal.
public getNegativeBalanceAmount ( ) : PayPal\Api\Currency
return PayPal\Api\Currency
    public function getNegativeBalanceAmount()
    {
        return $this->negative_balance_amount;
    }

Usage Example

 /**
  * @depends testSerializationDeserialization
  * @param FundingSource $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getFundingMode(), "TestSample");
     $this->assertEquals($obj->getFundingInstrumentType(), "TestSample");
     $this->assertEquals($obj->getSoftDescriptor(), "TestSample");
     $this->assertEquals($obj->getAmount(), CurrencyTest::getObject());
     $this->assertEquals($obj->getNegativeBalanceAmount(), CurrencyTest::getObject());
     $this->assertEquals($obj->getLegalText(), "TestSample");
     $this->assertEquals($obj->getFundingDetail(), FundingDetailTest::getObject());
     $this->assertEquals($obj->getAdditionalText(), "TestSample");
     $this->assertEquals($obj->getLinks(), LinksTest::getObject());
 }