PayPal\Api\Metadata::getLastSentBy PHP Method

getLastSentBy() public method

The email address of the account that last sent the resource.
public getLastSentBy ( ) : string
return string
    public function getLastSentBy()
    {
        return $this->last_sent_by;
    }

Usage Example

Ejemplo n.º 1
0
 /**
  * @depends testSerializationDeserialization
  * @param Metadata $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getCreatedDate(), "TestSample");
     $this->assertEquals($obj->getCreatedBy(), "TestSample");
     $this->assertEquals($obj->getCancelledDate(), "TestSample");
     $this->assertEquals($obj->getCancelledBy(), "TestSample");
     $this->assertEquals($obj->getLastUpdatedDate(), "TestSample");
     $this->assertEquals($obj->getLastUpdatedBy(), "TestSample");
     $this->assertEquals($obj->getFirstSentDate(), "TestSample");
     $this->assertEquals($obj->getLastSentDate(), "TestSample");
     $this->assertEquals($obj->getLastSentBy(), "TestSample");
     $this->assertEquals($obj->getPayerViewUrl(), "http://www.google.com");
 }