PayPal\Api\PayerInfo::getMiddleName PHP 메소드

getMiddleName() 공개 메소드

Middle name of the payer.
public getMiddleName ( ) : string
리턴 string
    public function getMiddleName()
    {
        return $this->middle_name;
    }

Usage Example

예제 #1
0
 /**
  * @depends testSerializationDeserialization
  * @param PayerInfo $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getEmail(), "TestSample");
     $this->assertEquals($obj->getExternalRememberMeId(), "TestSample");
     $this->assertEquals($obj->getAccountNumber(), "TestSample");
     $this->assertEquals($obj->getSalutation(), "TestSample");
     $this->assertEquals($obj->getFirstName(), "TestSample");
     $this->assertEquals($obj->getMiddleName(), "TestSample");
     $this->assertEquals($obj->getLastName(), "TestSample");
     $this->assertEquals($obj->getSuffix(), "TestSample");
     $this->assertEquals($obj->getPayerId(), "TestSample");
     $this->assertEquals($obj->getPhone(), "TestSample");
     $this->assertEquals($obj->getPhoneType(), "TestSample");
     $this->assertEquals($obj->getBirthDate(), "TestSample");
     $this->assertEquals($obj->getTaxId(), "TestSample");
     $this->assertEquals($obj->getTaxIdType(), "TestSample");
     $this->assertEquals($obj->getCountryCode(), "TestSample");
     $this->assertEquals($obj->getBillingAddress(), AddressTest::getObject());
     $this->assertEquals($obj->getShippingAddress(), ShippingAddressTest::getObject());
 }