PayPal\Api\BillingInfo::getBusinessName PHP Method

getBusinessName() public method

The invoice recipient company business name. Maximum length is 100 characters.
public getBusinessName ( ) : string
return string
    public function getBusinessName()
    {
        return $this->business_name;
    }

Usage Example

 /**
  * @depends testSerializationDeserialization
  * @param BillingInfo $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getEmail(), "TestSample");
     $this->assertEquals($obj->getFirstName(), "TestSample");
     $this->assertEquals($obj->getLastName(), "TestSample");
     $this->assertEquals($obj->getBusinessName(), "TestSample");
     $this->assertEquals($obj->getAddress(), InvoiceAddressTest::getObject());
     $this->assertEquals($obj->getLanguage(), "TestSample");
     $this->assertEquals($obj->getAdditionalInfo(), "TestSample");
     $this->assertEquals($obj->getNotificationChannel(), "TestSample");
     $this->assertEquals($obj->getPhone(), PhoneTest::getObject());
 }