PayPal\Api\Payee::getLastName PHP Méthode

getLastName() public méthode

Last Name of the Payee.
Deprecation: Not publicly available
public getLastName ( ) : string
Résultat string
    public function getLastName()
    {
        return $this->last_name;
    }

Usage Example

Exemple #1
0
 /**
  * @depends testSerializationDeserialization
  * @param Payee $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getEmail(), "TestSample");
     $this->assertEquals($obj->getMerchantId(), "TestSample");
     $this->assertEquals($obj->getFirstName(), "TestSample");
     $this->assertEquals($obj->getLastName(), "TestSample");
     $this->assertEquals($obj->getAccountNumber(), "TestSample");
     $this->assertEquals($obj->getPhone(), PhoneTest::getObject());
 }