PayPal\Api\FundingSource::getNegativeBalanceAmount PHP 메소드

getNegativeBalanceAmount() 공개 메소드

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
리턴 PayPal\Api\Currency
    public function getNegativeBalanceAmount()
    {
        return $this->negative_balance_amount;
    }

Usage Example

예제 #1
0
 /**
  * @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());
 }