PayPal\Api\FundingSource::getFundingInstrumentType PHP Method

getFundingInstrumentType() public method

Instrument type for this funding source
public getFundingInstrumentType ( ) : string
return string
    public function getFundingInstrumentType()
    {
        return $this->funding_instrument_type;
    }

Usage Example

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->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());
 }