PayPal\Api\PayoutSenderBatchHeader::getEmailSubject PHP Method

getEmailSubject() public method

The subject line text for the email that PayPal sends when a payout item completes. The subject line is the same for all recipients. Value is an alphanumeric string with a maximum length of 255 single-byte characters.
public getEmailSubject ( ) : string
return string
    public function getEmailSubject()
    {
        return $this->email_subject;
    }

Usage Example

 /**
  * @depends testSerializationDeserialization
  * @param PayoutSenderBatchHeader $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getSenderBatchId(), "TestSample");
     $this->assertEquals($obj->getEmailSubject(), "TestSample");
     $this->assertEquals($obj->getRecipientType(), "TestSample");
     $this->assertEquals($obj->getBatchStatus(), "TestSample");
 }