public function testSerializationDeserialization()
{
$obj = new PayoutItemDetails(self::getJson());
$this->assertNotNull($obj);
$this->assertNotNull($obj->getPayoutItemId());
$this->assertNotNull($obj->getTransactionId());
$this->assertNotNull($obj->getTransactionStatus());
$this->assertNotNull($obj->getPayoutItemFee());
$this->assertNotNull($obj->getPayoutBatchId());
$this->assertNotNull($obj->getSenderBatchId());
$this->assertNotNull($obj->getPayoutItem());
$this->assertNotNull($obj->getTimeProcessed());
$this->assertNotNull($obj->getErrors());
$this->assertNotNull($obj->getLinks());
$this->assertEquals(self::getJson(), $obj->toJson());
return $obj;
}