getDefaultAddress() public method

Default shipping address of the Payer.
Deprecation: Not publicly available
public getDefaultAddress ( ) : boolean
return boolean
Beispiel #1
0
 /**
  * @depends testSerializationDeserialization
  * @param ShippingAddress $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getId(), "TestSample");
     $this->assertEquals($obj->getRecipientName(), "TestSample");
     $this->assertEquals($obj->getDefaultAddress(), true);
 }