PayPal\Api\PayoutItemDetails::getErrors PHP Method

getErrors() public method

Gets Errors
public getErrors ( ) : Error
return Error
    public function getErrors()
    {
        return $this->errors;
    }

Usage Example

 /**
  * @depends testSerializationDeserialization
  * @param PayoutItemDetails $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getPayoutItemId(), "TestSample");
     $this->assertEquals($obj->getTransactionId(), "TestSample");
     $this->assertEquals($obj->getTransactionStatus(), "TestSample");
     $this->assertEquals($obj->getPayoutItemFee(), CurrencyTest::getObject());
     $this->assertEquals($obj->getPayoutBatchId(), "TestSample");
     $this->assertEquals($obj->getSenderBatchId(), "TestSample");
     $this->assertEquals($obj->getPayoutItem(), PayoutItemTest::getObject());
     $this->assertEquals($obj->getTimeProcessed(), "TestSample");
     $this->assertEquals($obj->getErrors(), ErrorTest::getObject());
     $this->assertEquals($obj->getLinks(), LinksTest::getObject());
 }