getReceiver() public method

The receiver of the payment. Corresponds to the recipient_type value in the request.
public getReceiver ( ) : string
return string
Beispiel #1
0
 /**
  * @depends testSerializationDeserialization
  * @param PayoutItem $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getRecipientType(), "TestSample");
     $this->assertEquals($obj->getAmount(), CurrencyTest::getObject());
     $this->assertEquals($obj->getNote(), "TestSample");
     $this->assertEquals($obj->getReceiver(), "TestSample");
     $this->assertEquals($obj->getSenderItemId(), "TestSample");
 }