getType() public method

Type of address (e.g., HOME_OR_WORK, GIFT etc).
public getType ( ) : string
return string
Esempio n. 1
0
 /**
  * @depends testSerializationDeserialization
  * @param Address $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getLine1(), "TestSample");
     $this->assertEquals($obj->getLine2(), "TestSample");
     $this->assertEquals($obj->getCity(), "TestSample");
     $this->assertEquals($obj->getCountryCode(), "TestSample");
     $this->assertEquals($obj->getPostalCode(), "TestSample");
     $this->assertEquals($obj->getState(), "TestSample");
     $this->assertEquals($obj->getPhone(), "TestSample");
     $this->assertEquals($obj->getNormalizationStatus(), "TestSample");
     $this->assertEquals($obj->getStatus(), "TestSample");
     $this->assertEquals($obj->getType(), "TestSample");
 }