PayPal\Api\ExternalFunding::getDisplayText PHP Method

getDisplayText() public method

Description of the external funding being applied
public getDisplayText ( ) : string
return string
    public function getDisplayText()
    {
        return $this->display_text;
    }

Usage Example

Beispiel #1
0
 /**
  * @depends testSerializationDeserialization
  * @param ExternalFunding $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getReferenceId(), "TestSample");
     $this->assertEquals($obj->getCode(), "TestSample");
     $this->assertEquals($obj->getFundingAccountId(), "TestSample");
     $this->assertEquals($obj->getDisplayText(), "TestSample");
     $this->assertEquals($obj->getAmount(), AmountTest::getObject());
 }