PayPal\Api\ExternalFunding::getDisplayText PHP Méthode

getDisplayText() public méthode

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

Usage Example

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