PayPal\Api\FundingSource::getFundingMode PHP Method

getFundingMode() public method

specifies funding mode of the instrument
public getFundingMode ( ) : string
return string
    public function getFundingMode()
    {
        return $this->funding_mode;
    }

Usage Example

コード例 #1
0
ファイル: FundingSourceTest.php プロジェクト: bontiv/intrateb
 /**
  * @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->getLegalText(), "TestSample");
     $this->assertEquals($obj->getFundingDetail(), FundingDetailTest::getObject());
     $this->assertEquals($obj->getAdditionalText(), "TestSample");
     $this->assertEquals($obj->getExtends(), FundingInstrumentTest::getObject());
     $this->assertEquals($obj->getLinks(), LinksTest::getObject());
 }